Python

Convert poetry to uv

When I encountered #uv I fell for it right away. I was already using ruff for a while and started looking into rye, which was the intermediate step before it became uv.

Creating a uv repo is easy, just run uv init $project and you are off to the races. Using it for new projects is easy if you are …

Repos are like children, …

For those without children, you might never have realized that having a project is much like a child. At the same, for those with children, you may never have the time or piece of mind to realize it.

I’ll take you through a walk of life on ‘creating’ your child(ren), how to deal …

Convert Poetry to uv - …

During the python meetup there was room for some 5 minute lightning talks. I stepped up and shared my findings on poetry and uv, and the challenging with migrating from poetry to uv. Because of this challenge I’ve written a tool to help with that migration. Allowing to pass in the current …

Improved shebang for your …

Sometimes you just want a script, without having to specify a virtualenv or polluting your global python environment. Given PEP-0723 we can build scripts as we would normally, though now add a few comments to it to specify the dependencies.

When we combine that with uv we can easily run the script …

Pypi Trusted Publisher …

Be the cool kid on pypi, I thought, use the Trusted Publisher Management and OpenID Connect (OIDC)… I thought…

While working on my latest repo convert_poetry2uv, I wanted to automatically push the builds to pypi. Traditionally a username/password combination was used, which was later …

Repos are like children - …

parenting 101

For those without children, you might never have realized that having a project is much like a child. At the same, for those with children, you may never have the time or piece of mind to realize it.

I’ll take you through a walk of life on ‘creating’ your child(ren), …