astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.82k stars 467 forks source link

Run an arbitrary command from any pakage with `rye tools run` like `pipx run` or `npx` #1060

Open foriequal0 opened 6 months ago

foriequal0 commented 6 months ago

rye tools currently require tools to be globally installed first. It would be nice to run a one-off arbitrary command from any packages with rye tools run without an installation and uninstallation step.

pipx run: https://pipx.pypa.io/stable/docs/#pipx-run npx: https://docs.npmjs.com/cli/v8/commands/npx