Delivered once every Week. No Spam Ever.

Issue - 138

Worthy Read

In this Python Programming Tutorial, we will be learning how to unit-test our code using the unittest module. Unit testing will allow you to be more comfortable with refactoring and knowing whether or not your updates broke any of your existing code. Unit testing is a must on any large projects and is used by all major companies. Not only that, but it will greatly improve your personal code as well. Let's get started.

Get started today.


data science

This web is a online converter that reads Python 2.x source code and applies a series of fixers to transform it into valid Python 3.x code Enter your Python2 code on the left, hit the button, and boom, Python3 code on the right
Python 3

This is a story about how very difficult it is to build concurrent programs. It’s also a story about a bug in Python’s Queue class, a class which happens to be the easiest way to make concurrency simple in Python. This is not a happy story: this is a tragedy, a story of deadlocks and despair.

Notebook based off James Powell's talk at PyData 2017.

F-strings provide a concise and convenient way to embed python expressions inside string literals for formatting.

Reddit Discussion

Roughly, Hy is to Python as Clojure is to Java. Hy completely inter-ops with Python. I've hit commit 1,500 in my Hy project at work. I wanted to share my experience working with Hy, where I feel it shines and where it falls short.

A "fold" is a fundamental primitive in defining operations on data structures; it's particularly important in functional languages where recursion is the default tool to express repetition. In this article I'll present how left and right folds work and how they map to some fundamental recursive patterns. The article starts with Python, which should be (or at least look) familiar to most programmers. It then switches to Haskell for a discussion of more advanced topics like the connection between folding and laziness, as well as monoids.

C is relatively difficult to write, making it harder to analyse and test. It would be helpful to be able to do this with a higher level language, such as Python. Analysis and testing don’t affect performance of the actual data structure, so using a slower but easier and more productive language for this seems reasonable. In this article, we walk though a simple example of doing this with a built-in Python library for interfacing with C called ctypes.

This short post shows how to use Python packages googlemaps and GDAL.

One of the reasons why I love the Python programming language is because of how easy debugging is. You don't need a full blown IDE to be able to debug your Python application. We will go through the process of debugging a simple Python script using the pdb module from the Python standard library, which comes with most installation of Python.

We’re excited to be launching a bunch of new annotation types for images. Since the launch of our bounding box API, we’ve annotated millions of images with boxes to identify a host of different objects, from cars and hats to roof damage and parking lots. Scale is becoming an industry-standard tool for solving computer vision problems.
image processing

The post is about a terminal visualization tool lehar that is open sourced at

Today the #DjangoTip will be about using select_related and prefetch_related to improve our queries performance. Note - Django developer do check out django newsletter -


django-service-objects - 28 Stars, 3 Fork
Service objects for Django

jsonschema2db - 22 Stars, 0 Fork
Generate tables dynamically from a JSON Schema and insert data.

np-to-tf-embeddings-visualiser - 19 Stars, 3 Fork
Quick function to go from a dictionary of sets of (images, labels, feature vectors) to checkpoints that can be opened in Tensorboard.

smspushtx - 16 Stars, 1 Fork
Simple PushTX server to push Bitcoin transactions via SMS.

yamdl - 15 Stars, 1 Fork
ORM-queryable YAML fixtures for Django.

BookBot - 13 Stars, 0 Fork
Reddit book bot.

contract - 4 Stars, 0 Fork
Create API contracts using Python.

slick - 3 Stars, 0 Fork
A native web-based client for Slack.

PyPocketExplore - 1 Stars, 0 Fork
PyPocketExplore is a CLI-based and web-based API to access Pocket Explore data. It can be used to collect data about the most popular Pocket items for different topics.