Welcome to issue 32 of Python Weekly. Let's get straight to the links this week.
Like in-depth programming articles? Join over 3,000 other coders and sign up for Coder Weekly, a weekly email of quality, curated links. And it's completely free!
Articles, Tutorials and Talks
In this video tutorial, Jacob VanderPlas gives you an overview of machine learning in Python using scikit-learn. He also talks about general machine learning concepts, as well as walk you through a few exercises that demonstrate how you can use machine learning technology.
Deploying web applications is hard. No shiny continuous deployment talk and no DevOps coolness can change that. Or to put it into DevOp Borat's words: "Is all fun and game until you are need of put it in production."
This series of posts is going to be covering the basics of 3D programming in Python. The first part walks you through the basics of drawing OpenGL primitives.
This post takes a look at how to debug your Python code using GDB. It is a handy thing to understand, especially if you're confronted with an unexpected SEGV or other less than helpful error.
Liam Fraser, creator of the popular Raspberry Pi Tutorials YouTube series and System Administrator for the Raspberry Pi Foundation, shows us how to set up the Raspberry Pi and write our first Python 'Hello World' application.
Python is the main scripting language used at Google. This style guide is a list of dos and don'ts for Python programs.
A series of tutorials about GUI development with Python and QT.
Django version 1.3 released new generic class-based views. This post shows some simple use cases and dive into the code so you can learn how these work.
At its heart a URL shortening service is simply a database that maps a short string to a URL, not exactly rocket science to create. This article gives you a basic walk through guide to creating one yourself.
This article shows you how to scrape information from a website, in particular, from all pages with a common URL pattern. You will see how to implement a simple spider using Scrapy, which will crawl the blog and store the extracted data into a MongoDB database.
Good discussion on how integration between Python and Julia will help scientific Python community.
This guide outlines how to fully utilize Heroku's support for specifying dependencies for your Python application via pip
A post about how to use line-by-line memory monitoring to diagnose poor memory management (hidden temporaries, unused allocation, etc.).
Interesting Projects, Tools and Libraries
Ecks provides a simple way to get data out of a remote machine using SNMP without having to deal with a single MIB or OID. Ecks is made up of a core class that will collect data via SNMP, and a set of plugins that contain the OID and the code needed to transform the results from nested OID's to usable data.
Womack is a service that you can use to push realtime events between your regular, plain-old, non-websockety web application and clients. It is built on top of gevent-socketio and redis.
PythonTurtle is a learning environment for Python suited for beginners and children, inspired by Logo.
PYGA is an implementation of Google Analytics in Python so that it can be used at server side. Couple of use cases for this library are
You want to track data from server side
You're developing a mobile site and have to support devices w/o JS support
PyCounters is a light weight library to monitor performance and events in production systems.
Micawber is a library for extracting rich content from urls. It provides methods for retrieving rich metadata about a variety of links and also provides functions for parsing blocks of text and html and replacing links to videos with rich embedded content.
It is an admin interface for MongoDB built using Django and Bootstrap.
Autovivification is the automatic creation of a variable reference when an undefined value is dereferenced. This gist shows how autovivification can be done in Python.
Upcoming Events and Webinars
Open Django is a new series of open source conferences designed to bring the best and brightest minds in the Django community to a city near you. Hear Alex Gaynor as principal speaker at Open Django East. He will be supported by an array of speakers from the Django community along with lightning talks, an optional Friday night dinner with the speakers and other attractions. Python Weekly subscribers can get 10% discount by clicking on the URL above.
William Bert will talk about gensim, a framework for extraction of semantic topics from documents as efficiently and painlessly as possible.