|Welcome to issue 42 of Python Weekly. If you’re in the US, I hope you had a nice Independence Day holiday.
This week's issue is packed with lot of great content. Enjoy it!
Articles, Tutorials and Talks
With the recent release of Python 3.3 beta 1, some questions are once again being asked as to the sanity of the core Python developers. This post tries to answer some of those questions.
This post talks about Metaclass in python. If you are reading some code which uses metaclass, you will probably come across __new__. If you are not familiar with what __new__ does, you should first read about __new__. Throughout the post we will be talking about new style classes. Things might differ in old-style classes.
This post shows you how to build a Raspberry Pi Juke Box.
Clyther is an open source project, along the lines of Cython, that allows users to program a GPU with Python via a JIT OpenCL engine. This is a screencast of the Clyther talk at Pygotham.
Circus is now able to bind and manage sockets, and in cunjunction with Chaussette you can run a full web stack behind your favorite Web Server (Nginx, Apache etc.) This post shares results of few of the benchmarks. There is also a second part
where the benched app has been modified so it would do I/O-bound tasks without hitting the disk, by exchanging data with a thread through a pipe.
Getting decorators requires understanding several functional programming concepts as well as feeling comfortable with some unique features of Python’s function definition and function calling syntax. In this post, Simeon Franklin walks you through each piece of the puzzle one step at a time to help you understand decorators.
A presentation that shares what has been learned working on a full featured, Python powered, RESTful Web API. It looks at ‘pure’ REST API design & its many hurdles and what Python as to offer in this field and finally, digs further down by looking at some of the code that was developed.
Redefining the number 2 in Python
Interesting Projects, Tools and Libraries
Jarvis is a Python coding companion. Point it to a python function, and it will execute it. As soon as you change your code in your favorite text editor, Jarvis will detect it, and will rerun the function, using some nice Python tricks to reload code without rerunning the full interpreter.
Pymothoa extends the Python language by adding JIT compilation without any modification of the interpreter source code. Pymothoa lives at the application level. It uses the AST generated by Python. Therefore, users write in the original Python syntax but with a new contextual meaning in some cases using the new dialect provided by Pymothoa
StoreScrapper provides a convenient API to obtain product information from a variety of stores.
Camelot provides components for building business applications on top of Python, SQLAlchemy and Qt. It is inspired by the Django admin interface. You can use Camelot to develop both simple and complex business applications at warp speed.
It allows rendering Django sites as static HTML.
A gist showing how to listen to all keypresses in OS X through the Cocoa API using Python and PyObjC.
It is a simple cache backends, inspired by werkzeug.contrib.cache.
Firstclass is a proxy email backend for Django that allows for global email transformations such as automatically creating a plain text version of html emails or automatically creating an online version of the email that can be read in browser.
Flask 0.9 codenamed Camapri has been released
This is a major release from 0.7.3 and includes extensive work on the time series handling and processing infrastructure as well as a great deal of new functionality throughout the library. It includes over 700 commits from more than 20 distinct authors.
IPython 0.13 contains several major new features, as well as a large amount of bug and regression fixes.
Upcoming Events and Webinars
Do you want to learn more about programming using Twisted? There will be an introduction to Twisted by Glyph, followed by a short workshop tutorial. Feel free to ask the Twisted developers questions about using Twisted in your project!
Hack on Twisted, or hack on your own project alongside a bunch of Twisted developers.
Are you looking to automate your Python app deployments? Join us for a panel discussion that includes Adam Feur, Alec Koumjian, James Cooper, Jonathan Kay, Leo Shklovskii exploring tools like Fabric, Salt, Ansible, Chef and Puppet, as well as other options that can be used to deploy your Python apps with.
Tired of waiting weeks to get a server or spinning up and configuring your virtual servers. Come learn about how PaaS can make you into a happier and more productive coder. We will start by teaching you the meaning behind some acronyms you see thrown around - IaaS, PaaS, and SaaS. Next we turn to PaaS and talk about why it is a developers dream come true. From there we will use Red Hat's Open Source PaaS, OpenShift, to demonstrate how easy it is to get started with a Python web application.
July brings Julython, a friendly competition to increase activity in Python projects. Check it out and get your projects going! Bring your own project or work on one of the suggested projects.
Julython is a friendly city-against-city Python competition. It's a great excuse to get Pythonistas contributing to open source projects, and it's the perfect event to organize a series of project nights around.