Get Your Weekly Dose of Python
Welcome to issue 34 of Python Weekly. Let's get straight to the links this week.

News

The second PyCon DE is taking place from October 29 - November 3, 2012 in Leipzig, Germany. You can submit your proposals for talks and tutorials.
 

Articles, Tutorials and Talks

This post introduces you to the method used to deploy a wide variety of services.
 
The structure of this tutorial assumes an intermediate level knowledge of Python but not much else. No knowledge of concurrency is expected. The goal is to give you the tools you need to get going with gevent and use it to solve or speed up your applications today.
 
This post shows how to analyze a GMail account using Python, imaplib and matplotlib.
 
In this inaugural episode, Greg Aker and Bryan Helmig discuss what exactly they are trying to do, as well as cover the fresh bits of Django 1.4.
 
Ghetto-CI is a Python script in 145 statements fulfilling your dirty continuous integration needs. This post shows you what it is, why use it and how to use it.
 
This post discusses how to work around some of the shortcomings of djangos ORM when dealing with Generic Foreign Keys (GFKs). It shows how to work around django's lack of correctly CAST-ing when the generic foreign key is of a different column type than the objects it may point to.
 
A post explaining how to create and open custom Python dialogs from a Python add-in with wxPython.
 
This article will help you get started testing your website or get you going on an automation project of your own.
 
This post is an overview of the current state of affairs for someone new to Python web development.
 
This is a guide to get a Flask website up and running on Ubuntu 12.04 LTS using nginx and uWSGI. Some people enjoy configuring servers, while others view it as a chore. Regardless, this guide should get you up, running, and ready to make something awesome in no time!
 
 
 
 
Interesting Projects, Tools and Libraries

The very first Python 2.7 interpreter to run existing multithreaded programs on multiple cores. 
 
Focus.py is a simple DNS-based firewall for Linux that helps you stop procrastinating. Just give it a list of sites you spend too much time on and enjoy not being to access them easy.
 
Dinero is a gateway agnostic payment processing library for Python. This library aims to be a minimal, pythonic, and highly usable payment processing library. It has a simple API and it hides the differences between payment processors from the user.
 
An Arduino based burglar alarm that sends an SMS when motion is detected. It will send an SMS to you every 30 minutes while motion is detected (configurable).
 
A basic movie recommendation site built using Python, Flask, SQLAlchemy and Backbone.js
 
Testify is a replacement for Python's unittest module and nose. It is modeled after unittest, and tests written for unittest will run under testify with a minimum of adjustments, but it has features above and beyond unittest.
 
It is a highly experimental editor/ide for web2py.
 
Tunnel VNC through a WebSocket and use it with plain Javascript client from your HTML5 browser.
 
Test a Python regular expression on text and get results.
 
Pelican (for calepin) is just a simple tool to generate your blog as static files, letting you using your editor of choice (vim!). It's easy to extend, and has a template support (via jinja2).


Upcoming Events and Webinars

Bring your computer, charger, and your game face, and join the San Francisco PyLadies as we walk through how to build your own web app and deploy it using Heroku! Newbies to Python are highly encouraged to join!
 
The ever popular Python language has had GPU acceleration for some while now. This meetup explores the latest and greatest of Python+GPU!
 
Two Boston-area PyCon poster presenters will tell us about their scientific work with Python
  • Clint Howarth, Millions of Genes with Python and Jython
  • Tom Aldcroft, Keeping the Chandra satellite cool with Python and Xija
Let discuss some Django best practices for deployment, versioning, toolsets, favorite modules and scripts to make life easier.

 
Books

Understanding iteration enables understanding generators and easily creating objects that can iterate. This guide will explain the theory behind iteration in Python and teach best practices for generator creation and use. Do not beware the yield, rather embrace the power it provides.
 
Porting to Python 3 doesn't have to be daunting. This book guides you through the process of porting your Python 2 code to Python 3, from choosing a porting strategy to solving your distribution issues. Using plenty of code examples is takes you cross the hurdles and shows you the new Python features.
 


Get Your Weekly Dose of Python