Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'json': 0.07; 'pypi': 0.07; 'wednesday,': 0.07; 'quiet': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'api': 0.11; 'jan': 0.12; 'assume': 0.14; 'egg': 0.16; 'exe': 0.16; 'missing?': 0.16; 'mixture': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:pypi': 0.16; 'files.': 0.16; 'index': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'header:User-Agent:1': 0.23; "i've": 0.25; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'idea': 0.28; 'quickly': 0.29; 'getting': 0.31; 'figure': 0.32; 'url:python': 0.33; 'guess': 0.33; "i'd": 0.34; 'problem': 0.35; "can't": 0.35; 'agree': 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'really': 0.36; 'useful': 0.36; 'url:org': 0.36; 'should': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'received:71': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'making': 0.63; 'love': 0.65; 'believe': 0.68; 'weekly.': 0.68; 'hoping': 0.75; '(click': 0.84; 'fast,': 0.84; 'maybe,': 0.84; 'received:fios.verizon.net': 0.84; 'updates,': 0.84; 'ban': 0.91; 'from.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: pypi - package metdata Date: Wed, 18 Jun 2014 16:39:15 -0400 References: <3e4dadd0-79d5-4c19-9a8e-04004f62fa63@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-71-175-90-87.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <3e4dadd0-79d5-4c19-9a8e-04004f62fa63@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403123972 news.xs4all.nl 2902 [2001:888:2000:d::a6]:45806 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73380 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