Delivered once every Week. No Spam Ever.

Issue - 74

Worthy Read

Toptal is an exclusive network of the top freelance software developers and designers in the world. Top companies rely on Toptal freelancers for their most important projects. Apply as a Python Freelancer. See why top startups depend on Toptal to connect them with elite developers, hand-picked to match their needs. Work with top developers on an on-demand basis.

Recently we conducted a survey among more than 1,000 Python developers to identify the latest trends and gain insight into how the Python development world looks today. We’re excited to share some of these results with you. It's pretty interesting check it out.

A Docker setup for a Django REST API with Travis CI support. Includes Python 2.X and Python 3.X, PostgreSQL, Unicorn ,Nginx, Travis CI Integration.

In this guide, we will demonstrate how to install and configure some components on Ubuntu 16.04 to support and serve Django applications. We will configure the uWSGI application container server to interface with our applications. We will then set up Nginx to reverse proxy to uWSGI, giving us access to its security and performance features to serve our apps.

This little tutorial is what you need to add a background task processor to Django using channels. Our task for this example will just be outputting "Hello, Channels!", but you could image running a subprocess on some data or sending an email.

The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of thing is for optimization. You will run into situations where you need your code to run faster because your business needs have changed. When this happens, you will need to figure out what parts of your code are slowing it down. This article will cover how to profile your code.

One of the important realizations we made was that Python objects also have metadata. So, we can represent the XML data as normal Python objects, but store the XML metadata as metadata in the resulting Python objects. Using jxmlease, you can easily convert XML data to Python data structures. Here, the 'xml' variable contains the XML document shown in Example 2 (below). You convert it to Python data objects and print it.
core python

If you’ve worked with OpenStack code for even a minimal amount of time you’ve probably come across a Python plugin library called stevedore. The second Python plugin manager I’m going to cover is pike.

This morning at OSCON, O'Reilly Media gave Brett Cannon the Frank Willison Memorial Award. The award recognises Cannon's contributions to CPython as a core developer and project manager for over a decade.
core python

Kel™ is an open-source Platform as a Service (PaaS) from Eldarion® that makes it easy to manage web application deployment and hosting through the entire software lifecycle. Kel helps DevOps professionals manage their application infrastructure through a layer of tools and components that make Kubernetes accessible and easier to use. Kel builds on Eldarion's 7+ years experience running Gondor, one of the leading Python / Django PaaS solutions.

At a ChiPy event, Nick Bennett gave an excellent talk on traffic fatalities and how he attempts to visualize the publicly available data. The accompanying GitHub repo shows how he accessed and manipulated some of that data with Python tools and then used a couple of different web mapping services to visualize it. The talk prompted some informative comments from the audience and inspired me to further analyze the data myself.
data science

The bisect module implements an algorithm for inserting elements into a list while maintaining the list in sorted order.
core python

A chat tool that's actually built for teams and businesses. Try HipChat for free today!


bless - 400 Stars, 12 Fork
Repository for BLESS, an SSH Certificate Authority that runs as a AWS Lambda function

fizz-buzz-tensorflow - 285 Stars, 16 Fork
fizz buzz in tensorflow

Open-Browser - 89 Stars, 22 Fork
A web browser designed to open, minimal and fast.

pytablewriter - 41 Stars, 2 Fork
pytablewriter is a python library to write a table in various formats: CSV/HTML/JavaScript/JSON/Markdown/Excel/Pandas/Python/reStructuredText

HN-Saved-Links-Export - 36 Stars, 1 Fork
Export your saved links on HN as JSON or CSV, with only a few keystrokes.