Eighty/Twenty

.plan for Gordon Weakliem

View on GitHub
3 January 2025

Inline Script Dependencies

by Gordon Weakliem

(via Simon Willison)

TIL about inline script dependencies which is something that uv supports - basically if you have a python file that requires some external dependencies you can essentially declare an environment (python version + requirements.txt) and uv will take care of setting it up, so instead of needing separate requirements.txt and all that, you can package it all in one file.

tags: