Posts about python

2 posts

  1. Structured logging: why your logs should be JSON

    Plain text logs are easy to write and hard to search. Here is how structured logs with consistent fields make debugging production services faster.

    2 min read

  2. Typed configuration in FastAPI with pydantic-settings

    Load and validate environment variables once, fail fast on bad config, and keep secrets out of your code: a small pattern I use in every FastAPI service.

    1 min read