Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'skip:[ 20': 0.03; 'api.': 0.04; '21,': 0.07; 'pypi': 0.07; 'api': 0.09; 'chunks': 0.09; 'url:github': 0.09; 'url:rss': 0.09; 'cc:addr :python-list': 0.10; 'do,': 0.15; "(it's": 0.16; 'entries,': 0.16; 'filename:fname piece:signature': 0.16; 'for,': 0.16; 'fyi,': 0.16; 'herman': 0.16; 'request)': 0.16; 'subject:api': 0.16; 'subject:pypi': 0.16; 'url:issues': 0.16; 'url:json': 0.16; 'wrote:': 0.17; 'thu,': 0.17; '>>>': 0.18; '(or': 0.18; 'feb': 0.19; 'changes': 0.20; 'all,': 0.21; 'trying': 0.21; 'import': 0.21; 'hey': 0.21; 'large,': 0.22; 'setup.': 0.22; "i'd": 0.22; 'cheers,': 0.23; 'for?': 0.23; 'this:': 0.23; 'url:action': 0.23; "i've": 0.23; 'cc:2**1': 0.24; 'script': 0.24; 'specifically': 0.24; 'pass': 0.25; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'skip:[ 10': 0.26; 'am,': 0.27; 'cc:addr:gmail.com': 0.27; 'older': 0.27; 'author,': 0.29; 'description,': 0.29; 'though.': 0.29; 'url:mailman': 0.29; 'source': 0.29; 'probably': 0.29; 'this.': 0.29; "i'm": 0.29; 'push': 0.30; 'url:python': 0.32; 'file': 0.32; 'url:listinfo': 0.32; 'certain': 0.33; 'interface,': 0.33; 'real- time': 0.33; 'skip:d 20': 0.34; 'received:192.168.2': 0.34; 'thanks': 0.34; 'feed': 0.35; 'massive': 0.35; 'open': 0.35; 'pm,': 0.35; 'there': 0.35; 'michael': 0.36; 'but': 0.36; 'url:org': 0.36; 'smaller': 0.36; 'client': 0.36; 'should': 0.36; 'enough': 0.36; 'author': 0.37; 'xml': 0.37; 'does': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'instead': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'url:mail': 0.40; 'think': 0.40; 'easy': 0.60; 'matter': 0.61; 'tracking': 0.61; 'love': 0.63; 'here': 0.65; 'hoping': 0.72; 'absolutely': 0.84; '2013': 0.84; 'gregg': 0.84; 'url:2013': 0.84; 'response,': 0.93 Date: Thu, 21 Feb 2013 15:04:30 +0100 From: Philipp Hagemeister User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Michael Herman Subject: Re: pypi changelog api References: <51262239.3080907@phihag.de> In-Reply-To: X-Enigmail-Version: 1.4 OpenPGP: id=FAFB085C Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig98792C0C39C7FD2E5EE1BFBA" Cc: "python-list@python.org" , Gregg Caines 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: 107 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361455474 news.xs4all.nl 6952 [2001:888:2000:d::a6]:47531 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39426 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig98792C0C39C7FD2E5EE1BFBA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Just FYI, PyPi already has an RSS feed: https://pypi.python.org/pypi?:action=3Drss And instead of mailing the author, you should probably open an issue (or better yet, a pull request) at https://github.com/crateio/crate.web/issue= s For that matter - how does crate.io update their PyPi mirror? Cheers, Philipp On 02/21/2013 02:52 PM, Michael Herman wrote: > I'd love to see https://crate.io/ set up an API or at the very least an= RSS > feed for tracking changes. I've emailed the author about this. I think = if > enough people do, an RSS feed would be easy to setup. >=20 >=20 > On Thu, Feb 21, 2013 at 5:33 AM, Philipp Hagemeister = wrote: >=20 >> Hi Gregg, >> >> to get a smaller response, you can simply pass in a timestamp, like th= is: >> >>>>> client =3D xmlrpclib.ServerProxy('http://pypi.python.org/pypi') >>>>> import time >>>>> client.changelog(int(time.time() - 600)) >> [['vs.bootstrap.plonetheme', '1.0.1', 1361451748, 'update description,= >> classifiers'], ['numericalunits', '1.11', 1361451759, 'new release'], >> ['numericalunits', '1.11', 1361451760, 'add source file >> numericalunits-1.11.tar.gz'], ['autobahn_rce', '0.6.0', 1361451798, >> 'remove'], ['vs.bootstrap.plonetheme', '1.0.1', 1361451816, 'update >> description, classifiers'], ['vs.bootstrap.plonetheme', '1.0.1', >> 1361451882, 'update description, classifiers'], ['autobahn_rce', >> '0.5.9', 1361451956, 'new release'], ['autobahn_rce', '0.5.9', >> 1361451971, 'add source file autobahn_rce-0.5.9.tar.gz']] >> >> I don't think there's way to get older chunks of the changelog though.= >> What would you need those for? >> >> If you need the entire changelog, just download it once (it's not that= >> large, barely 40MB). Here it is, up until 1361452402 (now): >> >> http://phihag.de/2013/pypi-changelog-2013-02-20.json.bz2 >> >> What I'd like is a real-time push service of changelog entries, but I'= m >> not certain that would be scalable. >> >> Cheers, >> >> Philipp >> >> >> On 02/18/2013 02:16 AM, Gregg Caines wrote: >>> Hey all, >>> >>> I'm trying to write a script that tracks changes on pypi, and I've co= me >> across the xmlrpc interface, specifically the 'changelog' api. It's >> definitely what I'm looking for, but I get an absolutely massive xml >> response from it at once and I was hoping there might be either some w= ay to >> "page" through it with mulitple requests, or a different-but-similar A= PI. >>> >>> Thanks in advance, >>> Gregg >> >> >> >> -- >> http://mail.python.org/mailman/listinfo/python-list >> >> >=20 --------------enig98792C0C39C7FD2E5EE1BFBA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEAREKAAYFAlEmKXAACgkQ9eq1gvr7CFzbKgCgnOuS/nQBm2fpaheCn20WICcQ YtEAoLwcoiwWPKOxXoMe7DcBXIIHNx/8 =jdE6 -----END PGP SIGNATURE----- --------------enig98792C0C39C7FD2E5EE1BFBA--