{ "info": { "author": "Alice Bevan-McGregor", "author_email": "alice@gothcandy.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "============\nweb.dispatch\n============\n\n \u00a9 2009-2017 Alice Bevan-McGregor and contributors.\n\n..\n\n https://github.com/marrow/web.dispatch\n\n..\n\n |latestversion| |ghtag| |downloads| |masterstatus| |mastercover| |masterreq| |ghwatch| |ghstar|\n\n\n\nIntroduction\n============\n\nDispatch is the process of taking some starting point and a path, then resolving the object that path refers to. This\nprocess is common to almost every web application framework (transforming URLs into controllers), RPC system, and even\nfilesystem shell. Other terms for this process include: \"traversal\", \"routing\", or \"lookup\".\n\nThis package speaks a standardized `dispatch protocol `_ and\nis not entirely intended for direct use by most developers. The target audience is instead the authors of frameworks\nthat may require such modular dispatch for use by their own users.\n\n\nInstallation\n============\n\nInstalling ``web.dispatch`` is easy, just execute the following in a terminal::\n\n pip install web.dispatch\n\n**Note:** We *strongly* recommend always using a container, virtualization, or sandboxing environment of some kind when\ndeveloping using Python; installing things system-wide is yucky (for a variety of reasons) nine times out of ten. We\nprefer light-weight `virtualenv `_, others prefer solutions as\nrobust as `Vagrant `_.\n\nIf you add ``web.dispatch`` to the ``install_requires`` argument of the call to ``setup()`` in your\napplication's ``setup.py`` file, this dispatcher will be automatically installed and made available when your own\napplication or library is installed. We recommend using \"less than\" version numbers to ensure there are no\nunintentional side-effects when updating. Use ``web.dispatch<3.1`` to get all bugfixes for the current release,\nand ``web.dispatch<4.0`` to get bugfixes and feature updates while ensuring that large breaking changes are not\ninstalled.\n\n\nDevelopment Version\n-------------------\n\n |developstatus| |developcover| |ghsince| |issuecount| |ghfork|\n\nDevelopment takes place on `GitHub `_ in the \n`web.dispatch `_ project. Issue tracking, documentation, and\ndownloads are provided there.\n\nInstalling the current development version requires `Git `_, a distributed source code management\nsystem. If you have Git you can run the following to download and *link* the development version into your Python\nruntime::\n\n git clone https://github.com/marrow/web.dispatch.git\n pip install -e 'web.dispatch[development]'\n\nYou can then upgrade to the latest version at any time::\n\n (cd web.dispatch; git pull; pip install -e '.[development]')\n\nIf you would like to make changes and contribute them back to the project, fork the GitHub project, make your changes,\nand submit a pull request. This process is beyond the scope of this documentation; for more information see\n`GitHub's documentation `_.\n\n\nVersion History\n===============\n\nVersion 3.0\n-----------\n\n* First version. Numbering kept parallel with primary dispatchers.\n\n\nLicense\n=======\n\nweb.dispatch has been released under the MIT Open Source license.\n\nThe MIT License\n---------------\n\nCopyright \u00a9 2009-2017 Alice Bevan-McGregor and contributors.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the \u201cSoftware\u201d), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the\nSoftware.\n\nTHE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n.. |ghwatch| image:: https://img.shields.io/github/watchers/marrow/web.dispatch.svg?style=social&label=Watch\n :target: https://github.com/marrow/web.dispatch/subscription\n :alt: Subscribe to project activity on Github.\n\n.. |ghstar| image:: https://img.shields.io/github/stars/marrow/web.dispatch.svg?style=social&label=Star\n :target: https://github.com/marrow/web.dispatch/subscription\n :alt: Star this project on Github.\n\n.. |ghfork| image:: https://img.shields.io/github/forks/marrow/web.dispatch.svg?style=social&label=Fork\n :target: https://github.com/marrow/web.dispatch/fork\n :alt: Fork this project on Github.\n\n.. |masterstatus| image:: http://img.shields.io/travis/marrow/web.dispatch/master.svg?style=flat\n :target: https://travis-ci.org/marrow/web.dispatch/branches\n :alt: Release build status.\n\n.. |mastercover| image:: http://img.shields.io/codecov/c/github/marrow/web.dispatch/master.svg?style=flat\n :target: https://codecov.io/github/marrow/web.dispatch?branch=master\n :alt: Release test coverage.\n\n.. |masterreq| image:: https://img.shields.io/requires/github/marrow/web.dispatch.svg\n :target: https://requires.io/github/marrow/web.dispatch/requirements/?branch=master\n :alt: Status of release dependencies.\n\n.. |developstatus| image:: http://img.shields.io/travis/marrow/web.dispatch/develop.svg?style=flat\n :target: https://travis-ci.org/marrow/web.dispatch/branches\n :alt: Development build status.\n\n.. |developcover| image:: http://img.shields.io/codecov/c/github/marrow/web.dispatch/develop.svg?style=flat\n :target: https://codecov.io/github/marrow/web.dispatch?branch=develop\n :alt: Development test coverage.\n\n.. |developreq| image:: https://img.shields.io/requires/github/marrow/web.dispatch.svg\n :target: https://requires.io/github/marrow/web.dispatch/requirements/?branch=develop\n :alt: Status of development dependencies.\n\n.. |issuecount| image:: http://img.shields.io/github/issues-raw/marrow/web.dispatch.svg?style=flat\n :target: https://github.com/marrow/web.dispatch/issues\n :alt: Github Issues\n\n.. |ghsince| image:: https://img.shields.io/github/commits-since/marrow/web.dispatch/3.0.0.svg\n :target: https://github.com/marrow/web.dispatch/commits/develop\n :alt: Changes since last release.\n\n.. |ghtag| image:: https://img.shields.io/github/tag/marrow/web.dispatch.svg\n :target: https://github.com/marrow/web.dispatch/tree/2.1.0\n :alt: Latest Github tagged release.\n\n.. |latestversion| image:: http://img.shields.io/pypi/v/web.dispatch.svg?style=flat\n :target: https://pypi.python.org/pypi/web.dispatch\n :alt: Latest released version.\n\n.. |downloads| image:: http://img.shields.io/pypi/dw/web.dispatch.svg?style=flat\n :target: https://pypi.python.org/pypi/web.dispatch\n :alt: Downloads per week.\n\n.. |cake| image:: http://img.shields.io/badge/cake-lie-1b87fb.svg?style=flat\n", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.org/project/web.dispatch/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marrow/web.dispatch", "keywords": "marrow", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "web.dispatch", "package_url": "https://pypi.org/project/web.dispatch/", "platform": "", "project_url": "https://pypi.org/project/web.dispatch/", "project_urls": { "Download": "https://pypi.org/project/web.dispatch/", "Homepage": "https://github.com/marrow/web.dispatch" }, "release_url": "https://pypi.org/project/web.dispatch/3.0.1/", "requires_dist": null, "requires_python": "", "summary": "Dispatch; a method to resolve path components to Python objects and enumerate available children using pluggable search mechanisms.", "version": "3.0.1" }, "last_serial": 3044057, "releases": { "3.0.0": [ { "comment_text": "", "digests": { "md5": "6d2439ece391d1725b69be4821bd4f30", "sha256": "b038077e5a77aa89a3b1604b6df40dc025e26b211a187a51cb7eb5092999b061" }, "downloads": -1, "filename": "web.dispatch-3.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "6d2439ece391d1725b69be4821bd4f30", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 23358, "upload_time": "2017-07-24T02:43:36", "url": "https://files.pythonhosted.org/packages/06/9f/c2db2121c4289c1d905ca60efaf6ea5fa4375b853822c2ce3f27bccbbaf0/web.dispatch-3.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76de6aa15b5f296f7a33e422204d9384", "sha256": "835a377b8b042602c0fe551d5648c1332b08cbeabfab6e5139ae08a3396550cf" }, "downloads": -1, "filename": "web.dispatch-3.0.0.tar.gz", "has_sig": true, "md5_digest": "76de6aa15b5f296f7a33e422204d9384", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8157, "upload_time": "2017-07-24T02:43:33", "url": "https://files.pythonhosted.org/packages/9a/d8/66610ae6763dd9e55ef17b489ab00089838893fe344568ddd98cc4906a4f/web.dispatch-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "36d8496439596686fa2f8bd508712367", "sha256": "83ae893de0fc7ab155051cacd10b1449ee4f829927eec8e84035a4cad14a3620" }, "downloads": -1, "filename": "web.dispatch-3.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "36d8496439596686fa2f8bd508712367", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 15411, "upload_time": "2017-07-24T04:33:10", "url": "https://files.pythonhosted.org/packages/9f/e6/5f9aea8dd74091632366bf7341cb6b83092b8d649d3b43ea518cd30c6821/web.dispatch-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f42e436488c6cd2652636ab2409e45f8", "sha256": "02169f90fa369eed7bedc794dd9d038b228b66d97056985beb85d630f64f4378" }, "downloads": -1, "filename": "web.dispatch-3.0.1.tar.gz", "has_sig": true, "md5_digest": "f42e436488c6cd2652636ab2409e45f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8177, "upload_time": "2017-07-24T04:33:08", "url": "https://files.pythonhosted.org/packages/78/d7/2357fa30f1bd6f47dc92df2be3bc4c19136ec249424eeefbe49774f452b9/web.dispatch-3.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "36d8496439596686fa2f8bd508712367", "sha256": "83ae893de0fc7ab155051cacd10b1449ee4f829927eec8e84035a4cad14a3620" }, "downloads": -1, "filename": "web.dispatch-3.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "36d8496439596686fa2f8bd508712367", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 15411, "upload_time": "2017-07-24T04:33:10", "url": "https://files.pythonhosted.org/packages/9f/e6/5f9aea8dd74091632366bf7341cb6b83092b8d649d3b43ea518cd30c6821/web.dispatch-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f42e436488c6cd2652636ab2409e45f8", "sha256": "02169f90fa369eed7bedc794dd9d038b228b66d97056985beb85d630f64f4378" }, "downloads": -1, "filename": "web.dispatch-3.0.1.tar.gz", "has_sig": true, "md5_digest": "f42e436488c6cd2652636ab2409e45f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8177, "upload_time": "2017-07-24T04:33:08", "url": "https://files.pythonhosted.org/packages/78/d7/2357fa30f1bd6f47dc92df2be3bc4c19136ec249424eeefbe49774f452b9/web.dispatch-3.0.1.tar.gz" } ] }