[Catalog-sig] permissive trove classification

Tarek Ziadé ziade.tarek at gmail.com
Wed Dec 26 18:43:53 CET 2007


I am implementing a PyPI-like server, to allow people using it as a
cheeseshop alternative. It may have its own trove classification though,
that differs from PyPI. This is intended because the server provide a
"package center" that has its own domain-specific categories.

To make `file_upload` work on both Pypi and my implementation, it has to be
permissive on the classifiers passed in the metadata.

In other words, if the classifier is not found in the server, it doesn't use
it. This would allow a distribution of eggs on several servers and a
decentralized way to manage troves.

I've tried to upload a file with a classifier that doesn't exists on Pypi
and it fails silently. The result was the lost of all metadata on the

I would like to suggest a "permissive trove classification" on servers that
implement a package index.

I can work on a more formal document (some kind of PEP?) to explain the
changes needed in the current
PyPI implementation and on a formal definition of a PyPI (server side) api
(a bit like the DB API). I am also willing to spend the time needed to code



View this message in context: http://www.nabble.com/permissive-trove-classification-tp14504481p14504481.html
Sent from the Python - catalog-sig mailing list archive at Nabble.com.

More information about the Catalog-SIG mailing list