Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'json': 0.07; 'pypi': 0.07; 'wednesday,': 0.07; 'lawrence': 0.09; '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; 'assume': 0.14; 'language.': 0.14; 'egg': 0.16; 'exe': 0.16; 'missing?': 0.16; 'mixture': 0.16; 'paragraphs,': 0.16; 'pypi?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'slight': 0.16; 'spacing': 0.16; 'subject:pypi': 0.16; 'files.': 0.16; 'index': 0.16; 'prevent': 0.16; 'language': 0.16; 'wrote:': 0.18; 'thanks.': 0.20; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; '---': 0.24; "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; 'url:mailman': 0.30; 'getting': 0.31; 'url:wiki': 0.31; 'figure': 0.32; 'url:python': 0.33; 'guess': 0.33; "i'd": 0.34; 'problem': 0.35; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'really': 0.36; 'url:listinfo': 0.36; 'useful': 0.36; 'url:org': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'aside': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'read': 0.60; 'free': 0.61; 'viruses': 0.61; 'making': 0.63; 'protection': 0.63; 'our': 0.64; 'love': 0.65; 'antivirus': 0.68; 'weekly.': 0.68; 'hoping': 0.75; '(click': 0.84; 'fast,': 0.84; 'maybe,': 0.84; 'ban': 0.91; 'from.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: pypi - package metdata Date: Wed, 18 Jun 2014 21:12:46 +0100 References: <3e4dadd0-79d5-4c19-9a8e-04004f62fa63@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-18-5-57.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <3e4dadd0-79d5-4c19-9a8e-04004f62fa63@googlegroups.com> X-Antivirus: avast! (VPS 140618-0, 18/06/2014), Outbound message X-Antivirus-Status: Clean 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: 48 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403122355 news.xs4all.nl 2851 [2001:888:2000:d::a6]:38536 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73378 On 18/06/2014 20:24, 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? > Why not use google and do a site specific search of pypi? Slight aside would you please use the mailing list https://mail.python.org/mailman/listinfo/python-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com