|
|
|
|
|
by easton
330 days ago
|
|
uv has a feature where you can put a magic comment at the top of a script and it will pull all the dependencies into its central store when you do “uv run …”. And then it makes a special venv too I think? That part’s cloudier. https://docs.astral.sh/uv/guides/scripts/ Makes it a snap to have a one file python script without having to explicitly pip install requests or whatever into a venv. |
|