Blog: python

In-depth tutorials, guides, and thoughts about infrastructure and automation.


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

All the ways to write a string in YAML

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»

Brett Weir 18 min read

Write great command line utilities with Python

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»

Brett Weir 6 min read

Use pyenv for local Python development

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»