<div dir="ltr"><div><div>Would something like <a href="http://pypi.h1.botanicus.net/static/dump.txt.gz">http://pypi.h1.botanicus.net/static/dump.txt.gz</a> be useful to you? (warning: 57mb expanding to 540mb). Each line is a JSON-encoded dict containing a single package release.<br>

<br></div><div>for line in gzip.open('dump.txt.gz'):<br>    dct = json.loads(line)<br>    ....<br><br></div><div>etc<br></div><div><br></div>The code for it is very simple, would be willing to clean it up and turn it into a cron job if people found it useful.<br>

<br>Note the dump above is outdated, I only made it as a test.<br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 May 2013 21:12, Daniel Holth <span dir="ltr"><<a href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yeah, I've been using the "run bandersnatch" API, but the local<br>
storage requirement is a bit hefty.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, May 15, 2013 at 4:11 PM, Donald Stufft <<a href="mailto:donald@stufft.io">donald@stufft.io</a>> wrote:<br>
> Nvm missed the one web request requirement. No I don't think so.<br>
><br>
> On May 15, 2013, at 4:07 PM, Daniel Holth <<a href="mailto:dholth@gmail.com">dholth@gmail.com</a>> wrote:<br>
><br>
>> Is there an API for "all the metadata for everything" that doesn't<br>
>> require one web request per package version? Maybe something like an<br>
>> rdiff-backup of a database?<br>
>> _______________________________________________<br>
>> Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
>> <a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</div></div></blockquote></div><br></div>