•  

Sessions at EuroPython 2011 about PyQt

Your current filters are…

Monday 20th June 2011

  • Python(x,y): Python as your next MATLAB

    by Vincent Noel

    This training session will introduce the Python scientific stack to Engineers who use matlab in their day-to-day job and want to switch to an open solution or explore other alternatives. The basics of Python will first be presented: syntax, variable types and data structures, functions and flow control, exceptions. Python modules and tools required for matlab-like programmation in Python will be presented: ipython, numpy and matplotlib. Several Python applications typical of engineering problems will be presented and compared with their matlab version, as time will allow: plotting (time series, histograms, pseudocolor plots, etc.), basic I/O (e.g. ASCII, CSV, matlab MAT files), signal processing, mapping, etc. The creation of user interfaces with PyQt will be briefly introduced. Differences between Interactive and non-interactive programming will be described. Along the session, key differences with matlab will be underlined and discussed. Sources of information and documentation, online and offline, will be presented.

    These concepts will be introduced as coding exercises using the Python programming environment provided by the Python(x,y) distribution, which is freely downloadable and includes recent versions of Python, numpy and matplotlib. This session will also focus on using Python(x,y) efficiently for Python programmation. Attendees should bring their own laptop running Windows. It is also recommended that they download and install the pythonxy distribution from http://www.pythonxy.com/.

    Although no knowledge of Python is required to attend this session, a basic knowledge of matlab and of its typical programming usage is needed.

    At 2:30pm to 6:30pm, Monday 20th June

    Coverage slide deck

Wednesday 22nd June 2011

  • Developing a Cad application as an hobby. My exciting hobby is now my job

    by Matteo Boscolo

    PythonCAD is a CAD package written, surprisingly enough, in Python using the PyQt interface. The PythonCAD project aims to produce a scriptable, open-source, easy to use CAD package for Linux (Cross Platforms).

    I start developing PythonCAD in my spare time and now python is the programming language that I mostly use.
    I think that will be very interesting to tell my story and how I learn python pyqt ,sqlite, sympy... and how python and pycon and OpenERP change my job.

    The goal will be to tell at the new python programmer how easy to use is python even for complex problem.
    I can explain why I chose pyqt .. what kind of trouble I have found and how I solve it.
    Starting from python going to pyqt and at the end how to deploy a python application with pyInstaller ...

    I also explain my actual project OpenPLM an OpenERP module to manage PLM data into OpenERP

    see you soon
    Matteo

    At 9:00am to 10:30am, Wednesday 22nd June

    Coverage video

  • New beauty in Camelot

    by Erik Janssens and Jeroen Dierckx

    Camelot is a Python framework that leverages SQLAlchemy and QT to build rich desktop applications. The model - view definition used was inspired by the Django Admin interface. Some see it as a replacement for MS Access, but it's underlying libraries allow much more advanced features.

    In this talk we will focus on the changes and new features that were introduced in Camelot and more importantly, how they can be used in your applications. Those features range from Matplotlib chart integration and new types of actions to displaying custom SQLAlchemy queries in a table view.

    We will share our experiences with large scale deployment of Python and Camelot applications to the desktop of the user. In a number of case studies we will point out the mistakes we made and how they were corrected.

    At 3:30pm to 4:30pm, Wednesday 22nd June

  • Developing cutting-edge applications with PyQt (teaser)

    by Matteo Bertozzi and Lorenzo Mancini

    At 5:15pm to 5:45pm, Wednesday 22nd June

    Coverage video

Thursday 23rd June 2011

  • Developing cutting-edge applications with PyQt

    by Lorenzo Mancini and Matteo Bertozzi

    (Presented with Matteo Bertozzi)

    Python's high development speed and Qt's gargantuan feature set allow for comfortable development of complex desktop applications. Still, what does one need to do to best leverage this awesome combination? And more importantly, what crucial advantages exist to decide its adoption in favour of more traditional tecniques?

    During this training, we'll start from a white canvas and show how to develop a desktop application using the best tools Qt offers. You'll learn how to compose complex GUIs from basic building blocks, and how to use QPainter, one of the most advanced 2D painting systems in the open source world. Qt's Webkit integration will be discussed, along with the recent Qt Quick technology, which allows one to create smooth and fluid user interfaces. Qt's solution to common deployment problems, like handling a serious translation workflow, will be presented. At the end, we'll package our PyQt application so it's ready to be distributed for download.

    Walk away with a sound understanding of why you should choose PyQt for your next desktop project.

    At 9:00am to 1:00pm, Thursday 23rd June

  • Introduction to Qt

    by Matti Airas

    This presentation introduces Nokia's Qt Development Frameworks and their relationship to Python. After an overview of Qt and the Qt ecosystem, Qt's history and future roadmap are discussed. Different Python bindings, PyQt and PySide in particular, are introduced. Finally, hands-on examples of Qt Quick with Python are shown.

    At 5:15pm to 6:15pm, Thursday 23rd June

    Coverage video