Get Your Weekly Dose of Python
Welcome to issue 48 of Python Weekly. I would like to thanks our sponsor this week, AppFog. Be sure to take advantage of their free plan with 2GB RAM. 

From Our Sponsors

AppFog does to PaaS what Gmail did to email. 2GB RAM at no cost. Hosted in EU, Asia, and various US zones including Rackspace and AWS. MongoDB, MySQL and Postgres supported!
(Sponsor this newsletter)


Linux Journal is gearing up for their Python issue, and would love to get articles from you! If you have any Python-related projects, tactics, lessons or other articles ideas, send a proposal to

Articles, Tutorials and Talks

The author crawled 250,113,669 pages for just under 580 dollars in 39 hours and 25 minutes, using 20 Amazon EC2 machine instances. This post describes some details of what he did.
This tutorial shows how to use pandas DataFrames and SciPy together to handle any and all of your statistical needs in Python. 
The cppyy module makes it possible to call into C++ from PyPy through the Reflex package. This posting details how access to C++ data structures is provided.
Linux is a great platform for scientific computing and is heavily used by the academic community for numerous tasks. While many open source projects address specific applications, the Sage mathematical project delivers a more generic problem-solving capability. Python is the primary language for many of the highest profile scientific applications, which this article discusses.
In this post, the author talks about how he went about modelling, collecting, and finally analyzing basic page-view data he collected from his blog.
In this post, the author goes through a Square Shooter game to make it more readable and extend its functionality. You'll see an example of how to take code that works and changes to improve it's design and it also explains those changes are done. 
This article explains how to setup Vim as a common IDE for python.
ZeroMQ provides a handy abstraction for several network communication patterns that we can use quite easily from Python. If you're thinking of building a high-performance distributed system, its certainly worth checking out ZeroMQ as a possible transport layer. 
Automating your deployment can be one of those things that is tricky to get right at first, but pays off in spades once done. This post walks you through as if you haven't ever automated a deploy before and evolve a script before your eyes.
Interesting Projects, Tools and Libraries

Import LLVM bitcode directly into Python and use it as an extension module.
Web APIs for Django, with one line of code. It is an incredibly simple app that gives you a fully hyperlinked read-only API for all installed models in html, json, yaml, xml and csv. It only requires one line of code to be added to your project.
Milk is a machine learning toolkit in Python. Its focus is on supervised classification with several classifiers available: SVMs (based on libsvm), k-NN, random forests, decision trees. It also performs feature selection. These classifiers can be combined in many ways to form different classification systems.
Python code to print the structure of a JSON object. You can see some examples of the script in use in this blog post.
SnapPy is a program for studying the topology and geometry of 3-manifolds, with a focus on hyperbolic structures. It combines a link editor and 3D-graphics for Dirichlet domains and cusp neighborhoods with a powerful command-line interface based on the Python.
A clean and consistent library for working with the Rackspace Cloud / OpenStack
Pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop. It contains a Python-to-JavaScript compiler, an AJAX framework and a Widget Set API.
A script to that generates an index & album of images inside your Dropbox Public folder. 

New Releases

Python 3.3 includes a range of improvements of the 3.x series, as well as easier porting between 2.x and 3.x. In total, almost 500 API items are new or improved in Python 3.3.

Upcoming Events and Webinars

Project Hexapod is building a giant robot, Stompy and it's powered by Python! Dan Cody will tell us about Project Hexapod. 
The 15th Python Game Programming Challenge (PyWeek) has started. It'll run up to the 16th of September.
Join us this month for a Django project hack night! This is a great opportunity to share, collaborate, and exchange ideas with your fellow LA Djangonauts.
Glen Zangirolami presents "Intro to Class Warfare"! This will be an introduction to Python classes and how they work.

Get Your Weekly Dose of Python