Blog

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

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 Unpack: Typed kwargs and Variadics

Learn Python Unpack to type **kwargs with TypedDict, expand variadic tuples, and preserve precise callable signatures.

Read more

Reading time: 4 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

Required and NotRequired: Optional TypedDict Keys

Learn Python Required and NotRequired to control mandatory and optional TypedDict keys without confusing absence with None.

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 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