How to Run Python Tools Without Installing Them

How to Run Python Tools Without Installing Them

Use uvx to run development tools without adding them to your project dependencies. uvx runs each tool in an isolated, cached environment, keeping your pyproject.toml clean and focused on actual dependencies.

Here's an example:

# uvx (alias for uv run tool)
# Format and lint code without modifying pyproject.toml
uvx black .
uvx isort .

Subscribe to our newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox.
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!