Mar 3 · 6 min read · Python Development Environment: Package Managers, Type Checking, and Linting Python's development tooling has historically been fragmented and confusing. The good news: in 2026, the ecosystem has consolidated around better tools. Here's how to set up...
Join discussionJan 22 · 4 min read · Python is traditionally known as a "dynamically typed" language, praised for its flexibility and the ease of writing code without explicit type declarations. However, as projects grow in scale, developers often face common headaches: "What exactly do...
Join discussionDec 14, 2025 · 6 min read · Greetings! This post shows step by step the installation and configuration of all the tools needed to set up an agile and robust Python development environment. It is assumed that the text editor to be used will be VSCode and that the environment wil...
Join discussionJul 15, 2025 · 11 min read · Let's look at the project tree! The following project architecture is modifiable, however, it is already a good starting point! my_python_project/ ├── .venv/ ├── src/ │ ├── utils/ │ │ └── __init__.py │ ├── index.py │ └── __init__.py ├── log...
Join discussionJan 24, 2025 · 5 min read · 🖖 Prateek Joshi and Akhil Kalwakurthy As AI engineers building complex machine learning systems, we often face a critical challenge: creating backend infrastructure that's both performant enough for real-time AI processing and maintainable enough fo...
Join discussion
Nov 3, 2024 · 5 min read · Since Python introduced the ability to add generic types to functions, the language has become much more type-friendly and encourages you to follow this convention for more maintainable code. Obviously, this will lead to a better development experien...
EHSMDEdith and 1 more commented
Oct 14, 2024 · 5 min read · Is 100% static type coverage practical when datatypes represent communication with a remote resource? If you are implementing a protocol that defines a Response (or Error) Type for every Request, it may seem like lots of code will be written just to ...
SSoothfy commented
Jul 10, 2023 · 12 min read · TL;DR - Mypy is amazing, but your code needs to be ready for it. The untyped nature of Python allows magic to happen and shortcuts to be made (at the cost of more runtime errors). Adding a type checker such as Mypy to a codebase developed under this ...
TBAttila and 1 more commented
Jan 26, 2023 · 1 min read · If you want to exhaustively check an enum (or a literal) and have Mypy tell you when you forgot a case, you can write yourself a tiny utility function: from typing import NoReturn def unreachable(v: NoReturn) -> NoReturn: raise AssertionError() ...
Join discussion