3 ms·
Not exactly what you're talking about, but `uv` lets you specify dependencies in the header of scripts: https://docs.astral.sh/uv/guides/scripts/#declaring-scri
by philomath_mn 2y ago
Not exactly what you're talking about, but `uv` lets you specify dependencies in the header of scripts: https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies https://docs.astral.sh/uv/guides/scripts/#declaring-script-d...
I think what you describe really only makes sense for a single file script. I _do not_ want to manage dependency hell within my own source files.
- teroshan 2y agoThis isn't `uv`-specific, this is part of PEP 723 – Inline script metadata https://peps.python.org/pep-0723/ https://peps.python.org/pep-0723/