Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API usage #2133

Closed
ofek opened this issue Mar 2, 2024 · 3 comments
Closed

API usage #2133

ofek opened this issue Mar 2, 2024 · 3 comments
Labels
question Asking for clarification or support rustlib Related to our Rust library API

Comments

@ofek
Copy link
Contributor

ofek commented Mar 2, 2024

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?

@zanieb zanieb added question Asking for clarification or support rustlib Related to our Rust library API labels Mar 2, 2024
@charliermarsh
Copy link
Member

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

@ofek
Copy link
Contributor Author

ofek commented Mar 11, 2024

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

@zanieb
Copy link
Member

zanieb commented Apr 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support rustlib Related to our Rust library API
Projects
None yet
Development

No branches or pull requests

3 participants