November 26th, 2017

Import Python: #153: Python Hashes and Equality, video synthesizers, Panda 101, Python to Go, CPython Internals …

Programing, Python, by admin.
Worthy Read

GoCD or Spinnaker? This post is an overview of GoCD and Spinnaker, why they are different from each other and which problems you should use them to solve.


Most Python programmers don’t spend a lot of time thinking about how equality and hashing works. It usually just works. However there’s quite a bit of gotchas and edge cases that can lead to subtle and frustrating bugs once one starts to customise their behaviour – especially if the rules on how they interact aren’t understood.


Critter and Guitari have built a bunch of insane video synthesizers that react to live music performance. They’re meant to enhance and automatically accompany a performance. Today, we’ll write a basic video synthesizer in Python, using aubio for Onset detection, and Pygame to display our graphics visually. We’ll end up with a program ready to be played out through a projector.






I’m going to go in depth a bit on two main concepts of Series & Dataframes. And then, what I found helpful in life, is becoming fluent in indexing dataframes.


For Python developer looking to get a taste of Go. Also do subscribe to to keep a track of Go Ecosystem.


This is a quick guide for people who are interested in learning more about CPython’s internals. It provides a summary of the source code structure and contains references to resources providing a more in-depth view.


Embed docs directly on your website with a few lines of code. Test the API for free.


This post shows how to write a basic JIT compiler for the Python bytecode, from scratch, using nothing but stock Python modules.




Requestium is a python library that merges the power of Requests, Selenium, and Parsel into a single integrated tool for automatizing web actions. The library was created for writing web automation scripts that are written using mostly Requests but that are able to seamlessly switch to Selenium for the JavaScript heavy parts of the website, while maintaining the session. Requestium adds independent improvements to both Requests and Selenium, and every new feature is lazily evaluated, so its useful even if writing scripts that use only Requests or Selenium.




In this post we introduce Arrested?—?A new framework for building REST APIs using Python. We’ll use Docker, SQLAlchemy, and other tools to build a Star Wars themed API in 5 minutes!


In this post I’ll play with the data I scraped from a Greek wine e-shop. In lieu of apology for sending a few more requests to their server I urge everyone browse through their catalog and maybe even buy a few bottles.


We’ve collected some crypto data and fed it into a supercool deeply intelligent machine learning LSTM model. Unfortunately, its predictions were not that different from just spitting out the previous value. How can we make the model learn more sophisticated behaviours?





This is a simple reference article for readers that might wonder where I get/got my options data from. In this regard I would like to shout out the contributors to the pandas-datareader, without their efforts this process would be much more complex.


JavaScript promises appear to be very different from Python’s asyncio. But they’re not that different! The code is written differently (the syntax is different), but what is happening under the hood is actually the same (the semantics are equivalent).




image processing



At my exercise of reinforcement learning, I needed to write a decay function for ?-greedy strategy.

code snippets

Pytest and Factory Boy make a rad combo for testing Django Applications.


Just a few days ago, Dropbox open-sourced PyAnnotate, a Python library that observes the execution of a Python program and automatically outputs Python type annotations. PyAnnotate greatly simplifies the process of using a type-checker (e.g. Mypy) with a legacy codebase.





Sydney, New South Wales, Australia

Mathspace is a global technology leader in personalised maths education. We created Mathspace because we believe that technology can help every single school student to excel in maths, by providing the right help at the right time. We’re an established EduTech startup where you can really make an impact!


AVSignSeek120 Stars, 21 Fork
Tool written in python3 to determine where the AV signature is located in a binary/payload.

DDEtect44 Stars, 10 Fork
Simple DDE object detector

coding_exercises32 Stars, 22 Fork
This repository contains my implementation of useful data structures, algorithms, games, as well as my solutions to programming puzzles.

nxshot26 Stars, 5 Fork
Automatically organize and timestamp your Nintendo Switch captures.

exodus16 Stars, 3 Fork
Platform to audit trackers used by Android application.

Docker + Django + Nginx + uWSGI + Postgres – Load Balance -Tutorial.

dataflow_launcher5 Stars, 0 Fork
A unified way of launching Dataflow jobs.

taskmap0 Stars, 0 Fork
This library facilitates keeping track of dependencies between python functions, and running them asyncronously and/or in parallel.

dollar-ref0 Stars, 0 Fork
If you have JSON/YAML configuration files that have grown huge and you would like to split them for better organization, then this package is definitely for you.

Back Top

Leave a Reply