Welcome Session
Representatives from the 3 cities that already hosted the 3 PyCon Portugal editions - Porto (2022), Coimbra (2023) and Braga (2024) discuss the challenges their cities face when attracting and retaining technological talent.
Dijkstra said programming was, "a practical exercise in the effective exploitation of one’s powers of abstraction". Such powers of abstraction depend on what, why and how we pay attention to the world. My talk will be a thought provoking, creative and (hopefully) entertaining exploration of how we use (and misuse) Python to express ourselves.
In this talk, I'll delve into my year as an open source intern at Pydantic, offering insights from my experience at a quality-driven, community-centric company. I'll provide tips for aspiring contributors and discuss the value of early career development through open source involvement.
Speeding up the development process is something that every person should be able to. With the massive amount of boilerplate needed, that can take ages. Esmerald and Lilya address that for you.
An overcomplicated project increases development and maintenance time.
If a complete redesign is not possible, we can try to distribute the complexity across the existing codebase. The AI assistants cannot help us with this task yet, and we should discuss manual methods and tools that can help us. The effectiveness of the proposed ideas will be demonstrated by applying them to large projects from different business areas.
Building custom managers in Django greatly enhances your data retrieval process, abstracting the logic in the manager methods. When the ORM isn't enough you can add raw SQL, but once your queries start to grow, it might be hard to manage user-defined arguments, repeated logic and many other aspects. In this talk, I'll show you how you can use templating engines like Jinja2 to build reusable, extensible and easy to understand raw SQL templates, used by your manager to improve your data retrieval process.
You can self-host multiple side projects using nothing but an old Raspberry Pi, your home wifi, Django, and actual duct tape. I’ll show how to get around dynamic IP performance bottlenecks and achieve over three nines of uptime while handling thousands of daily requests on a budget of 0€ per month.
From the team behind Pydantic, Logfire is a new type of observability platform built on the same belief as our open source library — that the most powerful tools can be easy to use.
In this talk, we'll introduce Logfire, then demonstrate how it can make understanding and fixing your app faster and more enjoyable.
We'll touch on some of the most useful integrations.
In the last year, there were a lot of innovations in the ASGI specification. A lot of extensions were introduced, the wording on the specification itself was clarified, and some new things were included.
In this talk, we're going to see the changes that were brought from the ASGI specification to Uvicorn, and Starlette, and how FastAPI benefits from them.
At the end of this talk, the attendee will understand better the ASGI specification, and learn about new features that are not that visible in the ecosystem.
Lightning Talks
We will discuss the concept of AI Agents in general and what is needed to realize those agents. We will dive deeper into how they can be applied specifically to coding to make your everyday life easier.
ime series analysis is vital for trends and forecasting in finance and healthcare. This talk explores ARIMA models for clustering disease data in 48 European countries, using Python libraries like pmdarima and TimeSeriesSplit. We’ll examine how distance measures like Piccolo, Maharaj, and LPC reveal health disparities, showcasing how Python enhances public health surveillance and interventions.
Type Hints were introduced in 2014 by PEP484, marking its 10th anniversary in 2024. Mypy reached 1.0 in 2023. How much has changed since then? How has the Python code we write today evolved? With strictly typed code and runtime checks becoming more common, is statically typed code still the exception rather than the norm? How much longer will it stay this way?
Over the last year, there has been a lot of focus on making applications intelligent using the power of AI with the help of large language models (LLMs). This talk covers how to add intelligence to existing applications with an overview of different techniques starting from prompt engineering, using vector stores to improve the results, and building intelligent agents to figure out how to solve a problem.
This talk will showcase the techniques with demos using open-source frameworks to build LLM-powered applications like LangChain & LlamaIndex.
The talk also covers some practical considerations to consider while deploying these applications to production.
Dive into the world of Lazy Evaluation with Python generators! 🚀 Uncover the efficiency secrets, learn practical implementations, and revolutionize your coding approach. Join me in exploring the power of optimization and enhanced performance. Ready to elevate your Python game?
You probably know, from experience, that catching the bug is 90% of the work of solving it. But how much thought and effort has gone into your application's logging structure? In this talk, we'll go over Python's stdlib logging library (and possible alternatives), how to configure it, good logging practices (also from a structural/code quality point of view), and finally we'll consider in which cases and for what reasons you'll want to use external service integrations.
I worked full-time on a Python FOSS project for 503 days, so what did I learn?
In this talk I will share some of the lessons I learned over the course of these 503 days:
- how to get a tech job in this day & age
- how to put your ego aside when working with others (who know more than you!) and how to deal with mistakes
- how to interact with users & contributors online
- how it feels to collaborate to a large code base
SQLite is a capable database that can run production Django apps efficiently under the right conditions. In this talk, we will explore the strengths and weaknesses of SQLite to understand if it's a good fit for your production workload.
Lightning Talks
Closing Session
In this GenAI workshop, you will learn how Knowledge Graphs and Retrieval Augmented Generation (RAG) can support your GenAI projects.
Dive into web scraping with Python at PyCon Portugal 2024! Join me for a hands-on workshop where we'll cover everything from basic techniques to advanced strategies. Let's unlock the secrets of the web together!
Django has many different obsolete ways to work with translations: PO-Static translations, Data-in-Model Translations, probably Reactive Frontend Translations also works in other manner. In this workshop i want to show, how it should be organized
Working with data can be challenging: it often doesn’t come in the best format for analysis, and understanding it well enough to extract insights requires both time and the skills to filter, aggregate, reshape, and visualize it. This session will equip you with the knowledge you need to effectively use pandas – a powerful library for data analysis in Python – to make this process easier.
Pandas makes it possible to work with tabular data and perform all parts of the analysis from collection and manipulation through aggregation and visualization. While most of this session focuses on pandas, during our discussion of visualization, we will also introduce at a high level Matplotlib (the library that pandas uses for its visualization features, which when used directly makes it possible to create custom layouts, add annotations, etc.) and Seaborn (another plotting library, which features additional plot types and the ability to visualize long-format data).
This workshop will present how Bluetooth Low Energy (BLE) works and what are the current tools and libraries that can be used to support BLE in Python applications.
Working with data can be challenging: it often doesn’t come in the best format for analysis, and understanding it well enough to extract insights requires both time and the skills to filter, aggregate, reshape, and visualize it. This session will equip you with the knowledge you need to effectively use pandas – a powerful library for data analysis in Python – to make this process easier.