Python

Build anything with Python

Understanding FastAPI's Built-In Dependency Injection

FastAPI also embraces the principle of Dependency Injection (DI) to further streamline application development. DI is a design pattern that separates the creation and management of a dependency from the business logic that uses it.

Understanding __init__.py in Python

This article explores everything you need to know about __init__.py, from its historical context to modern best practices, advanced usage patterns, and common pitfalls.