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!

Simple generic REST API client.

Project Description

PyHole provides an easy to use generic REST API client. It has object oriented style of calling and supports GET and POST connection methods. Connections are based on urllib and supports all protocols supported by urllib.

With PyHole you can create a call to any legacy REST API just in seconds!


A simple example will illustrate the powerful idea of PyHole calls:

>>> from pyhole import PyHole
>>> proxy = PyHole('')
>>> proxy.category[123]('get_items', item_id=34)
>>> proxy.category[123]('get_item', item_id=34).get()
#this will actually make HTTP GET Request on the given URL and prints the response.

Lazy evaluation of a proxy object ensures that a real HTTP connection is not made until get(), post() or put() method is called.

Release History

Release History

This version
History Node


History Node


History Node


History Node


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
PyHole-1.6.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Jul 13, 2013

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