Hacker News new | ask | show | jobs
by aprdm 86 days ago
Python existed for years before uv with a huge ecosystem, and will continue to do so after/if it dies
1 comments

uv, yes*, but really PEP 723:

https://peps.python.org/pep-0723/

* disclosure: We are a commercial client of astral.sh

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.
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).
Sounds a lot like vim/emacs modelines. This is neat for standalone scripts.