74
Python has too many package managers
(dublog.net)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Rye
By the creator of Flask and many other things
It comes with built-in
ruff
anduv
, and can handle Python versioning for you!Not sure if they want to eventually dissolve
Rye
intouv
or what, but for now it's one of the best (better than Poetry, IMO)edit: it also uses the pypoetry.toml standard, something Poetry doesn't (because Poetry predates pyproject.toml becoming a standard).
One possible downside: I've heard Rye doesn't honor XDG, which means it has its own location for its config. I don't mind, but perhaps you do.
A second possible downside is that Rye doesn't let you centralize your venvs, so each
.venv
goes into each project folder, so no usingvirtualenvwrapper
withworkon
to jump between projects. zoxide can alleviate that problem, or presuming you have a~/dev
folder or similar, you could write a bash function thatls
' that folder and lets you select a folder viafzf
? Go ask ChatGPT about it or something.edit2: link: https://rye.astral.sh/guide/installation/