PythonHub
2.44K subscribers
2.35K photos
49.5K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
You’re Passing Way Too Many Arguments (and How to Fix It)

The video explains how the Context Object Pattern helps reduce repeated function arguments by grouping related data into a single object, simplifying function signatures and improving maintainability. It also discusses the trade-offs, like increased coupling, and suggests using Python protocols to keep code decoupled and testable, recommending context objects mainly for higher-level func...

https://www.youtube.com/watch?v=UG5jbLReDiM
Valori – A Python-native Vector Database I built from scratch

https://news.ycombinator.com/item?id=45864900
myfy

An opinionated Python framework offering modular architecture, type-safe dependency injection, and FastAPI-style routing to build scalable apps with minimal setup.

https://github.com/psincraian/myfy
The “Dependency Cutout” Workflow Pattern, Part I

The "Dependency Cutout" workflow pattern provides a structured way to temporarily rely on a patched version of an open source dependency without permanently forking it. It involves forking the dependency, applying urgent fixes for your application, using this modified version in production, and then upstreaming the fix and unwinding back to the official release once your patch has been m...

https://blog.glyph.im/2025/11/dependency-cutout-workflow-pattern.html