Show HN: Req Update Check

github.com

11 points by hookedonwinter a day ago


Hi HN! This is my first open source package. PyCharm used to have a nifty tool to show you requirements.txt packages that needed updates. You could click a button and open the github page, click a button to upgrade, all in the file. It was super convenient. Then it went away.

The package was written in a few languages that I have no experience with, but I figured I'd build something that worked for my use case, and maybe it can help you, too. After installing, you point it at your requirements.txt file, and it will spit out something like this:

----

File caching enabled The following packages need to be updated:

requests: 2.28.0 -> 2.31.0 [minor]

- Pypi page: https://pypi.python.org/project/requests/

- Homepage: https://requests.readthedocs.io

- Changelog: https://requests.readthedocs.io/en/latest/community/updates/...

redis: 4.5.0 -> 5.0.1 [major]

- Pypi page: https://pypi.python.org/project/redis/

- Homepage: https://github.com/redis/redis-py

- Changelog: https://github.com/redis/redis-py/blob/master/CHANGES

----

Unlike some pip tools that will show you every single package that's outdated, this focuses only on the top level packages you have in your requirements file.

I'd love any feedback! Thanks for your time.

https://github.com/ontherivt/req-update-check

esafak - a day ago

I would rename Req to "python requirements.txt" as the title is quite ambiguous. Also, you can still manage packages, no?

https://www.jetbrains.com/help/pycharm/installing-uninstalli...

lleymrl651 - 14 hours ago

good

smallflykkoo - a day ago

[dead]