[–] d0mine 1y ago ↗ tldr: shebang that runs uv which understands https://peps.python.org/pep-0723/ to run Python script with dependencies installed on-the-fly (cached): #!/usr/bin/env -S uv run --script # /// script # requires-python = ">=3.12" # dependencies = [ # "ffmpeg-normalize", # ] # ///
2 comments
[ 2.0 ms ] story [ 21.7 ms ] thread