A practical guide to uv, a fast Python package manager written in Rust, demonstrated through a real-world example using mlx_whisper for audio transcription. Learn how to transform Python scripts into convenient command-line tools while managing dependencies efficiently.
⏰ Timestamps
0:00 - Introduction to uv and its purpose
0:21 - Overview of uv's features and installation
0:45 - Examining our mlx_whisper transcription script
1:23 - Demonstration: Running uv with mlx_whisper
1:55 - Using inline dependency metadata
2:17 - Converting Python scripts to shell commands
2:56 - Setting up system-wide accessibility
3:27 - Handling file extensions
3:43 - Using the --script flag for non-.py files
📒 Resources
🔸 Code before - https://github.com/mneedham/LearnData...
🔸 Code after - https://github.com/mneedham/LearnData...
🔸 uv - https://github.com/astral-sh/uv
Auf dieser Seite können Sie das Online-Video Level up your Python scripts with uv mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Learn Data with Mark 05 Februar 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,473 Mal angesehen und es wurde von 187 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!