{ "info": { "author": "Rump Us", "author_email": "ru@mp.us", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: ISC License (ISCL)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "====\nrump\n====\n\n.. image:: https://travis-ci.org/bninja/rump.png\n :target: https://travis-ci.org/bninja/rump\n\n.. image:: https://coveralls.io/repos/bninja/rump/badge.png\n :target: https://coveralls.io/r/bninja/rump\n\nR(outing)Ump(ire) is an **experimenal** upstream (i.e. server) selector for\nHTTP requests. It does **not** proxy the request but instead integrates with a\nload-balancer or reverse-proxy that exposes an upstream selection interface:\n\n- nginx `X-Accel-* `_\n- ...\n\ndev\n===\n\n.. code:: bash\n\n $ git clone git@github.com:bninja/rump.git\n $ cd rump\n $ mkvirtualenv rump\n (rump)$ pip install -e .[tests]\n (rump)$ py.test test/ --cov=rump --cov-report term-missing\n\nwtf?\n====\n\nTypically you can embed complex routing logic directly in a load-balancer or\nreverse-proxy (e.g. nginx lua, varnish vcl, etc) and that's what should be\ndone 99% of the time.\n\nThis is an **experiment** to see what writing a Python based HTTP upstream\nselector would look like and what flexibility that gives you.\n\nUse it as a ``program`` or embed it as a ``lib`` in your proxy.\n\nprogram\n=======\n\nInstall it:\n\n- `ansible-rump `_\n- ...\n\nUse it:\n\n.. code:: bash\n\n $ rump list\n my-router\n $ rump show -d my-router\n ...\n $ rump edit -d my-router\n $ service rumpd status\n\n\nlib\n===\n\nGet it:\n\n.. code:: bash\n\n $ pip install rump\n \n \nUse it:\n\n.. code:: python\n\n import rump\n \n router = rump.Router(\n name='my-router',\n ...\n )\n\n upstream = router.match_upstream(router.request_type(wsgi_environ))\n if upstream:\n server = upstream()", "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/bninja/rump/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rump", "package_url": "https://pypi.org/project/rump/", "platform": "any", "project_url": "https://pypi.org/project/rump/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bninja/rump/" }, "release_url": "https://pypi.org/project/rump/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Upstream selection.", "version": "0.2.1" }, "last_serial": 1252577, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "9b6f094aea2f8caa32db17a6db1c369e", "sha256": "2ffcff047e4ba30761ffa7f90556e6c282b8b5f190979b8c91e3df31c3fc9648" }, "downloads": -1, "filename": "rump-0.2.0.tar.gz", "has_sig": false, "md5_digest": "9b6f094aea2f8caa32db17a6db1c369e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28351, "upload_time": "2014-10-07T04:40:30", "url": "https://files.pythonhosted.org/packages/38/f3/9995aefad06a7e5854368d015921c4622063c84e05bce9d0bfd47ee11b4c/rump-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "7eb5d7c011ff399b9190290da399fa82", "sha256": "857ad69152ec4e94401388e17cbf7ce6459aedd5f44d5e6baf2987b4ce5f24c6" }, "downloads": -1, "filename": "rump-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7eb5d7c011ff399b9190290da399fa82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34849, "upload_time": "2014-10-09T03:19:53", "url": "https://files.pythonhosted.org/packages/ca/cd/bfde05d262a0302dd88fd2d3ca1b0e6b1d81afeecbb72e823ec10c21632c/rump-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7eb5d7c011ff399b9190290da399fa82", "sha256": "857ad69152ec4e94401388e17cbf7ce6459aedd5f44d5e6baf2987b4ce5f24c6" }, "downloads": -1, "filename": "rump-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7eb5d7c011ff399b9190290da399fa82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34849, "upload_time": "2014-10-09T03:19:53", "url": "https://files.pythonhosted.org/packages/ca/cd/bfde05d262a0302dd88fd2d3ca1b0e6b1d81afeecbb72e823ec10c21632c/rump-0.2.1.tar.gz" } ] }