Loading config files in Python

Brett Weir 9 min read

May 29, 2023 — Application configuration isn't the most exciting part of your stack, but it's surprisingly hard to get right. I present a recipe for loading config files that is clean, easy to implement, and grows with your application.

Read more»

All the ways to write a string in YAML

Brett Weir 6 min read Part of the YAML survival guide series

Mar 13, 2023 — There are multiple ways to represent a string in YAML, but it's not easy to know why you'd choose one over another. Here's a primer on YAML string syntax and why and when to use each one.

Read more»

Write great command line utilities with Python

Brett Weir 18 min read

Feb 13, 2023 — Learn how to create simple, standalone, useful Python CLI tools to solve even the most mundane infrastructure problems, so that you can start automating everything.

Read more»

Use pyenv for local Python development

Brett Weir 6 min read

Jan 27, 2023 — Learn how to use pyenv to bootstrap isolated Python installations, so that you can have the best of containers and local development.

Read more»