Delivered once every Week. No Spam Ever.

Issue - 67


Worthy Read


Slack is a messaging app bringing all your team communication into one place. Less email, fewer meetings, and getting more done.
Sponsor

I learned web application development by myself, two years ago. Since then, I worked on Django, Bootstrap, Python, Javascript. I have an interview lined for a Python Engineer role. Can somebody suggest me the questions can be asked from a two years experienced guy in Python. Thanks!
interview

This post acquaints the reader with the fundamentals of Functional Programming in the context of Python.
core python

A Gif showing how it's done. If you are a full stack developer and use PyCharm this is for you.
pycharm

Say you're set to do some Python metaprogramming, and find yourself in a need of sorting a sequence of types. Not objects, types. Let's fire up a Python 2 prompt to try it. Eli Bendersky writes some of the most insightful articles on Python I have read. Check it out.
core python

In this post, I am publishing some of the benchmarks that I have been doing with Java, Jython and Python producers.
benchmark

In an attempt to improve the performance characteristics of the CPython implementation, Dino Viehland began work on a patch to allow for a pluggable interface to a JIT (Just In Time) compiler. His employer, Microsoft, decided to sponsor his efforts and the result is the Pyjion project. In this episode we spoke with Dino Viehland and Brett Cannon about the goals of the project, the progress they have made so far, and the issues they have encountered along the way. We also made an interesting detour to discuss the general state of performance in the Python ecosystem and why the GIL isn't the bogeyman it's made out to be.
podcast


Syncano. Database. Backend. Middleware. Real-time. Support. Start for free!
Sponsor

The 162 game marathon MLB season is officially underway. In honor of the opening of another season of America's Pasttime I was working on a post that uses data from the MLB. What I realized was that as I was writing the post, I found that I kept struggling with inconsistent data across different seasons. It was really annoying and finally it hit me: This is what I should be writing about! Why not just dedicate an entire post to normalizing data!
pandas

After reading this article you will learn the following. Techniques for caching, including caching the whole site with Varnish or controlling the cache settings on a per-view basis. Static files are being served with the webserver, not Django. How to use uWSGI to boost your Django app's performance by running it out of process from the webserver. Finally, you will learn about allocating as much memory to your server applications as possible to maximize your utilization.
django

AWS Lambda is a service that allows you to write Python, Java, or Node.js code that gets executed in response to events like http requests or files uploaded to S3. Working with Lambda is relatively easy, but the process of bundling and deploying your code is not as simple as it could be. The Python-Lambda library takes away the guess work of developing your Python-Lambda services by providing you a toolset to streamline the annoying parts.
aws

Here’s one of my favourite recipes, by Raymond Hettinger, lightly adapted for Python 3.

As part of the DjangoCon Europe 2016 sprints in Budapest last weekend I wanted to get know Andrew Godwin’s Channels framework for Django a bit better especially since it might find its way into Django 1.10 and I’m in need of a Websocket-solution anyway right now ???? Given that channels are supposed to be run using at least two distinct servers I thought it might be nice to visualise that setup using docker-compose.
django

Author Katharine Jarmul (Data Wrangling with Python) will be teaching a two-day course on big data wrangling. Topics will include data acquisition and management, Pandas for data analysis and big data integrations like Hadoop and PySpark. Location is NY.

In the previous posts in this series ( shared in the previous issue of the newsletter ) we created a basic Django app and populated a database with automatically generated data. We also added data to the elasticsearch index in bulk, wrote a basic command, and added a mapping to the elasticsearch index. In this final article we will add functional frontend items, write queries, allow the index to update, and discuss a bonus tip.
elasticsearch

Caravel is a data exploration platform designed to be visual, intuitive and interactive.

dynaconf is an OSM (Object Settings Mapper) it can read settings variables from a set of different data stores such as python settings files, environment variables, redis, memcached, ini files, json files, yaml files and you can customize dynaconf loaders to read from wherever you want. (maybe you really want to read from xml files ughh?)

smarturls comes with a library of regularly used regular expression patterns to easy regex creation for django urls. The library can be extended by using django setting system. Written by Amit one of the early adopters of Django from India. Also checkout his project importd.
django


Projects

rsync-time-machine - 48 Stars, 1 Fork
Time Machine Style backup

django-serial-forms - 42 Stars, 4 Fork
Constructible, introspectable serializers and forms

cppn-gan-vae-tensorflow - 36 Stars, 7 Fork
Train CPPNs as a Generative Model, using Generative Adversarial Networks and Variational Autoencoder techniques to produce high resolution images.

channels-in-docker - 12 Stars, 0 Fork
An example project for getting to know django channels.

tnpy - 11 Stars, 1 Fork
a text analyzing (match, rewrite, extract) engine (python edition)

pyshaders - 10 Stars, 1 Fork
Pythonic OpenGL shader wrapper for python

aionotify - 9 Stars, 0 Fork
Simple, asyncio-based inotify library for Python

reCaptcha - 8 Stars, 4 Fork
This is my attempt to create a system to solve Google reCaptcha v2 automatically based on perceptive hashes, colors histograms and huge training image sets. All research details on habrahabr.ru: https://habrahabr.ru/post/280230/

couchbase-dump - 6 Stars, 0 Fork
Helpful scripts for dumping and recreating couchbase buckets and views

stats - 6 Stars, 0 Fork
:chart_with_upwards_trend: Statistics from our office. This projects evaluates the data gathered by the light sensor in our office and punches them into a card. The intention behind this is to give folks, who want to visit us in our office, a recommendation on how likely it is that somebody will be there, since we don't have strict office hours. These statistics pose as an addition to the Buerostatus project, which gathers the data and gives live feedback on our website.

Earthquake-Notifier - 5 Stars, 2 Fork
Python script to send notifications to a list of phone numbers if usgs reports a significant earthquake in Nepal.

pyrag-sports - 3 Stars, 2 Fork
A Command Line tool cum API for getting latest updates for football and cricket

flask-pw - 3 Stars, 0 Fork
Peewee ORM integration for Flask framework