List of videos

How LocalStack is recreating AWS with Python — Thomas Rausch
[EuroPython 2023 — Terrace 2A on 2023-07-21] https://ep2023.europython.eu/session/how-localstack-is-recreating-aws-with-python At LocalStack, we are building a platform that enables development and testing of cloud applications on your local machine. The core is an [open source AWS emulator](https://github.com/localstack/localstack) that is primarily written in Python. It is among the top Python projects on GitHub, and has seen a massive uptake in contributions over the past two years. Many Python software developers and architects will relate to the struggles of maintaining a large and complex Python codebase, while keeping developer teams productive. In this talk, we'll explore how we at LocalStack tackle these as we re-create AWS for local development. We'll explain our approaches to automating around AWS specifications, building a highly modular and pluggable system to make it easy for teams to integrate their components, the software patterns we use to keep devs productive, as well as our approach to automated contract testing using pytest. 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
Pygoat - Learn Django security the hard way — Adarsh Divakaran, Thameem Karakkoth
[EuroPython 2023 — Terrace 2B on 2023-07-21] https://ep2023.europython.eu/session/pygoat-learn-django-security-the-hard-way Learn to secure your Django apps by attacking (and then securing) Pygoat - An intentionally vulnerable Python Django application. Explore the OWASP top 10 vulnerabilities and understand how to mitigate them from Django apps. 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
Python 3.11 What’s new? — Dilyan Grigorov
[EuroPython 2023 — Terrace 2A on 2023-07-21] https://ep2023.europython.eu/session/python-311-whats-new The topic aims to introduce participants to the latest from Python in version 3.11, released in early October 2022, which includes: • Speed improvements; • Standard Libraries Improvements; • Self type; • Exception Notes; • Better Error Messages; • Improved Type Variables; • Variadic generics; • Marking individual TypedDict items as required or potentially missing; • Arbitrary literal string type; • Data class transforms; • TOML read-only support in stdlib; • Exception Groups; • Negative Zero Formatting. 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
Too Big for DAG Factories? — Calvin Hendryx-Parker
[EuroPython 2023 — South Hall 2B on 2023-07-21] https://ep2023.europython.eu/session/too-big-for-dag-factories Do you need to transform, optimize and scale your data workflow? In this talk, we’ll review use cases, and you’ll learn how to dynamically generate thousands of DAGs (Directed Acyclic Graphs) with Airflow. 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
GraphQL Subscriptions: Real-time Data with WebSockets* and Strawberry 🍓 — Patrick Arminio
[EuroPython 2023 — South Hall 2A on 2023-07-21] https://ep2023.europython.eu/session/graphql-subscriptions-real-time-data-with-websockets-and-strawberry Bring your GraphQL APIs to life with real-time data using Strawberry! 🌟 In this talk, we'll dive into GraphQL Subscriptions and explore how to leverage WebSockets for interactive, real-time updates. Say goodbye to constant polling and hello to efficient, seamless communication! Key insights: - Understanding GraphQL Subscriptions and their role in real-time data delivery. - Setting up WebSocket connections and integrating them with your GraphQL server using Strawberry. - Designing subscription schemas and handling server-side events for seamless updates. - Enhancing client-side experiences with real-time data and updates. 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
How we are making CPython faster. Past, present and future — Mark Shannon
[EuroPython 2023 — Forum Hall on 2023-07-19] https://ep2023.europython.eu/session/how-we-are-making-cpython-faster-past-present-and-future Python 3.11 is considerably faster than 3.10. How did we do that? And how are we going to make 3.12 and following releases even faster? In this talk, I will present a high level overview of the approach we are taking to speeding up CPython. Starting with a simple overview of some basic principles, I will show how we can apply those to streamline and speedup CPython. I will try to avoid computer science and software engineering terminology, in favor of diagrams, a few simple examples, and some high-school math. Finally, I make some estimates about how much faster the next few releases of CPython will be, and how much faster Python could go. 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
Orchestrating Python Workflows in Apache Airflow — Sebastien Crocquevieille
[EuroPython 2023 — South Hall 2B on 2023-07-21] https://ep2023.europython.eu/session/orchestrating-python-workflows-in-apache-airflow [**Apache Airflow**](https://github.com/apache/airflow) is an Open Source workflow orchestrator. It is a python library that allows you to automate complex code and integrate it with a plethora of Data Sources. It is provided with an integrated UI and API for both your human and programmatic needs. After 5 years of running Airflow in production, I hope to share some insights on the technology. The strengths and weaknesses, recommended features and more dangerous ones, and similar considerations on the UI. I'll also be talking about how **you** can make your own *Operators* in Airflow. Come take a deeper dive into the same solution used by Airbnb, Slack, Walmart and many more to efficiently run their data pipelines. 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
What a screen reader can teach you about remote Python debugging — Ramón Corominas
[EuroPython 2023 — South Hall 2A on 2023-07-21] https://ep2023.europython.eu/session/what-a-screen-reader-can-teach-you-about-remote-python-debugging The NVDA screen reader is a Python application packaged with Py2exe, along with C++ extensions for low-level system access and improved performance. Its functionality can be expanded through addons that are also written in Python, which makes the ability to debug both the core and addon code highly desirable. However, debugging code within an embedded or packaged Python environment can be quite challenging, especially if you are a visually impaired programmer trying to debug your own screen reader, since hitting a breakpoint will freeze the tool you rely on for computer access! In this presentation, I will demonstrate how I addressed this challenge by leveraging Microsoft's debugpy library for remote debugging. I will showcase how this technique can be used to debug Python applications running within an embedded Python environment, regardless of the host language. Additionally, I will explore its applicability in debugging applications running on different operating systems or environments than the one where you prefer to use your debugging IDE. 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
pip install malware — Max Kahan
[EuroPython 2023 — South Hall 2A on 2023-07-20] https://ep2023.europython.eu/session/pip-install-malware pip install malware: it’s that easy. Almost all projects depend on external packages, but did you know how easy it can be to install something nasty instead of the dependency you want? I'll be showing this live, as I make malware and install it from PyPI onto my own computer during the talk! 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