uv+just for testing multiple Python versions
A guide to replacing tox/nox with uv and Just for testing Python projects against multiple Python versions, simplifying configuration.
Daniel Feldroy’s blog, daniel.feldroy.com, is a personal site by coder, author, and speaker Daniel Feldroy, known in the tech community as "pydanny" and co-author of Two Scoops of Django. Based in London, Daniel shares insights about his life, including his work at Kraken Tech, a part of the Octopus Energy Group focused on tackling climate change. The blog, built using the FastHTML framework, covers various topics beyond Python, reflecting Daniel's broader interests in coding, writing, and Brazilian Jiu-Jitsu. His former site, pydanny.com, now redirects here to reflect his evolving focus beyond just Python.
15 Articles from this blog
A guide to replacing tox/nox with uv and Just for testing Python projects against multiple Python versions, simplifying configuration.
A guide on integrating Asyncpg with FastAPI and Air for direct PostgreSQL database access, bypassing heavier ORMs like SQLAlchemy.
A guide on using the pyinstrument profiler to identify and analyze performance bottlenecks in Air applications built with FastAPI.
Learn how to use 'uv run --env-file' to load environment variables from .env files, replacing the need for python-dotenv.
A tech professional explains why they refuse to provide references for strangers, arguing it's unethical to vouch for people they don't know.
A personal retrospective of the various writing tools and platforms the author has used to publish online over the past twenty-plus years.
A guide on merging two Git projects while preserving the complete commit history and contributor attribution.
A guide on using the pytest-env package to set environment variables for pytest tests in pyproject.toml, avoiding direct os.environ modification.
A guide to setting up asynchronous PostgreSQL operations with SQLModel and FastAPI, including code examples for async engines and sessions.
A cleaner method for managing Python package version numbers using uv and importlib.metadata, avoiding manual updates.
Explains how to use Python's typing.Unpack and TypedDict for stricter type annotations of **kwargs.
Explains how to correctly type *args and **kwargs in Python to pass type checkers, avoiding common mistakes.
How to use uv to manage a single source for your Python package version, eliminating the need to update it in multiple files.
Using uv run with Make to test Python code across multiple versions, replacing tools like Tox or Nox.
A quick guide on using exiftool to remove GPS location data from images and videos for privacy.