Delivered once every Week. No Spam Ever.

Issue - 54


Worthy Read

Aaron Maxwell has been running the The Advanced Python Newsletter for a while and written some really good Python post that we have shared over the year. He has jus released his book , Advanced Python. A Not-For-Beginners Guide To Mastering The Most Powerful Patterns, Features And Development Strategies Modern Python Provides. Have a look.

Bottle is a minimalist Python web framework. It is lightweight, fast, and easy to use, and is well-suited to building RESTful services. In my own tests on the virtual servers available from DigitalOcean, I found that the combination of the uWSGI server stack and Bottle could achieve as low as a 140?s overhead per request. In this article, I’ll provide a walkthrough of how to build a RESTful API service using Bottle.

The purpose of this blog post is to capture my Django and testing study points, summarize useful resource links as well as to itemize some guidelines for implementing tests for newcomers to the project. It also provides a comparison between Python's standard unittest library and the aforementioned pytest. Its focus is on Django database interaction.

Detailed guide on using PyCharm + Vagrant for application development.

Modern development workflows emphasize isolation and reproducability in development and production. Docker and its platform approach to containers has become very popular. With PyCharm Professional Edition 5, Docker is now supported as a remote interpreter. Let’s take a look at PyCharm’s Docker integration in action.
docker

Jessamyn Smith is an experienced full-stack software developer with over a decade in the field, primarily in back-end development for web applications. Her specialties are debugging, software design, refactoring legacy code, adding automated tests, and automating builds and deployments. She is a licensed professional engineer with a degree in Computer Engineering. Shes also Interim CTO at Ziversity.com, an organization that offers women, LGBTQ people, racial/ethnic minorities, Indigenous peoples, and persons with (dis)abilities a safe space to embrace their identity and add context to their experiences.
interview

In this hands-on workshop led by Steven Lott, author of 'Python for Secret Agents', 'Functional Python Programming' and 'Mastering Object-oriented Python' you will learn: What Namespaces are ? All the places we use them. Using the three built-in namespace alternatives. How we can build our own.

A simple wallpaper with Zen of Python written on it.

We aim to raise $200,000 in order to fully fund our Fellow program, continue contributing to Django Girls workshops, sponsor official Django conferences, and more.

The lesson is clear: do not write Python code as you would do in C. Use numpy array operations rather than iterate on arrays. For me it meant a mental shift. Given Python ecosystem is rapidly evolving, I decided to revisit this conclusion using the performance improvement tools that I discuss in my previous post. Let me briefly introduce the topic again for those who haven't read Python Is Not C. I had to deal with geospatial data as part of a project aiming to help a cyclist athlete for the Race Across America (RAAM) 2015 competition I was given a gps track with about 25,000 points, and I repeatedly needed to find the closest point on that track given a latitude and a longitude. Let me focus on this problem from now on. I will be using two datasets for my experiments:

Any command-line UNIX interface may be automated. This article will demonstrate the use of pseudo-terminals, which cause programs to believe they are attached to a terminal, even when they are not!. At first, fooling programs into beleiving they are attached to a terminal may not seem useful, but it is used in a wide variety of software solutions. This programming technique is indespensible in automation and testing fields.

Time zones, those stupid things getting in the way of shipping software! If you read the Django documentation on time zones and still feel lost, this article is for you. I'll assume you are familiar with the datetime library and know the difference between naïve and aware datetimes. I'll also assume you know some Django.

It's a commercial product that allows you to create a CMS quickly. It's based on Django. Worth a look.

The Python AST (Abstract Syntax Tree) is a powerful abstraction that allows for a number of innovative projects. ASTroid is a library that provides additional convenience methods to simplify working with the AST. In this episode we spoke with Sylvain Thénault from Logilab about his work on ASTroid and how it is used to power the popular PyLint static analysis tool.
podcast


Jobs


Mumbai, Maharashtra, India



Projects

chainer-DCGAN - 108 Stars, 14 Fork
Chainer implementation of Deep Convolutional Generative Adversarial Network

write-rnn-tensorflow - 52 Stars, 6 Fork
Generative Handwriting using LSTM Mixture Density Network with TensorFlow

GoTimer - 52 Stars, 14 Fork
A simple external bomb-timer for CS:GO, written in Python.

cyjson - 28 Stars, 1 Fork
Fast JSON Parser for Python

pygamii - 13 Stars, 1 Fork
ASCII Game Engine write in Python

py-mysql-elasticsearch-sync - 12 Stars, 0 Fork
MySQL to Elasticsearch sync tool, written with Python.

Stockfighter - 9 Stars, 4 Fork
A simple Python libary for the Stockfighter API

python-mwviews - 9 Stars, 0 Fork
Tools for parsing and querying Wikimedia Foundation pageview data from both static dumps and the online API.

django-notify-x - 6 Stars, 1 Fork
Notification system for Django