Get Your Weekly Dose of Python
Welcome to issue 49 of Python Weekly. I would like to thanks our sponsor this week, New Relic. Make sure to take advantage of their free plan.  

I am excited to announce a new newsletter, This Week In Domains. The domain world is very intriguing and if you would like to learn more about domains, how to develop and monetize  them, how to make profit by buying and selling domains etc, go ahead and subscribe to it.

From Our Sponsor

Try New Relic at no charge Deploy New Relic and get your Data Nerd t-shirt. Monitor your Ruby, PHP, Python, Java and .NET web apps in less than 2 minutes.
(Sponsor this newsletter)


An awesome lineup of keynote speakers has been announced for PyCon US 2013.
AWS Elastic Beanstalk now supports Python applications! You simply upload your application, and Elastic Beanstalk automatically handles all of the details associated with deployment including provisioning of Amazon EC2 instances, load balancing, auto scaling, and application health monitoring.
Articles, Tutorials and Talks

This video shows you how to build a complete command-line application in Python that uses the Google Drive API to upload a file into the user's Drive account.
This post isn't about how to do Unicode right. It's about a tool we came up with for damage control after some other program does Unicode wrong. It detects some of the most common encoding mistakes and does what it can to undo them.
There are several goals for this article: Learn a little bit about Flask, learn about how to connect to MongoDB from Python and create a REST Style web service to use in our SoLoMo application.
This post details the limitations the author ran into, and where possible -- ways to overcome them.
Monitoring tools record the result of what happened to your web application when a problem arises, but for some classes of problems, monitoring systems are only a starting point. Sometimes it is necessary to take more intrusive steps to plan for the unexpected by embedding mechanisms that will allow you to interact with a live deployed web application and extract even more detailed information.
This tutorial shows you how to automate static malware analysis using Pythonect. The examples will be simple enough that you can extend them if you want to.
In this video (part 1 of 2!), we're going to be building a UI that has a lot of fields for user information. Then we'll be covering how to save out that information to a file, and read it back in to reset the fields, similar to how presets work in some of Maya's tools!
In this video(part 2 of 2), we wrap up our work on saving out a preset and loading it back in to populate our UI parameters.
Sometimes, when executing algorithms with complex function call sequences, and especially ones that require recursion, it's useful to see what calls actually occurred during execution, their arguments and return values, and so on. Here is a simple Python decorator that helps to do it without much effort for new code.
Here is a quick guide to firing up new servers using boto, a python interface to Amazon Web Services.
Interesting Projects, Tools and Libraries

Provides a site with the ability for users to publish referral links to specific pages or objects and then record any responses to those links for subsequent use by the site. You can also read a post on about to use anafero.
Pyjnius is a Python library to access Java classes from Python, on the desktop or on Android. 
pytrace records function calls, arguments and return values. Traces aid debugging, profiling and obviate logging.
An admin interface framework for Flask with scaffolding for Mongoengine, Django and SQLAlchemy.
This package provides a simple Python extension module sass which is binding Libsass (written in C/C++ by Hampton Catlin and Aaron Leung). It's very straightforward and there isn't any headache related Python distribution/deployment. That means you can add just libsass into your's install_requires list or requirements.txt file.
Schema is a library for validating Python data structures, such as those obtained from config-files, forms, external services or command-line parsing, converted from JSON/YAML (or something else) to Python data-types.
Bookie is a Python based open source bookmark managing web application that includes content archiving, a Chrome extension, and much more.
Tox aims to automate state-of-the-art packaging, testing and releasing of Python software right from your console or CI server, invoking your tools of choice. 
A thin, practical wrapper around terminal capabilities in Python.

Upcoming Events and Webinars

Would like to go to DjangoCon US this year, but can't make it? Have no fear, we'll bring DjangoCon to YOU! Come meet PyLadiesSF in Palo Alto for an evening of Django/web dev talks. We'll have a couple of 30-40 minute talks, as well as 5-minute lightning talks.
Erik Rose and David Gouldin will be giving their DjangoCon talks, respectively titled Django's Nasal Passage and Using Celery with Social Networks.


This book presents an introduction to GUI programming in Python. Topics include the basics of window layout, widget configuration, and responding to user events. The book uses a toolkit, breezypythongui, to explore GUI concepts and resources within a simple coding framework.

Get Your Weekly Dose of Python