74
you are viewing a single comment's thread
view the rest of the comments
[-] thesporkeffect@lemmy.world 4 points 4 months ago

Rye

By the creator of Flask and many other things

[-] NostraDavid@programming.dev 2 points 4 months ago* (last edited 4 months ago)

It comes with built-in ruff and uv, and can handle Python versioning for you!

Not sure if they want to eventually dissolve Rye into uv 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 using virtualenvwrapper with workon to jump between projects. zoxide can alleviate that problem, or presuming you have a ~/dev folder or similar, you could write a bash function that ls' that folder and lets you select a folder via fzf? Go ask ChatGPT about it or something.

edit2: link: https://rye.astral.sh/guide/installation/

this post was submitted on 08 Jul 2024
74 points (93.0% liked)

Python

6339 readers
9 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS