Program 2016

Program 2016

It's been a difficult task to create a program, considering we received 40 proposals and time only allows for a maximum of 9 slots. Many promising proposals had to be left out to our regret, but we are certain that we managed to put together an amazing and very diverse program!

Time Content
08:30 – 09:00 Registration + Coffee (open until 09:15)
09:00 – 09:15 Welcome
09:20 – 09:50 Tom Ron
Python's Guide to the Galaxy

Python tricks and optimizations for beginners. Presenting few tricks which Python beginners usually don't know and can save a while both on development and on production.

09:50 – 10:30 Dave Halter
API Design is Hard

Have you ever been really annoyed about some APIs of open source libraries? There's are good reasons to be. Most libraries are devoted to backwards compatibility and are not able to change content anymore.
Coming from writing a Python library called "Jedi", I can feel with you. I have hated my own APIs more than enough. I have learned the hard way and want to tell you a few things I would have loved to hear years earlier!
Designing Python APIs
Quite a few common pitfalls exist in API design in Python. To name a few: Overuse of properties, classes that should be functions, javaisms and a lot of other issues. Learn to see the difference between good & bad.
There's a lot to learn from our external APIs for our internal APIs or in general software architecture. Bad internal APIs lead to code smells. You will learn how to detect code smell that points to bad APIs.
Dicussing well-known libraries
We will analyze well known libraries like requests, BeautifulSoup, Django and more. I will tell you what they did well and where they struggle. Some libraries have with immense capabilities have not been used very much, because their APIs are too complicated. We will also be talking about how Amazon won the cloud storage game, the way Docker wins everything else and why some other awesome tools don't seem to get very far!

10:30 – 11:00 Coffee break
11:00 – 11:40 Armin Rigo
CFFI: Call C from Python

I will introduce CFFI, a way to call C libraries from Python. It was designed in 2012 to get away from Python's C extension modules, which require hand-written CPython-specific C code. CFFI is arguably simpler to use: you call C from Python directly, instead of going through an intermediate layer. It is not tied to CPython's internals, and works natively on two different Python implementations: CPython and PyPy. (It is also a big success, according to the download statistics.)
PyPy is an alternative Python implementation, which is highly compatible with CPython but rewritten from scratch – in Python. It is much faster than the standard CPython on long-running tasks thanks to its Just-in-Time compiler. I will talk about it during the later part of the talk.

11:40 – 12:20 Martin Christen
3D Computer Graphics with Python

In this talk several technologies around 3D graphics for Python are presented. A brief introduction to scripting Blender shows the possibilities of creating complex 3D Worlds and games. The second part shows how to create low level 3D applications and how Python is used to create preprocessed 3D worlds for the webbrowser.

12:20 – 13:40 Lunch
13:40 – 14:30 Matthieu Amiguet
Charming Snake: Python for Live Music

At Les Chemins de Traverse we explore ways of "augmenting" acoustical musical instruments with new possibilities offered by computers. For doing so, we need ultra-low latency real-time audio processing programs. Pretty much the typical situation where python should *not* be used, right? Wrong. We've recently included python (with a strong use of Olivier Bélanger's wonderful pyo module) in our set of tools for realizing the musical ideas we have in mind. This talk will expose why we came to consider python as a very interesting option for our realtime audio systems and how we use it on stage, with code and sound samples.

14:30 – 15:10 Chihway Chang
Coding/Decoding the Cosmos: Python Applications in Astrophysics

Today, python tools are used almost everywhere in astrophysics: from modelling the images of stars and galaxies seen in modern large telescopes, to statistical analyses of the data products, to inferring the history of our Universe. I will first give a general overview of the kind of python packages used in the field and then go in to some specific examples of application that I am involved with. These include mapping the dark matter in the Universe, and flying drones to calibrate radio telescopes.

15:10 – 15:40 Coffee break
15:40 – 16:10 Michael Rüegg
Scrapy and Elasticsearch: Powerful Web Scraping and Searching with Python

Scrapy is a versatile tool to scrape web pages with Python. Thanks to its pipeline architecture, it is easy to add new consumers to work on the scraped data. One such pipeline allows us to index the scraped data with Elasticsearch. With Elasticsearch, we can make the scraped data searchable in a highly efficient way. In this talk, we will not only show you the basics of the interaction between Scrapy and Elasticsearch, but also a hands-on showcase where we use these tools to collect sport results of Swiss running events and to answer interesting questions related to this data.

16:10 – 16:40 Jacinda Shelly
Getting Started with IPython

"This talk will introduce listeners to the basics of IPython, an enhanced interactive Python shell that is superior to the default Python shell. I intend to perform a live demonstration of key features of IPython, including:

* Tab-completion of the local namespace
* "Magic" commands including %paste, %cd and more
* Auto-indentation of code
* Command history
* Interactive profiling and timing support

16:40 – 17:10 Florian Bruhin
Pytest: Rapid Simple Testing

Pytest is a Python testing tool which eliminates boilerplate and makes testing Python code more easy and fun. In this talk, I'll give you a short introduction to Pytest, show you what it can do, and why it's so much better than

17:10 – 17:20 Closing
17:20 – 20:00 Social Event / Apéro (sponsored by


Right after the conference we'll have a small aperitif at HSR's cafeteria, sponsored by Beekeeper. There will be soft drinks, water, beer and sandwiches free of charge for all conference attendees.