uv
uv copied to clipboard
API usage
Hello there! I would like to use the internal crates here in PyApp. As far as I understand, the only functionality that I require would be:
- creating virtual environments using a specific path to a Python binary
- installing packages like
uv pip install ...
(users are allowed to pass extra flags so must be CLI)
I'm assuming the first one wouldn't be too challenging but the latter might require shipping the actual CLI/everything. How would I go about this, or even should I at this time?
Are you open to interacting with uv
over the CLI, rather than using it as a Rust library?
Certainly but not for this specific use case if possible. I would much prefer to import the necessary crates.
I don't think our Rust APIs are stable enough for this — we would rather focus on the user experience at this time.