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

I don't disagree with you, but in my experience even having a requirements.txt file is a luxury when it comes to scientific Python code: A lot of the time I end up having to figure out dependencies based purely on whatever the script is importing


If they can't be bothered to make a requirements.txt file, I'm not seeing how uv will be of much help...


uv basically makes that a default. You don’t need to be bothered. Just uv add your dependencies and they are in your pyproject.toml.


Or use `uv add --script`. Then dependencies gets recorded in the script itself, which is great for single-file scripts. But obviously, that won't help if the author can't be bothered to take those steps




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

Search: