Welcome to issue 69 of Python Weekly. This is a bumper size issue. Enjoy it!
If your company has Python related job open, you can post it on Python Weekly Job Board for FREE. It will also get included in this newsletter.
|
The Ultimate Startup Success Guide
What Entrepreneurs Should Learn From Accelerators To Succeed With Their Businesses. Get a whopping 50% discount on this book + Free and discounted products and services worth over $1,150. |
News
PyCon 2013 released the schedule of talks and tutorials for the March conference in Santa Clara, California. The conference begins with two days of tutorials on March 13 and 14, followed by three days of talks from Friday March 15 through 17, ending with four days of sprints through March 21.
Articles, Tutorials and Talks
Letterpress is a compelling mix of strategy and vocabulary demonstration. Easier to learn and quicker to play than Scrabble. In this post, the author shows how he optimized and refactored the original Scrabble code to the point that it's actually useful for Letterpress.
LEDs, buzzers and switches are the most common items people attempt to interface to their Raspberry Pi's. Ultrasonic measurement module allows you to measure the distance to the nearest wall or solid object. The modules are easy to buy, cheap and relatively straight forward to interface to the GPIO header. Here is post describing the author's experiments with an Ultrasonic measurement module and Python.
This post provides an unscientific, ad hoc review of the author's experiences with some of the Python frameworks that exist for working with Hadoop.
What if you could search StackOverflow's huge Q&A database from the command line? The author built a Python class to do so. But to be able to run it inside a Vim buffer you will need the Vim plugin conque and some settings in .vimrc. With that setup you can search Stack Overflow interactively in a Vim split window and copy and paste useful code snippets back and forth. This post shows you how it works.
Implementing an OAuth 2.0 client is a significant undertaking in itself. Implementing a provider is even more complicated. To make our (and your) lives easier, we've open-sourced a Python OAuth 2.0 provider interface, called pyoauth2, which can be easily extended to function as a complete solution for adding OAuth provider functionality to your application. In this post, I will walk through how we set up pyoauth2 for SHIFT.com.
Construct is a binary packing combinators library for Python in which you can define rich data structures. Unlike most alternatives, these data structures can be used for both packing and unpacking of binary data; for instance, once you define what a TCP packet is, you can analyze packets or construct ones on your own, with no additional code.
Google App Engine for Python ships with the capability to manage user accounts without the need of any additional library. This functionality is, however, insufficiently documented. This post will be structured as a step-by-step tutorial addressing user registration, login, password reset and a few other details.
The Pylons Project rather rigorously follows a unit testing dogma along the lines described by Tres Seaver in Avoiding Temptation: Notes on using unittest effectively which this document is based on.
Three object-oriented implementations of a prototype solver of the advection equation are introduced. Presented programs are based on Blitz++ (C++), NumPy (Python), and Fortran's built-in array containers. The solvers include an implementation of the Multidimensional Positive-Definite Advective Transport Algorithm (MPDATA).
This post gives you an introduction to iampl, a project which implements AMPL magics for IPython.
This video tutorial shows you how to turn a paper based fortune telling game into a computer program using Python 3 and a Raspberry Pi.
Morse Code is an old method of transmitting text messages. This post shows how to implement it using Python.
Interesting Projects, Tools and Libraries
Booby is a standalone data modeling and validation library written in Python.
Hacker news in your terminal.
Grako (for grammar compiler) is a tool that takes grammars in a variation of EBNF as input, and outputs a memoizing PEG parser in Python.
django-hyperadmin is an API framework for building RESTful resources in Django. Resources tend to be anything you can manipulate with forms (including models) and configuration of an API resource is similar to an Admin Model. APIs support REST out of the box and clients may be installed seperately to provide additional functionality.
Command line tools for the Google Data APIs.
Mozilla's Playdoh is a web application template based on Django.
Written by Everyone Altogether, The Big Adventure Game
Books
Get the lowdown on unittest and doctest, as well as some doctest gotchas.
New Releases
As part of the Django 1.5 release process, the django team had released Django 1.5 release candidate 1, a preview/testing package for Django 1.5.
Upcoming Events and Webinars
There will be following talks
-
Reliable and efficient Facebook data processing
-
Deployments Exposed
This talk will be an introduction to testing in Django and cover a few of the tools available to developers.
The talk will use examples to go over Django's built in logging features, which can be tricky to use to their fullest potential. For remaining time, come with your laptop to work on your project, give and get help over the shoulders of others for anything related to Django, including Python, CSS, HTML, JavaScript, Django apps, etc.
|