10 Mar 2005 22:45
Re: [chiPy] pypi
Ian Bicking <ianb <at> colorstudy.com>
2005-03-10 21:45:40 GMT
2005-03-10 21:45:40 GMT
Brant Harris wrote: > Weren't we going to discuss PyPI over at catalog-sig? Not like I > care, I'm good with whateva'. I was going to write up something specific to what we've done, but I haven't. But what they hey, I'll just copy this over; this is all in reference to code we (ChiPy people) have in an svn repository: http://lonelylion.com/chipy/pypi/ -- I started moving things to ZPT templates, Brian Ray started documenting the database and building some tools around it (I'm not 100% clear there), and several people have added an xmlrpc interface to build a command-line client, which is what the rest of Brant's email involves... > I had some ideas for the PyPI client package... Here's the basic API > layout idea. Just brainstorming, really. Everything would sit in the > pypi module, or perhaps pypi.client: > > def search(*args, **kw): > """ > Return a list of packages with the first argument as a search string. > Specific attributes can be searched with keyword arguments. > """ > > def install(package, silently=0): > """ > Downloads a package and then runs "setup.py build" and "setup.py > install" on the > sucker. > The <silenty> would do so without outputing any info, so that a(Continue reading)
RSS Feed