Get Your Weekly Dose of Python
Welcome to issue 57 of Python Weekly. PyData conference is taking place next week. You can check out the details and special discount code for our readers in events section.

News

Wanted: experts in Twisted, Tornado, asyncore or other Python async APIs (greenlets/gevent, Stackless, libevent all welcome!). In python-ideas@python.org we're trying to hash out the async API for the future (for the Python stdlib) and we need input from expert users of the current generation of async APIs.
 

Articles, Tutorials and Talks

This four part series will guide you through building your first RESTful API and deploying it on Amazon EC2 instances. We walk through every part of stubbing out and building an API, from writing YAML to an ElasticSearch backend, then our server deployment scripts.
 
Despite the WSGI specification having been around for so long, one keeps seeing instances where it is implemented wrongly. This post explains, using an example, what the obligations of a WSGI middleware are in relation to the close() method. 
 
Now that Sparrow is effectively dead many of its users will be looking for a new email client. If you're not afraid of the terminal you may want to give Mutt a try. This post shows you how to set up Mutt. 
 
In this talk, the presenter talks about how he is running his business using various open source technologies such as Python, Arduino and Ubuntu. 
 
The tutorial is really simple but should be enough of a head start to writing applications using Pyramid Web Framework. By the end of it you should have a basic understanding of templating, working with databases, using url routes to launch our business logic(views) and authentication, example of form library usage and pagination of our blog entries.
 
This post shows you a way to avoid duplications and submit to the view from the front page of a site while using Django class based view (CBV) CreateView.
 
 
 
 
 
Interesting Projects, Tools and Libraries

ErlPort is a Python library which implements Erlang external term format and Erlang port protocol for easier integration of Erlang and Python.
 
It is a lightweight REST API for Django built on top of generic views. It is designed for sites that just need a simple API for their front-end (backbone, etc), without all the bells and whistles of a solution like django-tastypie.
 
PyParticles is a particle simulation toolbox entirely written in python.
 
This is a port of the flask-debug-toolbar (which is a port of the django-debug-toolbar) for Bottle applications.
 
Simple yet powerful and really extendable application for managing a blog within your Django Web site.
 
The PyCX Project aims to develop an online repository of simple, crude, yet easy-to-understand Python sample codes for dynamic complex systems simulations, including iterative maps, cellular automata, dynamical networks and agent-based models.


New Releases

The new features include: faster, static asset management, auth.wiki (with page attachments, page group based access control, oembed, preview), jQuery 1.8, Bootstrap 2.1, Dropbox login, Redis sessions, entropy password check, better admin interface and mobile admin , Field(type='upload') can use any pyfilesystem (including ftp, amazon, etc.).

The Django team has issued multiple releases -- Django 1.3.4 and Django 1.4.2 -- to remedy reported security issues . All users are encouraged to upgrade Django immediately.
 

Upcoming Events and Webinars

The PyData conference and workshop is a semi-annual event for scientists, engineers, and data analysts in the Python community. The conference focuses on techniques and tools for management, analytics, and visualization of data of different types and sizes with particular emphasis on big data. Python Weekly subscribers can use a special discount code "pyweekly20" to get 20% discount
 
LA Open Source #5 is a day long coding event for Open Source developers of all languages and skill levels to come and code like fiends. There will be a number of projects around that you can join including Python, Django and Pyramid.
 
Bayesian statistical methods are becoming more common and more important, but there are not many resources to help beginners get started. People who know Python can use their programming skills toget a head start. In this webcast, we will discuss:
  • Bayes's theorem
  • Bayesian estimation
  • Bayesian hypothesis testing
There will be following talks
  • Data Science and Engineering at Netflix
  • Generators in Python
 
Python Jobs of the Week

We are looking for a leader in open-source back-end development -- someone who can spearhead the core python development for our django-based ecommerce site and operations systems. You are someone who believes in the open-source community, likes to solve problems and enjoys a small agile working environment. 
 


Get Your Weekly Dose of Python