Blog

Python tutorials and tips on the Academify blog. Learn programming with examples, exercises, and projects from basic to advanced

High-angle view of woman coding on a laptop, with a Python book nearby. Ideal for programming and tech content.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python ReadOnly: Protect TypedDict Fields

Learn Python ReadOnly to protect TypedDict fields, model stable response contracts, and prevent accidental writes during static analysis.

Read more

Reading time: 5 minutes
August 29, 2026
Close-up of hands typing on a laptop keyboard, Python book in sight, coding in progress.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python TypeAliasType: Runtime Type Aliases

Learn Python TypeAliasType to create explicit aliases, inspect them at runtime, and model reusable generic APIs safely.

Read more

Reading time: 6 minutes
August 29, 2026
Detailed view of programming code in a dark theme on a computer screen.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python overload: Precise Function Signatures

Learn Python overload for precise signatures with Literal, None, generics, methods, and return types that depend on arguments.

Read more

Reading time: 6 minutes
August 29, 2026
A person reads 'Python for Unix and Linux System Administration' indoors.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python ClassVar: Separate Class and Instance State

Learn Python ClassVar to separate class and instance state in dataclasses, registries, caches, inheritance, and counters.

Read more

Reading time: 5 minutes
August 29, 2026
A person typing on a laptop with a Python programming book visible, capturing technology and learning.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Final: Protect Constants and Inheritance

Learn Python Final and @final to protect constants, attributes, methods, and classes while understanding runtime limitations.

Read more

Reading time: 5 minutes
August 29, 2026
High-angle view of woman coding on a laptop, with a Python book nearby. Ideal for programming and tech content.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Annotated: Add Type Metadata

Learn Python Annotated to attach metadata to types for validation, schemas, units, documentation, and framework integration.

Read more

Reading time: 6 minutes
August 29, 2026
Detailed view of programming code in a dark theme on a computer screen.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python NewType: Keep IDs Distinct

Learn Python NewType to keep IDs, codes, units, and primitive values distinct, validate boundaries, and prevent domain mix-ups.

Read more

Reading time: 5 minutes
August 29, 2026
Close view of a python resting on sandy terrain outdoors in natural habitat.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Never: Mark Unreachable Code

Learn Python Never for non-returning functions, unreachable code, and exhaustive unions with assert_never, Literal, Enum, and match.

Read more

Reading time: 5 minutes
August 29, 2026