Created
June 25, 2025 11:52
-
-
Save GavinRay97/787a3c9f0c6db6b8624102997fd6d380 to your computer and use it in GitHub Desktop.
Single-file Python scripts w/ uv + PEP 723
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S uv run --script | |
# /// script | |
# requires-python = ">=3.8" | |
# dependencies = [ | |
# "youtube-transcript-api", | |
# ] | |
# /// | |
# Taken from: https://www.cottongeeks.com/articles/2025-06-24-fun-with-uv-and-pep-723 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment