Delivered once every Week. No Spam Ever.

Issue - 126

Worthy Read

Videos of the just concluded Pycon US 2017.

This is a short post on how to get download statistics about any package from PyPI. Though there have been efforts in that direction from sites like pypi ranking but this post finds a better solution. Google has been generous enough to donate it’s Big Query capacity to the Python Software Foundation. You can access the pypi downloads table through the Big Query console. I ran a sample query to find out how my personal package arachne has been doing on PyPI.

The breadth of SQLAlchemy’s SQL rendering engine, DBAPI integration, transaction integration, and schema description services are documented here. In contrast to the ORM’s domain-centric mode of usage, the SQL Expression Language provides a schema-centric usage paradigm.

Users finding bugs? Searching logs for errors? Find + fix broken code fast!

The various meanings and naming conventions around single and double underscores (“dunder”) in Python, how name mangling works and how it affects your own Python classes.

In Python, all object types inherit from one master object, declared as PyObject . This master object has all of the information Python needs to process a pointer to an object as an actual object.

So we had a production case for months together, where the python process was stuck for indefinitely long time (even days) with absolutely zero activity but the process was listed as active and running by linux. A restart would fix the problem (as always) and the job would be live and kicking. Finally after sometime, I have found the root cause, so I thought I would share it. For the purpose of the blog I’m going to simulate the behavior of my application in a sample python script.

We help companies like Airbnb, Pfizer, and Artsy find great developers. Let us find your next great hire. Get started today.

Back in April, Google announced that it will be shipping Headless Chrome in Chrome 59. Since the respective flags are already available on Chrome Canary, the Duo Labs team thought it would be fun to test things out and also provide a brief introduction to driving Chrome using Selenium and Python.

Elizabeth is a Python library, which helps generate mock data for various purposes. The library was written with the use of tools from the standard Python library, and therefore, it doesn’t have any side dependencies. Currently the library supports 30 languages and 19 class providers, supplying various data.
mock is a collection of Python boilerplates for getting started quickly and right-footed.



speech recognition

PyCon JP 2017 is Now Accepting Poster-Session Proposals! PyCon JP 2017 is a perfect opportunity to connect with a wide range of people. Poster sessions allow you to make the most of that opportunity.



Using Atom IDE.

Python uses global to reference to module-global variables. There are no program-global variables in Python.


Python's (pip's) requirements.txt file is the equivalent to package.json in the JavaScript / Node.js world.  This requirements.txt file isn't as pretty as package.json but it not only defines a version but goes a step further, providing a sha hash to compare against to ensure package integrity:


Bangalore, Karnataka, India


baselines - 241 Stars, 28 Fork
OpenAI Baselines: high-quality implementations of reinforcement learning algorithms

semilive - 92 Stars, 3 Fork
A Sublime Text plugin for "Live" coding

IPpy - 41 Stars, 3 Fork
Parallel testing of IP addresses and domains in python

content-downloader - 30 Stars, 10 Fork
Python package to download files on any topic in bulk.

v2ex-terminal - 27 Stars, 1 Fork
browse v2ex by a terminal

logging-spinner - 17 Stars, 0 Fork
Display spinners (in CLI) through Python standard logging.

aws-batch-genomics - 14 Stars, 4 Fork
Software sets up and runs an genome sequencing analysis workflow using AWS Batch and AWS Step Functions.

twitter-bot - 5 Stars, 0 Fork
Python Bot that Tweets quote and like Tweets.

jsonfeedvalidator - 4 Stars, 0 Fork
JSON Feed Validator

handcart - 3 Stars, 1 Fork
Command-line tools for project-oriented, human-sized Wikidata import

slacky - 0 Stars, 0 Fork
Slack client on the terminal with a GUI.This is a weekend project that started for me as a way to learn how to write old style command line interfaces. Slack is a tool a lot of programmers use today so I thought a lot of you would have interest in contributing to this effor.