Get Your Weekly Dose of Python
Welcome to issue 76 of Python Weekly. Another jam packed issue this week. In fact, I had to cut down some of the entries from tools and libraries section to keep it manageable. Enjoy it!

From Our Sponsor 

Get started for free building Python applications on Google App Engine
We support Python 2.5 and 2.7 allowing you to take take advantage of the many libraries, tools, and frameworks that professional developers use to build world-class web applications.

Articles, Tutorials and Talks
Part One introduced Python iterables and iterators and generators. This part covers the advanced use of generators while building an interactive two-player network game.
When performing a security engagement, the information gathered from port scanning is crucial. However, these scans can take a substantial amount of time when we set a reasonable timeout in an attempt to be thorough. So what happens when we need to scan a large amount of hosts? Say, an entire continent? We need to find a way to distribute the bandwidth load to multiple hosts in parallel. Fortunately, a tool has been developed which will allow us to create and manage a cluster of hosts which each have its own bandwidth dedicated to port scanning.
The new Mega has the great advantage of being built as a service that can be queried by any client through its API. That means that the community can build shiny new stunning software on top of Mega's API and take advantage of its huge capabilites. This post shows you how you can build your own Mega client pretty quickly.
Do you use Maya follicles to pin objects to your geometry? Are you still doing it the old way, by creating a Hair System and then deleting all the parts you don't need? This post shares  a simple Maya Python script that creates and pins a single follicle onto a nurbs surface.

There are basically four ways to do it - use get_profile() and an external class, use a Proxy model, subclass User and monkey-patching. This post looks at pros/cons of each.
This tutorial shows you how to build an application called LUD Media Converter. 
This is a post about pandasql, a library that is being open-sourced for Python which lets you use SQL on pandas dataframes.
Developing for Windows Azure is easy when using the available tools. This tutorial assumes you have no prior experience using Windows Azure. On completing this guide, you will have a Django application up and running in the cloud.


This book is thought as a highly practical guide which can help the readers to design measurement and control systems based upon Raspberry Pi. These systems can comprise external electronic circuits controlled by programs written in Python. 

Interesting Projects, Tools and Libraries

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.Crafted using base code from django-social-auth, implements a common interface to define new authentication providers from third parties. And to bring support for more frameworks and ORMs.
Modern theme for Django admin interface. is a single lightweight utility module expanding Python with new powerful idioms for accessors, callsets, weak methods, enums, singletons and observable primitives that can easily be integrated with existing projects. It is particularly useful for writing model/view oriented applications
Reusable, generic mixins for Django.
URLObject is a utility class for manipulating URLs. The latest incarnation of this library builds upon the ideas of its predecessor, but aims for a clearer API, focusing on proper method names over operator overrides. It's also being developed from the ground up in a test-driven manner, and has full Sphinx documentation.
importd is the fastest way to django. No project creation, no apps, no, just an import.
Logic programming is a general programming paradigm. This implementation however came about specifically to serve as an algorithmic core for Computer Algebra Systems in Python and for the automated generation and optimization of numeric software. Domain specific languages, code generation, and compilers have recently been a hot topic in the Scientific Python community. LogPy aims to be a low-level core for these projects.
Lunatic Python is a two-way bridge between Python and Lua, allowing these languages to intercommunicate. Being two-way means that it allows Lua inside Python, Python inside Lua, Lua inside Python inside Lua, Python inside Lua inside Python, and so on.
This project provides boilerplate for a full build of a native Windows application in Python, particularly for rapid prototyping of dialog-based applications. 
A minimal, Markdown based blogging system written in Python.
A Flask extension that adds HTTP based caching to Flask apps.
MongoDB Python logging handler, Centralized logging made simple using MongoDB. 
Minpower is designed to make solving Economic Dispatch, Optimal Power Flow and Unit Commitment problems simple and intuitive.
Send multiple texts of the same string through Gmail .
Office Scripts is a place to conglomerate all those scripts you have automating your work and/or desktop life.

New Releases

Some of the highlights of this release are
  • Support for a configurable User model 
  • Django 1.5 is the first Django release with support for Python 3
  • Django's documentation has also gotten some pretty significant work
You can see release notes for all the changes in this release.
Python Jobs of the Week

Python Developers  at Cisco
CISCO SRTG (Security and Routing Technology Group) seeks a bright, motivated Software Engineer to join a highly driven and talented team involved in development of security solutions for branch routers and cloud deployments. As enterprises migrate to cloud based services, security solutions have to be tailored to meet the security challenges of this environment. The next generation routing platforms that embedding security in the network, also demand security solutions that are intelligent and highly reactive. If security and cloud excites you, reach out to us.  

Upcoming Events and Webinars

This will be a weeknight event where Python developers of all types get together and hack on their projects. It's not a workshop or a class, just a chance to hang out with a lot of cool people and build cool things.
There will be following talks
  • PyData
  • Single-Page App Architecture
  • Plover: Thought to Text at 240 WPM - Why hackers should care about Open Source Stenography
  • Python-Go comparison and contrast
  • Pony Object-Relational Mapper
In preparation for their presentations at PyCon US, Jessica, Stephen, and James will rehearse with us!
  • Jessica McKellar: How the Internet Works
  • Stephen McJohn: Python's Law
  • James Tauber: ApplePy: An Apple ][ emulator in Python
There will be following talks
  •  Alison Rowland from Sunlight Foundation will present on building a ReconciliationServiceAPI for OpenRefine 
  •  Chris Burroughs will talk about Fabric
There will be a presentation on Mako, a popular template engine alternative which gives you access to the full power and readability of Python within your templates. Following this hour long presentation, we'll take turns showing off an app we're working on (max of 3 presentations, 5-10 minutes each), directing attention to code in the app you think might be of special interest to a roomful of Django developers.

Get Your Weekly Dose of Python