Welcome to issue 25 of Python Weekly. If you are attending PyCon, then you should download PyCon Mobile Guidebook
and improve your experience by taking the schedule, maps, Twitter and more with you on your phone or mobile device.
Google has announced Python 2.7 runtime has graduated from Experimental status and is a fully supported feature of App Engine and also added the support for PIL, NumPy, and lxml libraries.
Disqus has built a mini site based on the Disqus API for PyCon 2012 to allow you to have real time conversations about PyCon 2012 and sessions, tutorials, etc. Be sure to check it out.
Articles, Tutorials and Talks
In this tutorial, we'll construct a custom web framework and Twitter clone called Flipper. Flipper will be a minimal Twitter implementation, but also feature some interesting cross site communication features.
When you're writing code to search a database, you can't rely on all those data entries being spelled correctly. Doug Hellmann, developer at DreamHost and author of The Python Standard Library by Example, reviews available options for searching databases by the sound of the target's name, rather than relying on the entry's accuracy.
This document is aimed at Python 2 programmers wishing to start developing using Python 3. The document lists those objects and idioms that have changed between the versions, showing how to change from Python 2-style to Python 3.1-style. It also lists some of the most useful new features in Python 3.1.
In our previous article
, we've gained insight on the origins of attacks and targeted accounts with a classic pie chart. This time, we would like to have a visual way to represent and understand a typical day of brute force attempts. We could picture that as a world map where a country lights up when an attacker from this country tries to gain access to the honeypot.
This article explains the new features in Python 3.3, compared to 3.2.
Build a fully functional blog (with archies, RSS and tags) in an easy to follow screencast using Django 1.3. It also covers class based generic views and using django Taggit.
This episode includes an interview with Nick Coghlan.
A recipe that shows you how to create thumbnails with web2py.
Interesting Projects, Tools and Libraries
Disco is a distributed computing framework based on the MapReduce paradigm. Disco distributes and replicates your data, and schedules your jobs efficiently. Disco also includes the tools you need to index billions of data points and query them in real-time.
This package creates an environment for graphics applications that closely resembles that of the Processing system. It's goal is to implement Processing's friendly graphics functions and interaction model in Python. The pyprocessing backend is built upon OpenGL and Pyglet, which provide the actual graphics rendering. Since these are multiplatform, so is pyprocessing.
Mezzanine is a content management system built using the Django framework. It resembles tools like Wordpress, with an intuitive interface for managing pages, blog posts, form data, store products, or any other type of content you can imagine.
Django Oscar is an e-commerce framework for Django 1.3 designed for building domain-driven e-commerce sites. It is structured such that any part of the core functionality can be customised to suit the needs of your project. This allows it to handle a wide range of e-commerce sites, from large-scale B2C sites to complex B2B sites rich in domain-specific business logic.
It is a REST micro-framework for Python Twisted with multi-core support.
Django Moat is a mini-app adds an additional layer of authentication via HTTP Basic Auth. It's primary use case is to prevent access staging, development, or otherwise private sites on the public internet.
OpenBlock is a hyper-local news & data platform. You can run a local news website for your community, or use it to create news widgets and feeds for integration with your existing website.
Shovel is like Rake for python. Turn python funcitons into tasks simply, and access and invoke them from the command line. It also has support for invoking the same tasks in the browser you'd normally run from the command line, without any modification to your shovel scripts.
Pandas has released 0.7.1 version. This release includes a few new features and addresses over a dozen bugs in 0.7.0. A list of all the changes can be found here
As part of the Django 1.4 development process, a release candidate package is available. It is not recommended for production use, but rather for users who want to try out new features and help identify and report bugs.
Upcoming Events and Webinars
This meetup after PyCon will be comprised of summaries of talks and "Best-Of" reviews at PyCon 2012.
There will be main presentation or a series of lightning talks, followed by discussion and Q&A.
Python for Bioinformatics helps scientists solve their biological problems by helping them understand the basics of programming. By incorporating examples in biology as well as code fragments throughout, the author places a special emphasis on practice, encouraging readers to experiment with the code. He shows how to use Python and the Biopython package for building web applications, genomic annotation, data manipulation, and countless other applications.
This book will quickly get you up to speed with building attractive and modern graphical user interfaces with Python and Tkinter, it's standard GUI toolkit.