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

An asynchronous RESTful client library.

Project Description
==============
restful_client
==============

restful_client is an asychronous library that assists in writing clients for
RESTful services.

A RESTClient is an extension of a urllib2.Request class that also contains its own HTTP opener
so the request can be executed and results passed through an (optional) call back mechanism.

The default_callback function in __init__ demonstrates the protocol that should be supported by
the callback function.

See http://docs.python.org/library/urllib2.html#request-objects for urllib2 Request documentation
and http://www.voidspace.org.uk/python/articles/urllib2.shtml
and http://www.doughellmann.com/PyMOTW/urllib2/ for useful usage notes.

TODO: Add support for timeouts at per client instance level (via opener).
TODO: May need to implement smart exception handling. When YOU start encountering reproducable
HTTP exceptions (or others) please contact Ben so he can see what exception handling strategy
would work best for this library.
Release History

Release History

This version
History Node

0.1

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
restful_client-0.1.tar.gz (3.3 kB) Copy SHA256 Checksum SHA256 Source Dec 22, 2011

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