Duplicate document icon representing shallow and deep copies in Python
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python copy: Shallow and Deep Copies

Learn Python copy to create shallow and deep copies, replace fields, and avoid sharing nested mutable objects by mistake.

Ler mais

Tempo de leitura: 6 minutos
28/07/2026
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.

Ler mais

Tempo de leitura: 8 minutos
28/07/2026
Monitor showing binary search and sorted Python lists
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python bisect: Keep Lists Sorted

Learn Python bisect to keep lists sorted, locate ranges, find neighbors, and insert values efficiently with binary search.

Ler mais

Tempo de leitura: 7 minutos
27/07/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.

Ler mais

Tempo de leitura: 4 minutos
27/07/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.

Ler mais

Tempo de leitura: 5 minutos
27/07/2026
Developer implementing a priority queue with Python heapq
Libraries and Modules
Foto de perfil de Leandro Hirt da Academify

Python heapq: Build Priority Queues

Learn Python heapq to build priority queues, find the smallest values, and process tasks efficiently with binary heaps.

Ler mais

Tempo de leitura: 6 minutos
26/07/2026
Python code for safe context in asynchronous applications
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python contextvars for Safe Context

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

Ler mais

Tempo de leitura: 7 minutos
26/07/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.

Ler mais

Tempo de leitura: 6 minutos
25/07/2026

Videoaulas gratuitas de Python

Aprenda os fundamentos da linguagem Python com aulas práticas e exercícios. Comece agora sem pagar nada.

Também no TikTok!

Mais de 19 mil pessoas aprendem Python comigo diariamente no TikTok.
Veja aulas curtas e práticas para aprender de forma simples e direta