|Welcome to issue 44 of Python Weekly. I would like to thanks our sponsor this week, Tracelytics. If you or your company is interested in sponsoring Python Weekly, please get in touch with me.
Having issues with performance or latency in your Python-based application? Try Tracelytics, the distributed & SOA-Friendly web application performance management software. Free 14 day trial available.
Articles, Tutorials and Talks
While PEP8 is great while you're working alone, it's even more important when you're working on code with other people. Wouldn't it be nice if you could make sure that every piece of python code you push into your repository that other people might see is pep8 compliant? This post shows you how to do it.
An interesting prototype was done to do a PHP implementation in RPython, using the PyPy translation toolchain.
This tutorial is intended to be a gentle introduction to argparse, the recommended command-line parsing module in the Python standard library.
psutil grabs all the running processes and gives you information on them and also gives you the ability to terminate them. This post shows you how you can put a GUI on top of it and create your own Task Manager / Process Monitor application with wxPython.
The goal of this article is to explore and show how it's possible to implement Server-Sent Events and WebSocket with Django.
A good discussion on reddit about some of the little known features in python.
premailer is a Python library that converts a document of HTML and tranforms its <style> tags into inline style attributes on the HTML itself. This comes very handy when you need to take a nicely formatted HTML newletter template and prepare it before sending because when you send HTML emails you can't reference an external .css file. So, here's how to turn it into a command line script.
In this video, we'll be going over an intro to Object Oriented Programming in Python, relating specifically to user interfaces.
Interesting Projects, Tools and Libraries
This package contains a collection of robots written in Python.
python-graph is a library for working with graphs in Python. It provides a suitable data structure for representing graphs and a whole set of important algorithms.
ForgeryPy is an easy to use forged data generator.
Pythonect is a new, experimental, general-purpose dataflow programming language based on Python. It aims to combine the intuitive feel of shell scripting (and all of its perks like implicit parallelism) with the flexibility and agility of Python.
Logr is a simple, easy to use blog that operates on Markdown files To post a new article, simply type it into any text editor and save it to the /articles directory and you're done. It will appear as soon as you reload the page.
Django-Bootstrap-Admin is a collection of files in attempt to pretty up the Django admin with @Twitter's Bootstrap components.
Super-fast, efficiently stored Trie for Python.
memcache_client is a minimal, pure python client for memcached, kestrel, etc. It is an alternative to the de-facto pure python standard client 'python-memcached', but is not intended to be a drop-in replacement. The main features are better timeout handling and enforcement of bytestring keys and values.
Okydoky is an automated documentation builder using Sphinx, GitHub and Distribute (which was setuptools). It makes your closed Python project to continuously build documentations.
Upcoming Events and Webinars
This course is designed to be a fun introduction to the basics of programming in Python. The main focus will be on building simple interactive games such as Pong, Blackjack and Asteroids.
Curious about Free & Open Source Software (FOSS)? Wondering how you can contribute to FOSS, specifically the Django project? Join Alex Gaynor, Karen Rusten, and Jeremy Dunck as they discuss their experiences in contributing to open source, contributing to the Django project, and how we can contribute to Django by sprinting on the tutorial!
Have you ever wanted to distribute your Python script to a user that didn't have Python installed? It's not easy for non-Pythonists. Maybe you should consider making it into an installable "MSI" file. This talk will show how to build a stand-alone installable Windows MSI installer using a collection of open source tools such as PyQT, py2exe and Inno Setup. It will walk you through the installation, configuration and compilation steps needed to build a demonstration application.
Josiah Carlson, the author of the upcoming Redis in Action, will be giving a short presentation on the power of Python + Redis.
Join us for our third night of Julython sprinting on July 23.