you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago* (3 children)

uv mostly gets rid of the "venv activation" thing (mostly bc you can still use it if you really want, but you don't need to), you can do uv run main.py and it'll just work, no need to even install packages explicitly, it'll also do that for you and make sure your uv.lock is in sync with your environment.

it's the most hassle-free experience I've had with python, by a long shot.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year ago (2 children)

    Sounds like at least a minor improvement. Can those me moved and still work? Like, if I move the project folder, do I have to reinitialize it and download all the packages again?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago

    ah, it's a massive improvement. Everything is in your project dir, so you can move it around. But uv is the fastest package manager, so reinstalling most things doesn't take time; with the exception of dependencies that need to compile code in different langs.

  • source
  • parent