pedrobuzzi.hashnode.dev🔐 python-decouple: Clean and Safe Configs with .envHardcoding secrets or config values in your Python code?Stop doing that. python-decouple is a dead-simple way to keep your configuration clean, secure, and environment-specific. ✅ Why use it? Load values from a .env file or environment variables K...Apr 19, 2025·1 min read
pedrobuzzi.hashnode.dev🧪 Validating Lists and Complex Types with parse_obj_as(...) in PydanticSometimes you just need to validate a list of values or convert some raw data into proper Python types — without creating a full-blown Pydantic model for it. That’s where parse_obj_as(...) comes in handy. ✅ What is parse_obj_as(...)? It’s a helper f...Apr 19, 2025·2 min read
pedrobuzzi.hashnode.devUsing AliasChoices and AliasPath in PydanticWhen building APIs or data pipelines, sometimes you don't have control over the shape of the input data. That’s where AliasChoices and AliasPath from Pydantic v2 can really shine. Let’s look at two quick and powerful tools that make your models way m...Apr 18, 2025·2 min read
pedrobuzzi.hashnode.dev🥊 Celery vs Temporal.ioWhen you're building distributed systems or managing background jobs in Python, Celery is often the go-to. But lately, Temporal.io has been gaining traction, especially in environments that demand strong guarantees around reliability and stateful orc...Apr 18, 2025·4 min read