uv icon indicating copy to clipboard operation
uv copied to clipboard

API usage

Open ofek opened this issue 11 months ago • 2 comments

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:

  1. creating virtual environments using a specific path to a Python binary
  2. 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?

ofek avatar Mar 02 '24 18:03 ofek

Are you open to interacting with uv over the CLI, rather than using it as a Rust library?

charliermarsh avatar Mar 11 '24 20:03 charliermarsh

Certainly but not for this specific use case if possible. I would much prefer to import the necessary crates.

ofek avatar Mar 11 '24 20:03 ofek

I don't think our Rust APIs are stable enough for this — we would rather focus on the user experience at this time.

zanieb avatar Apr 12 '24 20:04 zanieb