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
Melden Sie sich an, um einen Kommentar hinzuzufügen
Andere Beiträge in dieser Gruppe
Need some real life advice and stories from experienced folks.
I’ve been working for few years in a large company (think faang as a good approximation) in one of the departments under 1 manager.

Article URL: https://hal.science/hal-04179324v1/document
Comments URL: http