This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
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:

dev

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

wtf?

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.

program

Install it:

Use it:

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

lib

Get it:

$ pip install rump

Use it:

import rump

router = rump.Router(
    name='my-router',
    ...
)

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

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rump-0.2.1.tar.gz (34.8 kB) Copy SHA256 Checksum SHA256 Source Oct 9, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting