Skip to main content

An asynchronous RESTful client library.

Project description


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 for urllib2 Request documentation
and 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.

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for restful_client, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size restful_client-0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page