You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello astral team!
We're designing a UI that dynamically creates venvs, installs packages and runs subprocesses. For the venv creation and package installation bit, we're using uv (of course!) in the backgroud because of its speed.
Now even if uv is super fast, our users still have to wait for a few minutes sometimes and would like to get some information on the current venv creation / package installation status. Of course, we could simply redirect stdout to a console somewhere in the UI but I'd like to get something a little bit more UX friendly, like displaying a progress bar from our UI front end framework (PyQt to name it).
So, I don't know if it is/would be possible to have an option on the two commands we're using here (uv venv and uv pip install) to replace the standard output by something rather simple e.g. 0/10, 1/10, ... that we could easily send through a regex and integrate in the UI?
Cheers,
Matt
Platform
Windows
Version
0.5.30
The text was updated successfully, but these errors were encountered:
It's an interesting idea... but I'm a bit inclined to have this kind negotiated with json(-lines) output, similar to how cargo/rustc does it. Potentially related:
Question
Hello astral team!
We're designing a UI that dynamically creates venvs, installs packages and runs subprocesses. For the venv creation and package installation bit, we're using uv (of course!) in the backgroud because of its speed.
Now even if uv is super fast, our users still have to wait for a few minutes sometimes and would like to get some information on the current venv creation / package installation status. Of course, we could simply redirect stdout to a console somewhere in the UI but I'd like to get something a little bit more UX friendly, like displaying a progress bar from our UI front end framework (PyQt to name it).
So, I don't know if it is/would be possible to have an option on the two commands we're using here (
uv venv
anduv pip install
) to replace the standard output by something rather simple e.g.0/10
,1/10
, ... that we could easily send through a regex and integrate in the UI?Cheers,
Matt
Platform
Windows
Version
0.5.30
The text was updated successfully, but these errors were encountered: