Delivered once every Week. No Spam Ever.

Issue - 110

Worthy Read

In this book I want to share everything I learned during my journey of coding Python every day for years. My goal is to make you proficient at Python, from writing tests to distributing your code correctly, while optimizing your code and understanding how Python works under the hood. You'll discover the state of art in Python coding and will be able to make your code shine.

Japronto implements a pretty solid feature set:HTTP 1.x implementation with support for chunked uploadsFull support for HTTP pipelining, Keep-alive connections with configurable reaper, Support for synchronous and asynchronous views, Master-multiworker model based on forking, Support for code reloading on changes, Simple routing.

Nearly every day, I teach a course in Python. And nearly every day, I thus use the Jupyter notebook: I do my live-coding demos in it, answer students’ questions using it, and also send it to my students at the end of the day, so that they can review my code without having to type furiously or take pictures of my screen.

In this post, I’ll be talking about setting up a distributed task processing system for doing asynchronous processing. As your website grows and handles lot of traffic, there naturally comes a need to ensure best performance for your users. While there are multiple things which need to be done to achieve that, one of the most important things is processing things in background.

3 Ways Our Dev Teams Create Velocity with Multi-System Integrations

We'll build a classic and important physical system, the simple pendulum. We'll use an Arduino and a potentiometer to measure the amplitude of the pendulum's motion and Python to read and visualize our data.

There are a couple good python code linter tools you can use. The one I’ve recently discovered is a Flake8. Which is “the wrapper which verifies pep8, pyflakes and circular complexity “. It has low rate of false positives.

My daughter, Alex, was in the 6th grade this year. For her science fair project, Alex wanted to do something involving animals. I had read about an experiment where lab rats were recorded on video, and their motion was analyzed by a computer (to determine the effects of a neurotoxin). We owned 2 gerbils, Havoc and Zoom, so I suggested to Alex we do a similar experiment with the gerbils. For some reason, she didn’t want to test a neurotoxin on her pets, so instead she decided to test the effects of full spectrum lighting on their movement.
motion tracking

Pytest stands out among Python testing tools due to its ease of use. This tutorial will get you started with using pytest to test your next Python project.

Is Python worth learning? We’ve interviewed experts and surveyed the job market to identify the key reasons why you should learn Python today.

9 DBs to choose from, 5 min setup, auto-scaling, Cloud hosted. Free for 30 Days.


book review


This guide has been there for a while, sharing it again.
style guide

In the previous post (Playing with IMDB, Python and Pandas), I tried to obtain the average IMDb rating of an actress. This time I’ll play with matplotlib in order to plot the evolution of an actress over the years.

Working with the remote servers is a common scenario for most of us. Sometimes, we do our actual work over those remote computers, sometimes our code does something for us in the remote systems. Even Vagrant instances on your laptop are also remote systems, you still have to ssh into those systems to get things done.


I never could remember how to use it, mixing the order of the parameters, and the man page did not help. So I thought, why not write a small wrapper around it?
code snippet


tweets_analyzer - 500 Stars, 51 Fork
Tweets metadata scraper & activity analyzer

pyzdb - 230 Stars, 7 Fork
A lightweight database with Python syntax queries, using ZeroMQ

deep-makeover - 105 Stars, 6 Fork
Deep learning project to transform male portraits into female and vice versa

bucketstore - 94 Stars, 9 Fork
A simple library for interacting with Amazon S3.

pycycle - 60 Stars, 3 Fork
Tool for pinpointing circular imports in Python. Find cyclic imports in any project

sceptre - 59 Stars, 6 Fork
Build better AWS infrastructure

lifelights - 42 Stars, 8 Fork
Video games & home automation. Control your IoT devices based on in-game statuses.

fastq-and-furious - 14 Stars, 0 Fork
Efficient handling of FASTQ files from Python