{ "info": { "author": "Flanders Heritage Agency", "author_email": "ict@onroerenderfgoed.be", "bugtrack_url": null, "classifiers": [ "Framework :: Pyramid", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application" ], "description": "UriHandler\n==========\n\n.. image:: https://badge.fury.io/py/urihandler.png\n :target: http://badge.fury.io/py/urihandler\n\n.. image:: https://travis-ci.org/OnroerendErfgoed/urihandler.png?branch=master\n :target: https://travis-ci.org/OnroerendErfgoed/urihandler\n.. image:: https://coveralls.io/repos/OnroerendErfgoed/urihandler/badge.png?branch=master\n :target: https://coveralls.io/r/OnroerendErfgoed/urihandler\n\nThis very simple application is meant to be the handler on a domain that\nhandles Cool Uri's (http://www.w3.org/TR/cooluris/) with 303 redirects.\n\nAll it does is map Uri's to other uri's and redirect them. To make thing easy\nyou can either redirect by hitting the full URI (eg.\n`http://id.example.com/foo/15`) or by querying a handle service (eg.\n`http://id.example.com/handle?uri=http://id.example.com/foo/15`). Both of these\nwill redirect you. The handle service also works for non-http URI's. Finally,\nthere's a service that just returns information without performing a redirect,\neg. `http://id.example.com/uris?uri=http://id.example.com/foo/15`. This can be\nhandy to bypass some of the strangeness that happens when you combine Cool uri's\nwith CORS and custom HTTP headers.\n\nConfiguration is done by editing a YAML file. For each URI you need to register\na regex and a redirect template. The regex should use named placeholders, as\nwell as the redirect string. An optional argument `mount` determines if your\n`match` is living at the server root or is absolute (eg. because it's a URN). Not\nsetting `mount` sets it to `True`.\n\n\n0.3.0 (12-04-2016)\n------------------\n\n- Added http caching to the `/uris` endpoint.\n\n0.2.0 (28-09-2015)\n------------------\n\n- Added a `/uris` endpoint that does not redirect, but just returns information.\n\n0.1.0 (27-09-2015)\n------------------\n\n- Initial version\n- Allows redirecting a a regular URI and with a query service.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OnroerendErfgoed/urihandler", "keywords": "web wsgi pyramid uri", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "urihandler", "package_url": "https://pypi.org/project/urihandler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/urihandler/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/OnroerendErfgoed/urihandler" }, "release_url": "https://pypi.org/project/urihandler/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "A tiny application that handles (cool) uri's.", "version": "0.3.0" }, "last_serial": 2059615, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0889bb0164cdba3048923dc398cef34b", "sha256": "70c3aedfa60e636bfb2ce0a0389eda1f60bb58a0538118bef5738413a8827370" }, "downloads": -1, "filename": "urihandler-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0889bb0164cdba3048923dc398cef34b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6377, "upload_time": "2015-09-27T19:17:18", "url": "https://files.pythonhosted.org/packages/55/42/2f608081c66e86cdccec8dd135dc878d41d8a95a05693edf82dc52045822/urihandler-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f7adc3e8f3c40aadf57fe45b4572291a", "sha256": "829d8d46b9640f013957a844eabeaf0aae0045cb94b6a9e69430e479f72b465f" }, "downloads": -1, "filename": "urihandler-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f7adc3e8f3c40aadf57fe45b4572291a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5042, "upload_time": "2015-09-27T19:17:13", "url": "https://files.pythonhosted.org/packages/53/3e/e1006e0643923368c301b9340caf35c3c7715a88e1a8e67b7d99f392c64c/urihandler-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4930b1ef64abdc2a007177ef053ae5ac", "sha256": "f631f4c3ea987763c2123d86277cc0236754ec5d20b6e99d8c7a617d0d65b915" }, "downloads": -1, "filename": "urihandler-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4930b1ef64abdc2a007177ef053ae5ac", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6723, "upload_time": "2015-09-28T10:18:44", "url": "https://files.pythonhosted.org/packages/d8/b5/24a62bd7d5781d7e70daae83149003c3a566522a4d3e524568366d4bc0f4/urihandler-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d908f73404e4eefb38bf5960ff7c1a68", "sha256": "af2a53557b9973a84613c01bb2ff89188ed2c589ab3d721fc6d9d5aa8454eaa3" }, "downloads": -1, "filename": "urihandler-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d908f73404e4eefb38bf5960ff7c1a68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5270, "upload_time": "2015-09-28T10:18:39", "url": "https://files.pythonhosted.org/packages/fb/83/6391d1b5810bda6e1b9d7d6b28ffe52db5eaf3cf2d7bf2e6458d5ad111cc/urihandler-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "ab254add625839399c20713c20dfd777", "sha256": "726b21798ccacf51fcd88d50de4fc1b23dd127e30763d634d391f9a0adab5247" }, "downloads": -1, "filename": "urihandler-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab254add625839399c20713c20dfd777", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7284, "upload_time": "2016-04-12T09:19:02", "url": "https://files.pythonhosted.org/packages/75/1d/72764cb9aad068051ce2d9213680eec06521a9036c443b4dab3d6d1a2c63/urihandler-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "786b9f40dfd3c95f0440cc9690837a82", "sha256": "ec952871fbd9d9a7ef209ac31e674092b10bddb1e367a2ea8c428dc6873059b8" }, "downloads": -1, "filename": "urihandler-0.3.0.tar.gz", "has_sig": false, "md5_digest": "786b9f40dfd3c95f0440cc9690837a82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5637, "upload_time": "2016-04-12T09:18:54", "url": "https://files.pythonhosted.org/packages/55/b5/0143a4be0b344c1567b96a23028952c7df7ea8a348cb7c47f395d200f752/urihandler-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab254add625839399c20713c20dfd777", "sha256": "726b21798ccacf51fcd88d50de4fc1b23dd127e30763d634d391f9a0adab5247" }, "downloads": -1, "filename": "urihandler-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab254add625839399c20713c20dfd777", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7284, "upload_time": "2016-04-12T09:19:02", "url": "https://files.pythonhosted.org/packages/75/1d/72764cb9aad068051ce2d9213680eec06521a9036c443b4dab3d6d1a2c63/urihandler-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "786b9f40dfd3c95f0440cc9690837a82", "sha256": "ec952871fbd9d9a7ef209ac31e674092b10bddb1e367a2ea8c428dc6873059b8" }, "downloads": -1, "filename": "urihandler-0.3.0.tar.gz", "has_sig": false, "md5_digest": "786b9f40dfd3c95f0440cc9690837a82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5637, "upload_time": "2016-04-12T09:18:54", "url": "https://files.pythonhosted.org/packages/55/b5/0143a4be0b344c1567b96a23028952c7df7ea8a348cb7c47f395d200f752/urihandler-0.3.0.tar.gz" } ] }