Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Upstream selection.

Project description

R(outing)Ump(ire) is an experimenal upstream (i.e. server) selector for HTTP requests. It does not proxy the request but instead integrates with a load-balancer or reverse-proxy that exposes an upstream selection interface:


$ git clone
$ cd rump
$ mkvirtualenv rump
(rump)$ pip install -e .[tests]
(rump)$ py.test test/ --cov=rump --cov-report term-missing


Typically you can embed complex routing logic directly in a load-balancer or reverse-proxy (e.g. nginx lua, varnish vcl, etc) and that’s what should be done 99% of the time.

This is an experiment to see what writing a Python based HTTP upstream selector would look like and what flexibility that gives you.

Use it as a program or embed it as a lib in your proxy.


Install it:

Use it:

$ rump list
$ rump show -d my-router
$ rump edit -d my-router
$ service rumpd status


Get it:

$ pip install rump

Use it:

import rump

router = rump.Router(

upstream = router.match_upstream(router.request_type(wsgi_environ))
if upstream:
   server = upstream()

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rump-0.2.1.tar.gz (34.8 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page