- How to install Ansible with uv
December 29,
2025
The official Ansible docs show how to install Ansible with pipx. Here is the equivalent command when using uv.
- pre-commit for Data Science
March 20,
2025
I have known about pre-commit for some time, but until recently, I never tried it. This week, I started to try out pre-commit, and I am finding it very useful. Here are a few pre-commits I have found useful for data science workflows.
- How to automatically format Python and R code in VS Code or Positron
March 4,
2025
Automatically format Python and R code in VS Code or Positron using ruff and air.
- Beautiful Reporting with Quarto Lighting Talk at PyCascades Seattle 2024
September 11,
2024
My lighting talk "Beautiful Reporting with Quarto" at PyCascades Seattle 2024.
- Managing Data Science Projects with uv
August 28,
2024
How I use uv to manage a Python data science project. uv can replace pyenv, poetry, and pipx.
- Replacing pip with uv for Python projects
April 21,
2024
uv is "an extremely fast Python package installer and resolver, written in Rust" from https://astral.sh. Recently, I have started using uv in my day-to-day Python workflows. After a few weeks of usage I am sold! uv will be my go-to package manager for Python projects moving forward. It is MUCH faster than pip and I really like the new workflow it provides me with `uv pip compile` and `uv pip sync`.
- My requirements.txt workflow for a new Python project
January 9,
2024
My workflow for using a requirements.txt file in a new Python project.
- How to use pyenv with reticulate
July 13,
2023
The reticulate package allows you to execute Python code from R. If you use pyenv to install Python the default options will not work with reticulate.
- Do Everything with Pydantic - Lightning Talk PyCascades 2023
March 19,
2023
My lighting talk "Do Everything with Pydantic" for PyCascades 2023 in Vancouver.
- Using Jinja2 Templates with Pulumi
July 14,
2022
Over the last few months, I have spent a lot of time working on AWS. I often need to spin up EC2 instances, databases, or other assets for testing. Doing this by hand can become burdensome. You need to click through the AWS CLI and keep track of everything you have created. This sounds like a perfect use case for infrastructure as code. Enter Pulumi!
- How to create a FastAPI Web App with authentication
April 14,
2022
How to create a FastAPI web app with authentication.
- How to create a FastAPI Web App with MongoDB and Beanie
March 18,
2022
A working example of a web app that uses FastAPI, MongoDB, and Beanie.
- How to Deploy a Containerized Python Dash App to Heroku
November 15,
2019
I love using Plotly to build interactive visualizations. The syntax is very similar across R and Python, and plots looks great.