TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Req Update Check

11 点作者 hookedonwinter17 天前
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 条评论

esafak17 天前
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 未加载
lleymrl65116 天前
good