Welcome to issue 286 of Python Weekly. Let's get straight to the links this week.

From Our Sponsor
Hey Pythonista, would you like to show your love for Python? Then click here to get your T-Shirt and wear it proudly.


XLA - TensorFlow, compiled 
Google has announced XLA (Accelerated Linear Algebra), a compiler for TensorFlow. XLA uses JIT compilation techniques to analyze the TensorFlow graph created by the user at runtime, specialize it for the actual runtime dimensions and types, fuse multiple ops together and emit efficient native machine code for them - for devices like CPUs, GPUs and custom accelerators (e.g. Google’s TPU).

Articles, Tutorials and Talks

Podcast.__init__ Episode 100 - MetPy: Taming The Weather With Python
What’s the weather tomorrow? That’s the question that meteorologists are always trying to get better at answering. This week the developers of MetPy discuss how their project is used in that quest and the challenges that are inherent in atmospheric and weather research. It is a fascinating look at dealing with uncertainty and using messy, multidimensional data to model a massively complex system

Building An Analytics Data Pipeline In Python
A common use case for a data pipeline is figuring out information about the visitors to your web site. If you’re familiar with Google Analytics, you know the value of seeing real-time and historical information on visitors. In this post, we’ll use data from web server logs to answer questions about our visitors.

How to recover lost Python source code if it's still resident in-memory
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using pyrasite and uncompyle6.

How to write a DSL (in Python with Lark)
In this tutorial, I will show you how to parse and interpret a Logo-like language in just 70 lines of code, and use this example to make broader points on designing and implementing your own language. To do so, we'll use my parsing library, Lark, and Python's turtle module. Let's begin!

Detecting Bots in Apache & Nginx Logs
As browser plugins that block JavaScript-based tracking beacons now enjoy a 9-figure user base, web traffic logs can be a good place to get a better feel for how many people are visiting your website. But anyone that has monitored a web traffic log for more than a few minutes is aware there is an army of bots crawling websites. But being able to separate bot and human-generated traffic in web server logs can be challenging. In this blog I'll walk through the steps I went through to build an IPv4 ownership and browser string-based bot detection script.

Isochrones using the Google Maps Distance Matrix API

SciPy’s new LowLevelCallable is a game-changer

What are some WTFs (still) in Python 3? 

A Production-ready Dockerfile for Your Python/Django App

The Case of the Mysterious Python Crash

New interesting data structures in Python 3

Clickbaits Revisited: Deep Learning on Title + Content Features to Tackle Clickbaits

Fitting Gaussian Process Models in Python

Vector Venture - Official Trailer in Python using Tkinter!

Python Jobs of the Week

Lead Python Software Engineer at Academic Merit 
As we prepare for rapid business growth from here, AcademicMerit is seeking to hire several Software Engineers who are agile, who have opinion for great software components and services with great attention to detail in delivering reliable software that is well tested according to user expectations. The Software Engineer will have the opportunity to engage in full stack development, visualization, user analytics, distributed systems, docker container based services and machine learning algorithms. You will be working on multiple products in writing education and the AP curriculum for teachers and high school students in the US and international schools across the globe.

Seasoned Backend Engineer at MindMeld 
As a Senior Software Engineer, you will own several components and features of the MindMeld Conversational AI platform, as well as play a major role in one of several proof of concept or production deployments for Fortune 500 companies. You will join a team trying to achieve state-of-the-art end-to-end accuracy (>99%) for a large vocabulary knowledge domain and satisfy the long tail of user requests. You will primarily code in python and leverage a host of libraries and frameworks. You will use crowdsourcing tools like Amazon Mechanical Turk extensively for data collection. As an early member of the Engineering Team, you’ll have the unique opportunity to build critical product features and infrastructure while shaping the direction of the team and the company.

Interesting Projects, Tools and Libraries

Pretty dir() printing with joy.

The world's simplest facial recognition api for Python and the command line.

A general-purpose encoder-decoder framework for Tensorflow.

Trio is an experimental attempt to produce a production-quality, permissively licensed, async/await-native I/O library for Python, with an emphasis on usability and correctness – we want to make it easy to get things right.

A tiny terminal player based on Python3.

LXDock is a wrapper around LXD that allows developers to orchestrate their development environments using a workflow similar to Vagrant.

Simple blog built with Django and React/Redux, deployed with Docker, and served with nginx/uwsgi. 

Personal Assistant for Linux

Tool to extract news articles from newspaper and give the context about the news.

CHIPSEC is a framework for analyzing the security of PC platforms including hardware, system firmware (BIOS/UEFI), and platform components. It includes a security test suite, tools for accessing various low level interfaces, and forensic capabilities. It can be run on Windows, Linux, Mac OS X and UEFI shell. 

New Releases

Django REST framework 3.6
The 3.6 release adds two major new features to REST framework.
  • Built-in interactive API documentation support.
  • A new JavaScript client library.

Keras 2

Upcoming Events and Webinars

San Francisco Django Meetup March 2017 - San Francisco, CA
There will be following talks
  • Twisted as Your WSGI Container
  • Django with Webpack + React

PyHou Meetup March 2017 - Houston, TX
Glen Zangirolami will be introducing the Asyncio Module -- From generators to Asyncio we are going to learn a little about Asyncio and how it can help you in your personal and professional projects. We will start by covering generators and creating our own basic I/O Loop to demonstrate how Asyncio functions under the hood. From there we will cover basic Asyncio code examples.

San Diego Python Meetup March 2017 - San Diego, CA
There will be following talks
  • Disk-based spooling with Django query
  • Elements of Style II - Word Choice

Share Python Weekly 
You are receiving our weekly newsletter because you signed up at

Unsubscribe <<Email Address>> from this list | Forward to a friend | Update your profile
Our mailing address is:
Python Weekly
Brooklyn, NY 11209

Add us to your address book

Copyright (C) 2017 Python Weekly All rights reserved.