Skip to content

development

#340: Running Scripts With uv run

If we dive into Python scripting or need to share a small utility with a colleague, we quickly run into a familiar problem: Incompatible or missing package versions. We can solve that problem with virtual environments, but that brings us right to the next one. Managing multiple environments for small, standalone scripts is tedious and breaks the workflow.

#314: Sortable GUIDs With UUID V7

One of the new features in Python 3.14 is the support for version 7 of UUID. This means we can get a built-in support for collision free and sortable unique identifiers without the need for additional packages. Let us see how we can use them.

#296: Lint & Format Code With Ruff

When we work on larger Python projects, inconsistent formatting and lingering lint errors can break our flow. We may use tools like Black, isort, and Flake8 to keep code clean, but running each in sequence feels slow and an extra burden that we soon will skip. Luckily for us, there is a tool named Ruff by the same team that wrote uv. Let us see how Ruff can help us to get more consistent Python code.

#295: A Simple Strategy to Tackle Errors

Sometimes all you want to do is a quick update of a Python package and you run into a learning opportunity. I had this experience many times, and while that is frustrating at the time, it usually ends up with me better understanding the tools I use. Let us take a failed update of MkDocs as an example on what to do if we run into an error after updating a package.

#267: uv - The Fast Pip Replacement

If we dive into machine learning, we quickly run into a problem: Incompatible package versions. We can solve that problem with virtual environments, but that brings us right to the next one. Pip is a great tool, but when we need to install the same package multiple times, pip will download the package again and again. That is slow and breaks the flow. Let us explore an alternative solution.