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
Comments URL: https://news.ycombinator.com/item?id=43932010
Points: 9
# Comments: 0
Login to add comment
Other posts in this group

Article URL: https://github.com/FossifyOrg
Comments URL: https://news.ycombinator.com/ite

Article URL: https://www.brainonllm.com/
Comments URL: https://news.ycombinator.com/item?id
After 25 years of writing software, I was feeling nostalgic for the kinds of things that got me into programming in the first place: the old DOS demoscene. I spent a weekend seeing if I could reca
