Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73380
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: pypi - package metdata |
| Date | 2014-06-18 16:39 -0400 |
| References | <f3b8fccb-aecd-4ae0-8be6-ce4a8e4317a1@googlegroups.com> <3e4dadd0-79d5-4c19-9a8e-04004f62fa63@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.11123.1403123972.18130.python-list@python.org> (permalink) |
On 6/18/2014 3:24 PM, Maciej Dziardziel wrote: > On Wednesday, June 18, 2014 8:21:12 PM UTC+1, Maciej Dziardziel wrote: >> I wasn't quiet happy with the way search on pypi works, >> >> so I've got an idea of getting all package metadata from pypi >> >> and do search locally. The only problem is that I can't figure out >> >> where to get the data from. I tried to use bandersnatch to >> >> set up mirror, but all I've got was a mixture of egg, whl and exe files. >> >> Egg and whl are useful maybe, but I guess its not exactly what I want. >> >> Then I've found api: >> >> https://pypi.python.org/simple/ provides list of packages, >> >> and I can use json api to get metadata for each of them. > > > (Click post to fast, so I am continuing.) > > So its doable, but I am really hoping for a better way. > I assume pypi would ban me quickly for making thousands of requests, > and I'd love to be able to update index daily or weekly. > > Is there something I am missing? I believe there is an API for updates, that is meant for mirrors. But I agree with Mark that you should try google first -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
pypi - package metdata Maciej Dziardziel <fiedzia@gmail.com> - 2014-06-18 12:21 -0700
Re: pypi - package metdata Maciej Dziardziel <fiedzia@gmail.com> - 2014-06-18 12:24 -0700
Re: pypi - package metdata Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-18 21:12 +0100
Re: pypi - package metdata Maciej Dziardziel <fiedzia@gmail.com> - 2014-06-18 14:05 -0700
Re: pypi - package metdata Terry Reedy <tjreedy@udel.edu> - 2014-06-18 16:39 -0400
csiph-web