by Audrey Roy
by Mark Rees
This a high level overview of the State of CPython interpreter and other python interpreters. The talk will mention about the changes in 3.2 release and changes coming up in 3.3 release and status of Python2.7. It will also give the details of current state of PyPy Project, IronPython project and Jython Project.
by Nick Coghlan
The CPython reference interpreter lies at the heart of a much wider Python ecosystem. The decisions that shape the future development of CPython ripple out and have a broad impact on the entire Python community.
This talk covers the special place CPython occupies in the broader Python community, how the decisions that affect CPython's development are made, and how new developers can become involved in that process.
by Christopher Davis
Pants (http://pantsweb.org/) is an open source library that aims to make network programming in Python a breeze. This talk will outline challenges in network programming and how Pants approaches them. The audience will be briefly introduced to Pants' API through example code, and to its capabilities through benchmarks and comparisons with alternate frameworks.
This talk will explore the core networking libraries available in Python.
1. Python Standard Library. http and urllib package (Python3 and Python2).
2. Capabilities of other 3rd party networking libraries - pycurl and httplib2. When to use them and why they exist.
3. Asychronous Network IO using Twisted Matrix Framework.
4. Tornado framework capablities - Generic overview.
Zookeepr (http://zookeepr.org/) is a comprehensive web-based conference management system, written in Python and built on Pylons. It has an unusual development history: custom created for the annual Linux.conf.au conference, there are yearly spikes in event-focused feature development, but relatively little of the ongoing development typically seen in open source projects.
This presentation is an introduction to the project, aimed at developers interested in contributing to a non-trivial open source project where meeting your fellow developers is quite possible, even likely, and your work is almost guaranteed to be seen and used each year by hundreds of Australia's most diehard geeks.
by Dylan Jay
Introduction to the Pyramid, the new web framework taking the python world by storm. This tutorial will cover the basics of a hello world app and cover some of the advanced features of pyramid that give it it's power such as traversal. Pyramid is part of the pylons project and is a successor to pylons and a continuation of the BFG framework. It's very simple to learn, runs fast yet has powerful concepts which help keep large web app creation a sane process.
by Duncan Gray
This presentation will outline key lessons learnt in developing scientific software in Python. Methods of maintaining and assuring code quality will be discussed, in particular:
- designing effective unit tests;
- visualising output data to discover defects; and
- designing characterisation tests to test the actual system behaviour and to identify unintended system changes.
The challenges in optimising and parallelising Python code will also be presented, including:
- using NumPy to optimise numerical computations;
- using C code for intensive computational tasks; and
- parallelising software to run on high performance environments such as clusters.
Infinite 8-bit Platformer is a Free Software multiplayer user-created-content platform video game written in Pygame. It's a bit like a cross between a wiki and a game, because the players can also create and edit the levels. In this talk we will look at the development of the game over the last three years, including what has changed since PyCon 2010. We'll examine the sound, graphics, and networking architecture which is built upon pygame and asyncore (PodSixNet). We will also discuss the community that has arisen around this project and go over building the game from source and how to contribute.
Writing software in an organisation or for ourselves, many people feel that they "should" somehow be doing Test Driven Development (TDD) because "everybody else" is and it's cool, somewhere between necessary and useful and they heard testing was good. When informed that must of TDD isn't about testing (despite the name!), confusion reigns.
Behaviour Driven Development is a different way of approaching the "how to validate your code" problem. It's an idea that isn't particularly new any more, but it doesn't seem to have the traction of TDD for some reason, particularly in Python, despite possibly being a bit more self-explanatory and easier to bootstrap when sitting down to write code. So let's talk about what it is and various ways to try out BDD in Python — from the periodically maligned doctests to simple unittest module usages to more specialised modules.
by Dr. Nathan Faggian
Python is a great language for prototyping computer vision algorithms, the availability of libraries such as Numpy and Scipy make for rapid development similar to that of Matlab, R and IDL. At the Bureau of Meteorology (BoM) we are solving the interesting problem of weather field warping. Warping (aka non-linear image registration) is used, for example, to determine what the predicted temperature will be hourly if we only have predictions every three hours. Practically, warps (weather advection fields) are estimated using salient image features or data-driven numerical optimizations and this presentation will demonstrate progress we are making on both fronts.
Web applications which are able to dynamically deliver up content have become a crucial part of the Internet landscape, with Python becoming an increasingly popular choice for the implementation of all manner of web applications. In order though for users to be able to access your web application you need to host it. The choices available are however many and varied with accurate information on which may be a good choice not always easy to find.
This talk will give an overview of the different choices available for hosting Python web applications. It will cover mainstream web servers such as Apache and nginx, highlight the architectural differences between them and look at how Python web applications are bolted on to these web servers via language agnostic protocols such as FASTCGI/SCGI/AJP or more integrated solutions such as Apache/mod_wsgi and uWSGI. The alternate architecture of using a standalone Python web server such as gunicorn, Paste server or the CherryPy WSGI server behind a conventional web server acting as HTTP proxy will also be covered.
The overall aim of the talk will be to give people a better appreciation for how web servers and your Python web application come together and some of the pros and cons of different solutions.
by Ryan Kelly
This talk will explore the use of python's meta-programming facilities to create a simple declarative API so that you can *say what you mean* - write code that focuses on the what and the why without being cluttered by the how. If you've ever wondered how the Django ORM or SQLObject work their magic, this is the talk for you.
As motivating example and case study, I will build from scratch a basic clone of the "dexml" module, which lets you work with XML documents in a declarative, object-oriented manner. Through judicious use of decorators, descriptors and metaclasses, it packs a lot of logic and functionality into a very thin API.
by Georgina Wilcox and Katie M Bell
We present two outreach programmes run by Sydney University for high school students: the National Computer Science School (http://www.ncss.edu.au) and the Girls’ Programming Network (http://sydney.edu.au/it/gpn). For the past four years we have been teaching Python to students in grades 9-12, and based on this experience we will discuss why Python is a good first language and the parts of it which are still difficult for students to grasp. We will also cover the structure of the programmes and tools used, in particular the online marking system for Python programming tasks.
by Greg Darke
Using generators as coroutines in App Engine to get more done.
by Tim Dawborn
The NCSS Challenge (http://challenge.ncss.edu.au/) is an online programming competition for Australian high school students. There are four different courses being run during 2011: Introductory Python, Intermediate Python, Advanced Python, and Embedded Systems (using the Arduino). In 2010 we had over 1700 students participate in the Challenge.
There are a number of interesting technical challenges which had to be overcome in order to facilitate such a system. Executing arbitrary code on your servers which is supplied somebody on the internet is a scary situation for any system administrator. We have developed an elegant solution for this problem whereby we can securely execute arbitrary code not restricted to any particular subset of languages.
This presentation will be going through three aspects of the Challenge infrastructure. First, how the Challenge works from a competition point of view, and how we teach programming via automated testing. Second, we will cover the sandbox we developed to facilitate this arbitrary code execution. Last, we will cover the application stack powering the Challenge site itself.
by Dylan Jay
zc.buildout is a powerful build/configure/deployment tool for creating applications from multiple parts, some not python. It's perfect for sharing a development environment or deploy applications to many hosts.
This tutorial will cover basic concepts, similarity to other tools such as virtual-env, puppet etc as well as practical examples.
zc.buildout has successful been used with web applications such as Plone, django and pyramid.
In this talk I'll be running through the current choices of web micro frameworks and comparing them by implementing a simple application.
by Dr. Graeme Cross
Whirrr, buzz, squelch, click, smash, bing!
Python is so much more than a language for Web 2.0 and system administration: Python can also be used for interfacing into the real world.
Learn how to connect Python up to stepper motors, micro-fluidic pumps, A/D sensors, switches, solenoids, vacuum/pressure valves and XYZ robots, with simple off-the-shelf control hardware.
We'll also cover various control interfaces (such as pyserial), concurrent control (eg threading), coupling to C/C++ and some tips and traps when using Python for embedded and real-time control.
This will be a panel discussion wherein we wax philosophical about the state of web frameworks in Python - talking about invention, reinvention, multitudes of choice, how all of them suck, etc. Panelists will include Dylan Jay, Malcolm Tredinnick, Russell Keith-Magee and Richard Jones.
Tennessee has been working on a module for integrating cpu time management with unit testing using an easy-to-use decorator. With all the options turned on, this will produce a a performance history, tracked by revision, integrated with the software used to produce the benchmarking graphs as used on http://speed.pypy.org/. You too can have this kind of shinyness for (almost) free!
by Ryan Kelly
What's python really doing when it runs your scripts, and what's with all these .pyc files? Get inside the head of python.exe, learn how it sees your code, and then twist it to your own evil ends.
This talk will discuss the basics of python's bytecode format, why and how it is used, and how you can dive into the bytecode of your running program - either to better understand its behavior, or to make it do things it was never supposed to do...
20th–21st August 2011