โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ
uv is a new, very fast tool for managing Python projects, versions and dependencies - we'll dive into core features in this video, including initializing projects, adding/removing dependencies to projects and scripts, inline script metadata and the use of pyproject.toml to manage dependencies (including optional and development dependencies)
๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐:
00:00 Intro to uv
02:03 Installing uv
04:01 Initialise a project with uv
05:06 pyproject.toml file
06:20 Installing dependencies with uv
10:00 Creating FastAPI app and running it with uv
11:59 uv sync command for updating environments
14:03 Installing Optional and Development Dependencies with UV
17:13 Removing dependencies with uv
17:47 Viewing the dependency tree with โuv treeโ command
18:18 Running scripts with UV
20:40 Inline Script Metadata
๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ:
๐ Blog: https://bugbytes.io/posts/
๐พ Github: https://github.com/bugbytes-io/drf-course-api
๐ฆ Twitter: https://twitter.com/bugbytesio
๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป:
uv docs: https://docs.astral.sh/uv
uv Github: https://github.com/astral-sh/uv
pyproject.toml file: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
Inline Script Metadata: https://packaging.python.org/en/latest/specifications/inline-script-metadata/
#python