manzt / juv

Reproducible Jupyter notebooks, powered by uv.
MIT License
80 stars 2 forks source link

add deps to `script.py` #48

Closed tlambert03 closed 1 week ago

tlambert03 commented 1 week ago

the readme describes using uvx run script.py, with implicit conversion to ipynb... but you don't seem to be able to add dependencies using, e.g. uvx juv add script.py pandas

is that in scope?

manzt commented 1 week ago

don’t need us! uv add —script script.py pandas :)

and if you don’t want to run as a notebook:,

uv run script.py

tlambert03 commented 1 week ago

woah. uv has grown so fast, so much i need to catch up with beyond just making environments and installing