ChiPy __Main__ Meeting
When: Oct. 13, 2022, 6 p.m.
Where: SpotHero
Attendance:
In Person Pythonistas: 35
Topics
-
Life without pip install 😱
By: Aly Sivji
Experience Level: Novice
Length: 10 Minutes
Description:The world has lost the ability to pip install... what do we do?!?! This talk explores a hypothetical Doomsday Scenario where the Python Package Index has gone offline. We examine three ways we can import libraries we have not installed.
After this talk, attendees will have a better understanding of what happens when a package is imported into Python.
-
What's new in Python 3.11
By: Phil Robare
Experience Level: Intermediate
Length: 20 Minutes
Description:The Python core developers keep pushing out new functionality every six months. Python 3.6 just went out of support and Python 3.11 is in pre-release. This talk will look at the new features promised for 3.11 and maybe provide some opionated views on their usefulness or their potential to make Python code harder to understand.
-
Introduction to dependency injection and testable code
By: Adrian Garcia Badaracco
Experience Level: Intermediate
Length: 30 Minutes
Description:Isn't dependency injection a Java thing? Not really!
Have you used Pytest? Fixtures are a form of dependency injection. What about just passing in file-like object to `json.load`? Also dependency injection! There's also FastAPI, one of the most popular Python web frameworks now days, that has depedendency injection as one of it's key features.
You see, dependency injection is very widespread in the Python world, it just looks so natual because of lack of a `new` keyword and first-class function support that you might not even know you are using the technique. Nonetheless it can help to be aware of the theory and jargon around it, which is what we'll explore in this talk by way of a joint refactoring exercise.