Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Terretta
7d ago
0 comments
Share
uv, yes*, but really PEP 723:
https://peps.python.org/pep-0723/
*
disclosure: We are a commercial client of astral.sh
0 comments
default
newest
oldest
the__alchemist
6d ago
This is cool! I ended up also inventing my own syntax to place at the top of one-off scripts to specify deps. (For single-file Python scripts, vs one with a full project dir that has pyproject.toml) I will adopt this instead.
notpushkin
7d ago
It’ll probably be a game changer for scripts, yes. Writing “portable” Python scripts was a nice exercise, though (and will be, for a while).
shurane
6d ago
Sounds a lot like vim/emacs modelines. This is neat for standalone scripts.
j
/
k
navigate · click thread line to collapse