|Welcome to issue 41 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks
The cppyy module makes it possible to call into C++ from PyPy through the Reflex package. Cppyy handles bindings differently than what is typically found in other tools with a similar objective, so this update walks through some of these differences, and explains why choices were made as they are.
This year at PyCon, there was a great talk on "Polyglot Programming with Python: Python/Scala Interop" which demonstrated how to use projects that bridge programming languages and walked through the lower-level code that allows inter-language communication to happen. Andrea Wright, who presented this talk, has released the fully annotated version of the slides as well as the source code for the examples which should of interest to you all.
Premature (and Micro) optimisation is the root of all evil.
Ubuntu folks are running a series of video workshops on writing Ubuntu apps in Python.
Static file handling is important to get right, and straight forward once you know how, but easy to get wrong. This post shows you how to properly handle static files with Django.
This post shows you how to configure Sublime Text 2 for Python development.
In this video, we take a look at generating a UI from icons on our hard drive to come up with the makings of a handy sidebar tool!
Interesting Projects, Tools and Libraries
Imagy is a file daemon, that watches your website's media root (where your images are stored) and automatically optimizes image files that are created or modified within. Imagy uses lossless compression, so your users never have to load unnecessary bytes. Your images look the same, but load faster.
PyAlgoTrade is Python library for backtesting stock trading strategies.
The Portable, Extensible Toolkit for Scientific Computation (PETSc), is a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. It supports MPI, shared memory pthreads, and NVIDIA GPUs, as well as hybrid MPI-shared memory pthreads or MPI-GPU parallelism.
Chute is a Python micro-framework for Discrete Event Simulation. It aims to make simulation easy and get out of your way. Think of it like this: Chute is to SimPy what Flask is to Django.
It is an identity management extension for Flask applications.
Nimue is a simple Python script for jailbreaking Sony Bravia TVs.
It is a cross-platform colored terminal text library.
UltraJSON is a fast and extendable JSON encoder and decoder written in pure C with Python bindings.
The first beta release for Python 3.3.0 has been released for testing.
Upcoming Events and Webinars
This summer, during the month of July, we're encouraging developers of all skill levels to try and work on your pet project(s) just a little each day. It's a great excuse to contribute to the communities you follow, or even dive into the language for the first time!
You care about your data, and your user's data. You want to do your due diligence. James Socol, author of security libraries like Bleach and django-ratelimit, will share the best security practices and tools Mozilla has developed for Django, for web apps in general, and even ways to work with the client to improve security.
Jim Fulton of Zope Corporation will talk about 2 related topics: 1) A resume-based WSGI load balancer and 2) Fun with ZooKeeper.
This hands-on introduction is the ideal place to start to get understanding of computer vision's underlying theory and algorithms. You'll learn techniques for object recognition, 3D reconstruction, stereo imaging, augmented reality, and other computer vision applications as you follow clear examples written in Python.