Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don't even need to edit any files yourself for most simple use cases.

    uv init
    uv add package
    uv run program.py
That's it.

If you inherit a codebase made this way from someone else, merely running uv run program.py will automatically create, launch the venv, configure packages, run your script, seamlessly on first launch.

Uv lets you almost forget virtual environments exist. Almost.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: