{ "info": { "author": "Benoit Chesneau", "author_email": "benoitc@e-engura.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Other Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Internet", "Topic :: Internet :: Proxy Servers", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Networking", "Topic :: Utilities" ], "description": "hroute\n------\n\nsimple HTTP proxy based on `tproxy `_. \n\nFeatures\n++++++++\n\n- location rewriting\n- links rewriting to handle proxy / paths\n- simple configuration\n- vhosts support\n- logging (coming)\n- authentification (coming)\n\n\nRequirements\n------------\n\n- `Python `_ 2.6 and sup (Python 3 not suppported yet)\n- `gevent `_ >= 0.13.4\n- `setproctitle `_ >= 1.1.2\n- `tproxy `_ >= 0.5.2\n- `http-parser `_ >= 0.3.3\n- `lxml `_ \n\nInstall\n-------\n\n::\n \n $ pip install -r https://github.com/downloads/benoitc/hroute/requirements.txt\n $ pip install hroute\n\n\nUsage\n-----\n\nCreate a configuration file named **route** in /var/spool/hroute\n(default path) or any folder you want, for example in /tmp, put the\nfollowing configuration::\n\n {\n \"all\": {\n \"routes\": {\n \"/\": {\n \"remote\": \"benoitc.io:80\",\n \"rewrite_response\": true\n },\n \"/local\": {\n \"remote\": \"127.0.0.1:8000\"\n },\n \"/google\": {\n \"remote\": \"google.com:80\"\n },\n \"/gunicorn\": {\n \"remote\": \"gunicorn.org:80\",\n \"rewrite_response\": true\n },\n \"/googles\": {\n \"remote\": \"encrypted.google.com:443\",\n \"ssl\": true,\n \"rewrite_response\": true\n }\n }\n }\n }\n\n\nthen launch hroute::\n\n $ hroute -s /tmp -w 3\n\nand go on `http://127.0.0.1:5000/gunicorn\n`_. You should see the gunicorn.org\nwebsite.\n\n\nMore features soon.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/benoitc/hroute", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "hroute", "package_url": "https://pypi.org/project/hroute/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hroute/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/benoitc/hroute" }, "release_url": "https://pypi.org/project/hroute/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "HTTP router", "version": "0.2.0" }, "last_serial": 793030, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fb2a3d0354f98dac2bc219fcf0fdfd66", "sha256": "de08462c91766034fe2abe2b1ee6cf40f3afd7e631cd6d7f46f2ebb4bf7b77a6" }, "downloads": -1, "filename": "hroute-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fb2a3d0354f98dac2bc219fcf0fdfd66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7544, "upload_time": "2011-05-04T15:59:53", "url": "https://files.pythonhosted.org/packages/16/25/7ab344eda4a640f3dca7dd03ac6e7d180ebfecd6dbdbc82ecc4991101d91/hroute-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4bf9f959b0ea48af60e0de9d777df155", "sha256": "82fb8bcffb8916ad08711b22177870c0b485ff7470fdb3869a1eb162ad056ef5" }, "downloads": -1, "filename": "hroute-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4bf9f959b0ea48af60e0de9d777df155", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7930, "upload_time": "2011-05-05T23:46:43", "url": "https://files.pythonhosted.org/packages/6e/52/0ebeeffa6610b202b02eeacb6b52ba66c199050ce54734ec7567dbe06854/hroute-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bf9f959b0ea48af60e0de9d777df155", "sha256": "82fb8bcffb8916ad08711b22177870c0b485ff7470fdb3869a1eb162ad056ef5" }, "downloads": -1, "filename": "hroute-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4bf9f959b0ea48af60e0de9d777df155", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7930, "upload_time": "2011-05-05T23:46:43", "url": "https://files.pythonhosted.org/packages/6e/52/0ebeeffa6610b202b02eeacb6b52ba66c199050ce54734ec7567dbe06854/hroute-0.2.0.tar.gz" } ] }