2025-05-21

uv is awesome

i used astral's uv before but kinda ditched for not working for some packages, and having to remember new commands. i was not using uv's ways of doing things back then and was just using as a pip alternative making venv with uv.

then learned how to use uv from corey schafer's uv tutorial. it's a game changer in python's eco system. altimate tool that should've existed but glad it happended now. they were inspired cargo like system. i'm not sure what cargo is like, but it's like npm. no venv activation. just go to the directory and run the script.

it's an awesome tool and pretty excited to work on some python project again. glad corey is making new videos too.

some uv commands

uv init [project_name]
 
uv add [package]
uv add 'pydantic[email]'
uv remove [package]
 
uv tree [-d1]
uv run main.py
uv run manage.py runserver
uv sync