astral-sh / rye

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

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

Open foriequal0 opened 4 months ago

foriequal0 commented 4 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