{ "info": { "author": "Jeff Hammel", "author_email": "jhammel@mozilla.com", "bugtrack_url": null, "classifiers": [], "description": "The Story of Toolbox\n====================\n\nToolbox is fundamentally a document-oriented approach to resource\nindexing. A \"tool\" consists three mandatory string fields -- name,\ndescription, and URL -- that are generic to the large class of problems\nof web resources, as well as classifiers, such as author, usage, type,\netc. A tool may have an arbitrary number of classifier fields as\nneeded. Each classifier consists of a set of values with which a tool\nis tagged. This gives toolbox the flexibility to fit a large number of\ndata models, such as PYPI, DOAP, and others.\n\n\nRunning Toolbox\n---------------\n\nYou can download and run the toolbox software yourself:\nhttp://github.com/k0s/toolbox\n\nTo serve in baseline mode, install the software and run::\n\n paster serve paste.ini\n\nThis will serve the handlers and static content using the paste\n(http://pythonpaste.org) webserver using ``README.txt`` as the\n``/about`` page and serving the data in ``sample``.\n\nThe dispatcher (``toolbox.dispatcher:Dispatcher``) is the central (WSGI)\nwebapp that designates per-request to a number of handlers (from\n``handlers.py``). The dispatcher has a few options:\n\n* about: path to a restructured text file to serve at ``/about``\n* model_type: name of the backend to use (memory_cache, file_cache, or couch)\n* template_dir: extra directory to look for templates\n\nThese may be configured in the ``paste.ini`` file in the\n``[app:toolbox]`` section by prepending with the namespace\n``toolbox.``. It is advisable that you copy the example ``paste.ini``\nfile for your own usage needs. Additional ``toolbox.``-namespaced\narguments will be passed to the model. For instance, to specify the\ndirectory for the ``file_cache`` model, the provided ``paste.ini`` uses\n``toolbox.directory = %(here)s/sample``.\n\n\nArchitecture\n------------\n\nToolbox uses a fairly simple architecture with a single abstract data\nmodel allowing an arbitrary number of implementations to be constructed::\n\n Interfaces Implementations\n\n +----+ +-+-----+\n |HTTP| | |files|\n +----+---\\ +-----+ | +-----+\n |-|model|-+-+-----+\n +------+-/ +-----+ | |couch|\n |script| | +-----+\n +------+ +-+------+\n | |memory|\n | +------+\n +-+---+\n |...|\n +---+\n\nToolbox was originally intended to use a directory of files, one per project,\nas the backend. These were originally intended to be HTML files as the\nabove model may be clearly mapped as HTML::\n\n
{{description}}
\n {{for field in fields}}\n