List of videos

Games of Life: generative art in Python — Łukasz Langa

[EuroPython 2023 — Forum Hall on 2023-07-20] https://ep2023.europython.eu/session/games-of-life-generative-art-in-python We're entering the age of machine-generated art. Many of the new systems are shockingly impressive but impossible to replicate by individuals because they rely on complex machine learning techniques with huge datasets that aren't feasible to do in a home environment. Fortunately, there's an entire group of clever approaches to generate graphics that look cohesive, unique, and deliberate... and that you can easily do on your own computer. In this short talk we'll go through a few of those algorithms like Clifford attractors, slime mold simulation, and reduction of source imagery to geometric primitives. We'll generate images and animations, we'll dabble in 2D and 3D. You'll leave the talk with your own ideas how to create attractive visualizations out of thin air. The talk assumes familiarity with Python and high-school math. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
Dynamically generated methods with a non-generic signature — Adrin Jalali

[EuroPython 2023 — Forum Hall on 2023-07-19] https://ep2023.europython.eu/session/dynamically-generated-methods-with-a-non-generic-signature In other words, Descriptors + PEP-362 (function signature object) and a seasoning of PEP-487 (simpler customization of class creation via `__init_subclass__`). There are different ways to have generated methods and attributes attached to all classes in a library, and this talk presents the way we’re doing it in scikit-learn. Here you’ll understand the use-case, and see the details and challenges presented by it, and how we approached them. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
An unbiased evaluation of environment management and packaging tools — Anna-Lena Popkes

[EuroPython 2023 — Terrace 2A on 2023-07-19] https://ep2023.europython.eu/session/an-unbiased-evaluation-of-environment-management-and-packaging-tools Python packaging is quickly evolving and new tools pop up on a regular basis. Lots of talks and posts on packaging exist but none of them give a structured, unbiased overview of the available tools. This talk will shed light on the jungle of packaging and environment management tools, comparing them on a basis of predefined features. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
Apache Arrow and Substrait, the secret foundations of Data Engineering — Alessandro Molina

[EuroPython 2023 — North Hall on 2023-07-19] https://ep2023.europython.eu/session/apache-arrow-and-substrait-the-secret-foundations-of-data-engineering Apache Arrow, and its Python library PyArrow are becoming the standard de facto for transfering data and interoperability between libraries and languages. As more compute engines, storages and databases start to speak arrow, you might be relying on it without even knowing. The same transformation is happening with Substrait, that is on track to be the standard representation of query plans themselves. Allowing queries to be routed to different engines as far as they speak substrait, or even decomposed and forwarded to different engines. This talk we will provide a quick introduction to the Arrow ecosystem, showing to Python developers how libraries like Pandas, Polars and PyArrow itself leverage Arrow and how compute engines like Velox, Datafusion and Acero are embracing Arrow and Substrait. The talk will also show how a basic database system based on Arrow and Substrait can be built with a minimum amount of code thanks to all the foundations they provide. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
Stop using print! Understanding and using the "logging" module — Reuven M. Lerner

[EuroPython 2023 — South Hall 2A on 2023-07-19] https://ep2023.europython.eu/session/stop-using-print-understanding-and-using-the-logging-module If you're like me, then you've long known about Python's "logging" module, but you've ignored it because it seemed too complex. In this talk, I'll show you that "logging" is easy to learn and use, giving you far more flexibility than you can get from inserting calls to "print" all over your code. I'll show you how you can start to use "logging" right away -- but also how you can use it to create a sophisticated logging system that sends different types of output to different destinations. After this talk, you'll know how to use "logging", and you'll be less likely to use "print" in your applications. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
Async Robots — Radomir Dopieralski

[EuroPython 2023 — South Hall 2B on 2023-07-19] https://ep2023.europython.eu/session/async-robots Interactive control of robots can be a challenge, as it requires a lot of things to happen in parallel while at the same time reacting to data from sensors and control signals. Using python's async facilities may greatly simplify this task, allowing us to write code that is similar to the non-parallel version, but that is at the same time easy to compose into bigger program doing many things at once. I will talk about my own experiences programming the Fluffbug robot with CircuitPython, point out the problems and the solutions I found. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
CPython Core Developer Panel

[EuroPython 2023 — Forum Hall on 2023-07-19] https://ep2023.europython.eu/session/cpython-core-developer-panel Come meet the folks who make the Python programming language! A panel discussion of core Python developers will take place on Wednesday at 2pm. Hear what's on their mind, what they're working on, and what the future holds for Python. The panel will include: * sitting Steering Council member Pablo Galindo Salgado; * cybersecurity expert and aspiring core developer Marta Gómez Macías who made f-strings much better in 3.12; * CPython's Windows expert Steve Dower; * Red Hat veteran and emeritus Steering Council member Petr Viktorin; * and the tech lead of Microsoft's "Faster Python" team Dr. Mark "HotPy" Shannon. The panel will be chaired by Łukasz "Any-color-you-like-as-long-as-it's-black" Langa. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
The Python package repository accelerating software development @ CERN — Phil Elson, Ivan Sinkarenko

[EuroPython 2023 — Terrace 2A on 2023-07-19] https://ep2023.europython.eu/session/the-python-package-repository-accelerating-software-development-at-cern Python’s expressive syntax, ease of use, and powerful ecosystem of third-party packages are all major contributing factors to its thriving use for accelerator controls at CERN. Providing access to this rich ecosystem in a protected environment, whilst also allowing developers to augment this with internally developed packages is a key enabling service. Existing open-source solutions didn’t meet our needs, and the evolving Package index standardisation, as well as exposure to dependency confusion attacks, left us searching for a more modular and flexible approach. In this presentation we will demonstrate the Python package upload, index, and browsing services developed at CERN. We will discuss the gradual transition from our existing repository service (based on Nexus), and demonstrate - with the help of recent packaging PEPs - the flexibility that modularising the services has brought, helping us to meet our needs for local specialisation and enhanced security measures. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch
Deep Dive into Asynchronous SQLAlchemy - Transactions and Connections — Damian Wysocki

[EuroPython 2023 — Terrace 2B on 2023-07-21] https://ep2023.europython.eu/session/deep-dive-into-asynchronous-sqlalchemy-transactions-and-connections SQLAlchemy is one of the most popular ORM libraries in Python. In this talk I will try to present caveats and gotchas that other Pythonists can find on their way while writing the asynchronous backend application using SQLAlchemy as an ORM. Mainly we will focus on how SQLAlchemy handles transactions and connections to the database and what issues we may face because of it. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Watch