Standard Search
About 149 results
https://rednafi.com/python/use-daemon-threads-to-test-infinite-loop/ · 18 Nov 2021
Test Python infinite loops safely using daemon threads with timeouts, allowing tests to complete without hanging or blocking execution.
https://rednafi.com/python/tqdm-with-multiprocessing/ · 18 Nov 2021
Integrate tqdm progress bars with multiprocessing.imap_unordered for visual feedback on parallel task execution across worker processes.
https://rednafi.com/python/functools-partial-flattens-nestings-automatically/ · 8 Nov 2021
Discover how Python's functools.partial automatically detects and flattens nested partial applications for optimal performance and cleaner code.
https://cuducos.me/seu-python-esta-com-cheirinho-de-java.html · 3 Nov 2021
_Post de autoria de Mohammad Tayseer publicado originalmente em inglês. Tradução livre de Eduardo Cuducos._ Goste ou não, você já usa diferentes linguagens de programação a cada dia: SQL, JavaScript, Python, C++ e outras. Diz o ditado que ao apren...
https://rednafi.com/python/config-management-with-pydantic/ · 13 Jul 2020
Build a scalable Python configuration system with Pydantic and dotenv. Manage dev, staging, and production configs with type validation.
https://cuducos.me/debugando-um-problema-de-recursao-no-python.html · 6 Jul 2020
Em um fórum que participo apareceu uma dúvida e a forma como a interação fluiu para encontrarmos a solução foi bem interessante. Então compartilho um resumo neste blog, assim, talvez ajudamos mais gente ainda! A ideia aqui é falar sobre perder o m...
https://rednafi.com/python/mixins/ · 3 Jul 2020
Build custom data structures with Python's collection.abc mixins, abstract base classes, and interfaces for dict-like and set-like objects.
https://rednafi.com/python/metaclasses/ · 26 Jun 2020
Explore Python metaclasses for metaprogramming: learn how classes are created, customize class behavior, and understand type as the default metaclass.
https://rednafi.com/python/proxy-pattern/ · 16 Jun 2020
Learn the proxy design pattern in Python to add access control, caching, and validation layers without modifying core functionality.
https://rednafi.com/python/redis-cache/ · 25 May 2020
Cache API responses with Redis in Python to reduce redundant requests, improve response times, and handle expiring key-value pairs efficiently.