Advanced Python

Level up your skills. Learn complex Python concepts like concurrency, GIL, multiprocessing, asyncio, and object-oriented programming through hands-on experience.

Memory module representing weak references and caches in Python
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python weakref: Weak References

Learn Python weakref to build weak references, automatic caches, observer registries, and finalizers without retaining objects in memory.

Read more

Reading time: 8 minutes
July 28, 2026
ZIP archive icon for a Python zipfile article
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python zipfile: Safe ZIP Archives

Learn how to create, read, validate, and extract ZIP archives with Python zipfile in a predictable and secure workflow.

Read more

Reading time: 4 minutes
July 27, 2026
Software dependency graph and Python task workflow
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python graphlib: Topological Sorting

Learn Python graphlib to order dependencies, detect cycles, and coordinate independent tasks safely in parallel.

Read more

Reading time: 5 minutes
July 27, 2026
Python code for safe context in asynchronous applications
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python contextvars: Safe Async Context

Learn how Python contextvars isolates request data across asyncio tasks, logs, threads, and tests without unsafe global variables.

Read more

Reading time: 7 minutes
July 26, 2026
Python code using cached_property to store expensive calculations
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python cached_property: Cache Object Values

Learn Python cached_property to store expensive calculations, invalidate values, and prevent stale object caches.

Read more

Reading time: 6 minutes
July 25, 2026
Python code with type-based function dispatch
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python singledispatch: Type-Based Functions

Learn Python singledispatch to build type-based functions, reduce isinstance chains, and organize extensible polymorphism with clear examples.

Read more

Reading time: 6 minutes
July 25, 2026
Python code demonstrating descriptors and attributes
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Descriptors: Control Attribute Access

Learn Python descriptors with __get__, __set__, validation, property, instance storage, testing, inheritance and practical design tips.

Read more

Reading time: 6 minutes
July 22, 2026
Caixas empilhadas
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python Modules and Packages: Organize Imports

Learn how to create Python modules and packages, organize imports, use __init__.py, run modules, avoid circular imports, and structure real

Read more

Reading time: 5 minutes
July 10, 2026