Alexis Métaireau wrote: > On Mon, Jun 14, 2010 at 4:12 PM, M.-A. Lemburg <[email protected]> wrote: > >> When designing such interfaces, please consider that the PyPI information >> is mostly static. If there's information missing, it should be easy to add >> it to e.g. a new info file placed into the package's "simple" directory >> that package tools could pick up in REST style. >> > > Yes, it can solve some problems pointed out here, and I'll consider that. > *but* it's not a solution to all problems, and RPC calls will be of a great > help in some cases, as it could be very long to fetch all metadata, process > it on the client side and return information about eg. a search by other > fields than name (give me all distributions from this author).
Agreed, that's why I think it would be useful to simply put all meta data into a SQLite database file and ship that as static file as well. Local clients could then download the database file (probably only a few MB) and work on it locally. This would also make searches in PyPI a lot faster... not only because searches could be done locally, but also because the server wouldn't have to handle the load of those searches from hundreds of clients. > But, definitively, yes, I'll consider that. Thanks ! -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jun 14 2010) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2010-07-19: EuroPython 2010, Birmingham, UK 34 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ Catalog-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/catalog-sig
