Delivered once every Week. No Spam Ever.

Issue - 179

Worthy Read

Want to deliver faster? Join the webinar: Actionable Continuous Delivery Metrics. Gain insights into software delivery pipeline and learn to use metrics to improve your path to production.
Continuous Delivery

Python 3.7 benefitted from both new functionality and optimizations. From what we know so far about 3.8, it’s going to be a similar story. This time, most of the new functionality is targeted at C extension and module development. Based on the existing, Python Enhancement Proposals, or “PEPs” that have been submitted for 3.8 we have a good grasp on what features are likely to be included. I’ve put together a PEP-Explorer UI here for 3.8.

Do you write Python software that uses the network, opens files, or accepts user input? Of course you do! That's what almost all software does. But these actions can let bad actors exploit mistakes and oversights we've made to compromise our systems. Python is safer than some languages, but there are plenty of issues to be careful about. That's why Anthon Shaw and Anthony Langsworth are joining me to discuss Python security.


A list-like type with fun functionality. Extents the builtin list with .NET's Language Intagrated Queries (Linq) and more. Write clean code with powerful syntax. Forget about messy loops, conditions and list comprehensions.

While preparing the post on minimal char-based RNNs, I coded a simple Markov chain text generator to serve as a comparison for the quality of the RNN model. That code turned out to be consice and quite elegant (IMHO!), so it seemsed like I should write a few words about it. It's so short I'm just going to paste it here in its entirety, but this link should have it in a Python file with some extra debugging information for tinkering, along with a sample input file.
markov chain

The rising adoption of Amazon's Alexa and Google Assistant brings a lot of amazing possibilities for developers. I'm going to show you the basic concepts of building voice user interfaces and how to build a simple Alexa skill. And since there's plenty of "hello world" Alexa tutorials on the internet, we're going to build something more interesting. Something that you can literally play with.

This post is part of a series introducing the speakers at the PyBay2018 conference in San Francisco this August. It’s a great chance to learn and connect with an engaged and diverse community of Python developers. We hope you’ll join us!

In the previous tutorial, we learned about setting up and configuring some basic settings of django-allauth. If you have not yet read it, I recommend you read it here. You can proceed if you have completed the basic setup and configuration. This article deals with customizing django-allauth signup forms, intervening in registration flow to add custom process and validations. Social logins and their customizations discussed in the next article.

DBSCAN is a popular clustering algorithm which is fundamentally very different from k-means.
clustering algorithm


While you might get away with not writing unit tests for very simple Rest API endpoints, doing the same for celery tasks is recipe for frustration (and disaster). Celery tasks are asynchronous by design and therefore a lot harder to get a grip on using a “development driven development” approach. Test Driven Development (TDD) might not have taken us to the promised land we had hoped for, but when it comes to celery tasks, it most definitely is essential to a sane, effective and efficient development process - and having that peace of mind when releasing your code into production.

A little command-line interface (CLI) utility written in Python to help you count files, grouped by extension, in a directory. By default, it will count files recursively in current working directory and all of its subdirectories, and will display a table showing the frequency for each file extension (e.g.: .txt, .py, .html, .css) and the total number of files found.


Adam-experiments - 87 Stars, 6 Fork
Experiments with Adam/AdamW/amsgrad

bitcoin-lightning-docker - 37 Stars, 2 Fork
A docker environment for Bitcoin/LN

pgn2gif - 27 Stars, 2 Fork
A small tool that generates 640x640 gif of chess pgn

gle - 25 Stars, 3 Fork
A tiny but functional google searcher lib.

facebook-dl - 24 Stars, 0 Fork
Download facebook videos from your terminal

Simple Tensorflow implementation of "Switchable Normalization"

Autopilot - 10 Stars, 3 Fork
A self driving car model for humans.

Face-Recognizer - 9 Stars, 0 Fork
A Face Recognition system that works in real time! - 6 Stars, 0 Fork
sort files using python

alacrity - 4 Stars, 2 Fork
Quickstart your Python project with a single handy command.

Smarties - 3 Stars, 0 Fork
Smarties is a Text Classifier using an innovative method based on Wikipedia to classify any documents/text. We use a Machine Learning and Doc2Vec algorithms.

naz - 0 Stars, 0 Fork
naz is an SMPP client. It's name is derived from Kenyan hip hop artiste, Nazizi.