<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm sorry, I should have posted my commentary here, not in the separate thread.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font face="arial, helvetica, sans-serif">We have some issues with suggested "/simple" endpoint. Despite the need to scrap the web page, old endpoint allowed us to quickly find latest versions of the packages hosted on PyPI. We did a single request on IDE startup and showed outdated installed packages in the settings later. Index "/simple" however contains only package names and links to the dedicated pages with their artifacts (not for each of them, though). It means that now we have to make tons of individual requests to find the latest published version for each installed package. Isn't it going to load the service even worse?</font></blockquote><div><br></div><div>So, yes, we're interested most in the latest version of a package. </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-13 21:57 GMT+03:00 Donald Stufft <span dir="ltr"><<a href="mailto:donald@stufft.io" target="_blank">donald@stufft.io</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Jul 13, 2016, at 2:43 PM, Dmitry Trofimov <<a href="mailto:dmitry.trofimov@jetbrains.com" target="_blank">dmitry.trofimov@jetbrains.com</a>> wrote:</div><br><div><div dir="ltr">Hi,<div><br></div><div>to have information about available packages, PyCharm IDE currently parses</div><div>the PyPI index page (<a href="https://pypi.python.org/pypi?%3Aaction=index" target="_blank">https://pypi.python.org/pypi?%3Aaction=index</a>).</div><div>As it is going to be deprecated soon, we are looking for a workaround.</div><div><br></div><div>What we need is, making one request, to get the name and the version of all PyPI packages. Then we cache this information in the IDE (<a href="https://github.com/JetBrains/intellij-community/blob/7e16c042a19767d5f548c84f88cc5edd5f9d1721/python/src/com/jetbrains/python/packaging/PyPIPackageUtil.java" target="_blank">https://github.com/JetBrains/intellij-community/blob/7e16c042a19767d5f548c84f88cc5edd5f9d1721/python/src/com/jetbrains/python/packaging/PyPIPackageUtil.java</a>).</div></div></div></blockquote><div><br></div></span><div>By name and version, do you mean the latest version?</div></div><div><br></div><div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">—<span class="HOEnZb"><font color="#888888"><br>Donald Stufft<br></font></span></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div><br>
</div>
<br></div><br>_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards<br>Mikhail Golubev</div>
</div>