Delivered once every Week. No Spam Ever.

Issue - 82


Worthy Read


Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.
Sponsor

On this tutorial we learned how to scrape millions of reviews, analyze them with pre-trained classifiers within MonkeyLearn, indexed the results with Elasticsearch and visualize them using Kibana. Machine learning makes sense when you want to analyze big volumes of data in a cost effective way. The code repository is here - https://github.com/monkeylearn/hotel-review-analysis

The unittest module now includes a mock submodule as of Python 3.3. It will allow you to replace portions of the system that you are testing with mock objects as well as make assertions about how they were used. A mock object is used for simulating system resources that aren’t available in your test environment. In other words, you will find times when you want to test some part of your code in isolation from the rest of it or you will need to test some code in isolation from outside services.

Altair is a declarative statistical visualization library for Python.
pep8

Set up Persistent Database Connections, Turn Cached Loading on, Store the Sessions in Cache, Keep the Application and Libraries Separate, Store All Templates in One Place, Install HTML5 Boilerplate, Monitor and Control Processes using Supervisor.
django

Today we're proud to open source the documentation that describes how the Django Code of Conduct committee enforces our Code of Conduct. This documentation covers the structure of Code of Conduct committee membership, the process of handling Code of Conduct violations, our decision making process, record keeping, and transparency.
community

I always wondered that. Here is a reddit discussion on the same.
discussion

This post is about creating a machine that writes its own code. More or less. Introducing GlaDoS Skynet Spynet. More specifically, we are going to train a character level Long Short Term Memory neural network to write code itself by feeding it Python source code. The training will run on a GPU instance on EC2, using Theano and Lasagne. If some of the words here sound obscure to you, I will do my best to explain what is happening.
AI

This article will go over the details of how to create a RESTful API with Flask and Flask-RESTful. In Part 1 we will go over the API basics and how to implement a simple API. In Part 2 we will expand into advanced use cases powered by Flask-RESTful. All code that will be show is readily available on this repository.
REST

Running Python Apps in the Browser by Almar Klein was a pretty interesting talk for me. See what interest you. Youtube channel.
video

In a nutshell, a Middleware is a regular Python class that hooks into Django’s request/response life cycle. Those classes holds pieces of code that are processed upon every request/response your Django application handles.
django

Coverage.py is a 3rd party tool for Python that is used for measuring your code coverage. It was originally created by Ned Batchelder. The term “coverage” in programming circles is typically used to describe the effectiveness of your tests and how much of your code is actually covered by tests. You can use coverage.py with Python 2.6 up to the current version of Python 3 as well as with PyPy.
coverage

In this tutorial we'll see a trivial example of how to do a ajax website with django. Good for students looking to learn the basics of Django/Ajax and see how it works.
django

Gitter is like slack for developers. They have active Python, Django channels. Have a look.
community

Python has emerged as one of the most popular language for programmers in financial trading, due to its ease of availability, user-friendliness and presence of sufficient scientific libraries like Pandas, NumPy, PyAlgoTrade, Pybacktest and more. Zipline is a Python library for trading applications that powers the Quantopian service mentioned above. It is an event-driven system that supports both backtesting and live-trading. In this article we will learn how to install Zipline and then how to implement Moving Average Crossover strategy and calculate P&L, Portfolio value etc.


Projects

PokemonGo-DesktopMap - 204 Stars, 36 Fork
Electron App around PokemonGo-Map

PokemonGo-Map - 128 Stars, 55 Fork
Live visualization of all the pokemon in your area

choronzon - 70 Stars, 19 Fork
An evolutionary knowledge-based fuzzer

asyncpg - 69 Stars, 2 Fork
A fast PostgreSQL Database Client Library for Python/asyncio

zhihu-terminal - 42 Stars, 2 Fork
zhihu-terminal using python2.7.

awesome-wagtail - 14 Stars, 1 Fork
A curated list of awesome packages, articles, and other cool resources from the Wagtail community.

reddit_get_top_images - 10 Stars, 1 Fork
Get top images from any subreddit

aiosmtpd - 6 Stars, 1 Fork
A reimplementation of the Python stdlib smtpd.py based on asyncio.

delft - 6 Stars, 1 Fork
A Python tool that automatically optimizes deep learning pipelines using genetic programming.