Get Your Weekly Dose of Python
Welcome to issue 31 of Python Weekly. We had a "Core Python Applications Programming" book giveaway contest and I am pleased to announce that the 3 winners are Dan Arico, Enrico Schiattarella and Leah Culver. Congrats to the winners and thanks everybody for participating.

Articles, Tutorials and Talks

This post shows how to write a custom logging handler that pushes JSON-encoded log record data to a redis pub/sub channel. Then have an IRC bot that subscribes to this channel and when it receives a message generates a paste of the traceback and pings you with a link to the traceback.
8-Puzzle is a game which requires a player to move blocks one at a time to solve a picture or a particular pattern. This article shows you how to write a program that could solve 8-Puzzle automatically using the A* algorithm using Python and PyGame. 
Solving simple problems with Python isn't always 'import antigravity'. Best practices are sometimes far from obvious. This talk analyzes the high barriers of entry that clutter the Python landscape. It discusses ways to make Python more accessible for newcomers and less of a headache for seasoned veterans.
A talk about functional programming in Python
A k-nearest neighbor search identifies the top k nearest neighbors to a query. The problem is: given a dataset D of vectors in a d-dimensional space and a query point x in the same space, find the closest point in D to x. 
How to build and run a data analysis stream? Why streams? This post talks about how to use brewery from command line and from Python scripts. Brewery is a Python framework and a way of analysing and auditing data.
This article aims to explore the process of creating new objects in Python.
Interesting Projects, Tools and Libraries

This is a live timing map application for f1 championship races with data supplied by The various technologies used are Django, Ajax, C, jQuery Mobile, JSON.

Pytbull is a python based flexible Intrusion Detection/Prevention System(IDS/IPS( testing framework shipped with more than 300 tests.

Klein is a micro-framework for developing production ready web services with python. This is primarily because it is built on widely used and well tested components like werkzeug and Twisted.
Hunger is a django app to manage a private beta phase for a website.
Movuca is a social network and CMS platform built using Python and web2py.
turses is a Twitter client with a sexy curses interface written in Python. The goal of the project is to build a full-featured and flexible Twitter client.
Dpark is a Python clone of Spark, MapReduce computing framework supporting regression computation.
It is a a static site and blog generator.
Upcoming Events and Webinars
Write a game in one week from scratch either as an individual or in a team. Registration is now open.
In this webinar, you will learn how to extend the functionality of ArcGIS for Desktop by using the Python scripting language to author Desktop add-ins. With add-ins, you can deliver custom ArcGIS functionality and deploy custom GIS processes.
If you want help in learning Django, bring your laptop, and work through the official Django tutorial. If you want help with a project bring your laptop and your code. If you're comfortable with your Django skills and don't particularly need help right now, come by and help others.
There will be following talks
  • Using SimPy to Model AWS Autoscaling for Realtime Computations
  • Protocol Fuzzing with Sulley and Python
  • Lightning Talks


Machine Learning in Action blends the foundational theories of machine learning with the practical realities of building tools for everyday data analysis. You'll use the flexible Python programming language to build programs that implement algorithms for data classification, forecasting, recommendations, and higher-level features like summarization and simplification.

Get Your Weekly Dose of Python