Skip to content

ask your doctor if uv is right for you #9

@mjke

Description

@mjke

current flow

git clone --recursive https://github.com/keiserlab/rad.git
cd rad
pip install . 

proposed flow

uv tool install "git+https://github.com/keiserlab/rad"
uv python

but wait, there's more: instant transient tool use via uvx --from "git+https://github.com/keiserlab/rad my-command

  • where my-command is any entrypoint defined in your pyproject.toml
  • does not require uv tool install - it's a different use case (if you need it)

why?

  1. MUCH faster, better, happier; uv >> pip
  2. uvx can run commands (it's a uv tool wrapper) straight from github/pypi/etc - handles env & local-cache
  3. for coding, uv ALSO supports exact existing flow, just replace pip install . -> uv sync

how?

glhf!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions