

De qué se trata
Welcome to Python Barcelona!
• Visit our web: https://pybcn.org
• Send talk proposals: https://pybcn.org/pybcn_association/propose-a-talk/
• Publish job offers: https://pybcn.org/job-offers/
• Check our Code of Conduct: https://pybcn.org/coc/
• Follow @pybcn: https://twitter.com/pybcn
Próximos eventos (1)
Ver todo- Python Meetup April: The Spring MeetupCloudworks, Barcelona
For the month of April, we have two awesome talks about Python Decorators and building a load balancer using the new NoGIL biilds.
---
Schedule:- 👋 & 🗣️ 18:45: Welcome and Talks
- 🍕 & 🍻 20:00: Networking, food and drinks!
- 👋 21:00: Bye!
---
- ➡️ What: Why Decorators?
- 📢 Who: Dirk Lüdtke
- ⏱ Duration: 30 minutes
- 👅 Language: English
- 🧐 Abstract: Python first introduced decorators way back in 2004 with version 2.4, as a powerful tool for enhancing the behavior of functions and (later on) classes all in a neat and concise way. You are probably familiar with some popular decorators like @classmethod, @app.route (Flask), @validator (Pydantic), and @tf.function (TensorFlow). While most of us happily use them, few actually create our own. Decorators are convenient, but they’re not without their quirks. As I write this, I’m still a little on the fence about using them too liberally. But fear not! By the time we get to the talk, I'll share some intriguing insights, show you where decorators truly shine, and highlight a few hilarious examples of flagrant misuse.
----
- ➡️ What: Building a NoGIL Load Balancer in 30 minutes
- 📢 Who: Alvaro Duran
- ⏱ Duration: 30 minutes
- 👅 Language: English
- 🧐 Abstract: Load balancers are widespread nowadays because most software systems are web-centric and service oriented. However, they’re extremely complex to build, because they must be very performant and use sophisticated algorithms to route traffic. Until recently, you couldn’t use Python to build one, because even though it would make the code simpler, the GIL prevented multiple threads from executing Python at the same time.
Now that you can, what are the practical implications in your day-to-day work?
In this talk, we’re going to live code a load balancer in Python. This will help us understand the pros and cons of using modules such as asyncio, threading and concurrent.futures, and what changes when we remove the GIL from the way.
Whether you’re building systems that demand concurrency (such as AI models or DevOps pipelines), or you’re just curious about how tools like gUnicorn or Starlette work under the hood, you’ll come away with practical insights on how to start off the NoGIL era on the right foot.----
➡️ Location:
Cloudworks Passeig de Gràcia - Gran Via de les Corts Catalanes, 613, 1era planta, Eixample, 08007 Barcelona
----
➡️ Access Control- 🛂 The security access control requires an attendee list (full name) and a means of identification (DNI, NIE, passport)
- ⚠️ Make sure you register for the event with your full name and ID. Otherwise, you will be REMOVED from the attendance list.
- 🪪 You’ll be asked to provide that ID to access the building.
- 🚸 People under 18 years old shall be accompanied by a legal guardian
----
➡️ Only register if you can attend!- 🪑 There are limited seats, so please be responsible when signing up
- 🚷 If you can't make it, please free up your seat, so someone else can attend. We keep a list with repeated offenders!
----
➡️ More at https://pybcn.org:- 📢 We want talk proposals! Send yours
- 🦄 Want to publish a job offer?
- 🐦 Follow @PyBCN, @PyBCN in BlueSky for pictures, slides, videos and more