TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Req Update Check

11 pointsby hookedonwinter9 days 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.<p>The package was written in a few languages that I have no experience with, but I figured I&#x27;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:<p>----<p>File caching enabled The following packages need to be updated:<p>requests: 2.28.0 -&gt; 2.31.0 [minor]<p>- Pypi page: <a href="https:&#x2F;&#x2F;pypi.python.org&#x2F;project&#x2F;requests&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pypi.python.org&#x2F;project&#x2F;requests&#x2F;</a><p>- Homepage: <a href="https:&#x2F;&#x2F;requests.readthedocs.io" rel="nofollow">https:&#x2F;&#x2F;requests.readthedocs.io</a><p>- Changelog: <a href="https:&#x2F;&#x2F;requests.readthedocs.io&#x2F;en&#x2F;latest&#x2F;community&#x2F;updates&#x2F;#release-history" rel="nofollow">https:&#x2F;&#x2F;requests.readthedocs.io&#x2F;en&#x2F;latest&#x2F;community&#x2F;updates&#x2F;...</a><p>redis: 4.5.0 -&gt; 5.0.1 [major]<p>- Pypi page: <a href="https:&#x2F;&#x2F;pypi.python.org&#x2F;project&#x2F;redis&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pypi.python.org&#x2F;project&#x2F;redis&#x2F;</a><p>- Homepage: <a href="https:&#x2F;&#x2F;github.com&#x2F;redis&#x2F;redis-py">https:&#x2F;&#x2F;github.com&#x2F;redis&#x2F;redis-py</a><p>- Changelog: <a href="https:&#x2F;&#x2F;github.com&#x2F;redis&#x2F;redis-py&#x2F;blob&#x2F;master&#x2F;CHANGES">https:&#x2F;&#x2F;github.com&#x2F;redis&#x2F;redis-py&#x2F;blob&#x2F;master&#x2F;CHANGES</a><p>----<p>Unlike some pip tools that will show you every single package that&#x27;s outdated, this focuses only on the top level packages you have in your requirements file.<p>I&#x27;d love any feedback! Thanks for your time.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ontherivt&#x2F;req-update-check">https:&#x2F;&#x2F;github.com&#x2F;ontherivt&#x2F;req-update-check</a>

2 comments

esafak9 days ago
I would rename Req to &quot;python requirements.txt&quot; as the title is quite ambiguous. Also, you can still manage packages, no?<p><a href="https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;pycharm&#x2F;installing-uninstalling-and-upgrading-packages.html" rel="nofollow">https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;pycharm&#x2F;installing-uninstalli...</a>
评论 #43937847 未加载
lleymrl6519 days ago
good