this post was submitted on 06 Nov 2024
202 points (98.1% liked)
Programming
17432 readers
116 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's something of a "14 competing standards" situation, but uv seems to be the nerd favourite these days.
This! Haven't used that one personally, but seeing how good ruff is I bet it's darn amazing, next best thing that I used has been PDM and Poetry, because Python's first party tooling has always been lackluster, no cohesive way to define a project and actually work it until relatively recently
It is. In this older article (by Anna-Lena Popkes) uv is still not in the middle, but I would claim it's the new King of Project Management, when it comes to Python.
uv init --name <some name> --package --app
and you're off to the races.Are you cloning a repo that's
uv
-enabled? Justuv sync
and you're done!Heck, you can now add dependencies to a script and just
uv run --script script.py
(IIRC) and you don't need to install anything -uv
will take care of it all, including a needed Python version.Only downside is that it's not 1.0 yet, so the API can change at any update. That is the last hurdle for me.