Kiwi PyCon 2013
Kiwi PyCon is an annual conference aimed at promoting and educating people about the Python programming language.
- Sept. 6, 2013
- Number of videos:
Exploring discussions of 'science' on Twitter by analysing 13.5 million tweets from 2011. I'll demonstrate how I've been using IPython notebook with the Pandas data analysis library to work with large data tables and time series data. You will see the strength of IPython Notebook for research in allowing you to keep notes interleaved with python code.
Metaprogramming is a valuable technique for putting complexity where it belongs: behind a clean, friendly API. This talk goes over the basics of metaclasses and introspection in Python, and covers how and when you should use them to make your code more approachable.
Decorators are a simple concept, yet extremely powerful. Implementing decorators which will work in a range of contexts is however non trivial. This talk will walk through various problems which arise with the more common ways of implementing decorators and then describe how to combine a wrapper and a descriptor to build a better decorator.
It's 4AM, the coffee on your desk is cold, the office is dark, and everyone else has gone home for the day. For the 5th time today you are coming to a dead-end while deploying your web application, and the only thing on your mind is 'Where did it all go wrong?''
NuPIC is an open source platform for building prediction models from data streams, such as sensor data. Two models will be discussed, an earthquake damage predictor built from from GeoNet data and a flood level warning system.
A practical introduction to unit testing decoupled, service-oriented, Python applications using with Mock library. A three-tiered (server, client, and view) Flask web application is used as a motivating example across the talk. Mock helps to isolate functionality specific to a layer to facilitate fast, compact, unit testing while avoiding writing specific mock classes or using fixtures.
Why the Pyramid web framework and Google App Engine was a perfect fit for a $0 SaaS app for a not-for-profit. Some features of Pyramid will be covered as well as how we run it on Google App Engine, all in the context of the SaaS app that we developed.
Some people say micro-frameworks like pyramid are too small. Some people say CMS's like Plone are too big. Some people say django is juuuust right. They are all wrong. Come to this talk to find out the other hammers in the world, when you might use them, where I've used them to solve some hard problems and some of the clever ideas behind these technologies demystified.
The Cylc Suite Engine schedules complex distributed suites of cycling tasks. Developed for weather forecasting applications at NIWA, cylc has since been adopted by the UK Met Office and others, and was a finalist in the 2012 NZ Open Source Awards. Lead developer Hilary Oliver will talk about cylc and the many advantages that the Python programming language brought to the project.
Cython is a dialect of Python that compiles to native C. In this talk I'll give a general overview of Cython, how it works, and uses it can be put to, both useful and, perhaps, somewhat whimsical.
Lessons learned while setting up a computational advertising platform on AWS with emphasis on experimental data analysis and scaling.
Memory leak has been perennial problem for Python applications. This causes application to behave erroneously with Memory error and very slow operation. What is wrong with the application? How to find out the cause and fix it? This is the motivation for this talk.
As programmers we should encourage new people to take up our craft. Coding skills can benefit a lot of people who aren't inclined to call themselves programmers. In this talk I'll explain why I think this is important, introduce the free volunteer organisation Open Tech School, and describe some of the things we've found that work and why we've embraced Python for our beginner workshops.
What happens when you take a Digital Preservation Analyst, an introduction to Python, and 18 months of learning? The answer is... a glut of tool building, problem solving and all round reliance on Python as a primary resource.
Local councils produce a number of maps for each Land Information Memoranda (LIM), which can be a time-consuming process. A lightweight python application was built to interact with an ArcGIS map to automate this mapping process, giving consistent high quality outputs. The application was built to be used by non-technical staff with no python or mapping experience.
A "Polyomino" is a geometric figure of adjacent squares. But just how many "n" polyominos are there? Solving this question is one of our favourite interview questions and the techniques that can employed to solve it are instructive for a range of problems. In this talk, we discuss the potential solutions and offer prizes for the best solutions submitted by the end of the conference.
Python + SQL/CSV + matplotlib + HTML make it possible to create flexible and sophisticated analyses. If you want to express something about your data, there is probably a way of doing it using these tools. This talk will be about some lessons learned.
Development of real time communication channels like instant chat or media calls has been difficult. Integrating it in a scalable and responsive way for websites has been a bigger concern. This talk describes how instant chat or media calls can be developed in a rapid way with Python modules and demonstrates the concept with a working prototype.
OpenStack's infra team coordinates running ~500 test runs a day, across over 20 projects, most of which involve bringing up a test cloud... find out how to reuse this infrastructure yourself, in your own cloud or public clouds.
This talk shows how the Mozilla Services team test failure scenarios in their web services with two python-based tools: Marteau, a web-based UI for easily running load tests, and Vaurien, a misbehaving TCP proxy that can simulate various backend failures. Used together, these tools help ensure a service will not only scale up to meet demand, but will fail gracefully if it reaches breaking point.
Autopilot is a tool designed for writing high-level functional tests for GUI applications. It is written by a team of engineers at Canonical, and is being used to test everything from the Unity desktop shell to desktop applications, to core phone applications for the Ubuntu Touch project.