Paul Zuradzki

@paulzuradzki
22 Followers
49 Following
34 Posts
Healthcare data professional working on price transparency. Here for Python, data science, & health econ. 🚲 🐍 🧑‍💻🏥
Websitehttps://paulzuradzki.com
GitHubhttps://github.com/paulzuradzki
@pythonbynight @hynek +1 great video. I added it to References section. On Youtube, Hynek, ArjanCodes, and Ed Jung (PyBay 2019) are the best I've seen on DI in Python.
@pythonbynight @hynek 👀 I haven't tried it (I now wish I had before writing my post :D). I had work experience with the dependency injector framework, so I felt more comfortable with including that as an example. Curious to hear about Python DI framework usage in the wild
@pythonbynight thank you! Happy it was of use. It was tricky to organize. It’s a seemingly simple idea (fancy parameter passing) but with a lot of depth on design, interfaces, and testing.

I gave a talk at Chicago Python on "Dependency Injection for Pythonistas" a few weeks back and decided to make it a written tutorial style post. It's my first time publishing in this format. Feedback welcome!

https://paulzuradzki.com/2025/7/dependency-injection-for-pythonistas/

Dependency Injection for Pythonistas: A Practical Design Tool - Paul Zuradzki

@avandeursen @shriramk Interesting paper. Thanks for sharing.
@glyph good talk! The appscript and keynote automation was cool.

"Vendoring" by Carson Gross

https://htmx.org/essays/vendoring/

"You get more of what you make easy, and if you make dependencies easy, you get more of them."

"This demonstrates significant cultural problem with dependency managers:

They tend to foster a culture of, well, dependency."

</> htmx ~ Vendoring

Carson Gross explores the concept of 'vendoring' in software development, where external project sources are copied directly into a project. He covers the benefits of vendoring, such as improved visibility and control over dependencies, and discusses challenges like transitive dependencies and the culture of dependency in modern software development. He also contrasts vendoring with modern dependency management tools, and considers the potential for vendor-first dependency managers to combine the strengths of both approaches. He encourages a rethinking of dependencies and promotes a more independent approach to software development.

@AlSweigart my usual setup is one venv per project for me whether it’s a script or related collection of scripts. Occasionally, I’ll re-use a more general purpose venv. I’m a VS Coder so I cmd+shift+P ➡️Select interpreter, ➡️my current directory venv is usually at top of suggested list and I don’t have to reactivate for terminal sessions in that project.
GitHub - Guild-of-Educators/tutorial-modern-frontend-django-htmx

Contribute to Guild-of-Educators/tutorial-modern-frontend-django-htmx development by creating an account on GitHub.

GitHub
I've come across this naming issue in software a bunch recently: I have a machine learning model, an object model (Pydantic for example), and an MVC model. How do you disambiguate between these different taxonomies in your code?