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
On this page of the site you can watch the video online Level up your Python scripts with uv with a duration of hours minute second in good quality, which was uploaded by the user Learn Data with Mark 05 February 2025, share the link with friends and acquaintances, this video has already been watched 4,473 times on youtube and it was liked by 187 viewers. Enjoy your viewing!