Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Proxy Implementation

Project Description

I’m just a proxy

Loveingly extracted from werkzeug. A very useful proxy implementation, that I found to be useful outside the web context – hence the extraction.


pip install proxy

Basic Usage

from proxy_tools import Proxy
p = Proxy()

def get_current_user():
    return User.find_by_id(request['user_id'])

current_user = p(get_current_user)

# Or alternatively

from proxy_tools import module_property

def current_user():
    return User.find_by_id(request['user_id'])

# Then

Questions / Issues

Feel free to ping me on twitter: @tushman or add issues or PRs at

Thank you

To Armin Ronacher and the werkzeug team for their thought leadership and excellent work

Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
proxy_tools-0.1.0.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source May 5, 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