About
Restkit is an HTTP resource kit for Python. It allows you to easily access to HTTP resource and build objects around it. It’s the base of couchdbkit a Python CouchDB framework.
Restkit is a full HTTP client using pure socket calls and its own HTTP parser. It’s not based on httplib or urllib2.
Features
Full compatible HTTP client for HTTP 1.0 and 1.1
Threadsafe
Use pure socket calls and its own HTTP parser (It’s not based on httplib or urllib2)
Map HTTP resources to Python objects
Read and Send on the fly
Reuses connections
Support Chunked transfer encoding in both ways.
Support Basic Authentification and OAuth.
Multipart forms and url-encoded forms
Streaming support
Proxy handling
HTTP Filters, you can hook requests in responses with your own callback
Compatible with Python 2.x (>= 2.6)
Documentation
Installation
restkit requires Python 2.x superior to 2.6 (Python 3 support is coming soon)
To install restkit using pip you must make sure you have a recent version of distribute installed:
$ curl -O http://python-distribute.org/distribute_setup.py $ sudo python distribute_setup.py $ easy_install pip
To install from source, run the following command:
$ git clone https://github.com/benoitc/restkit.git $ cd gaffer $ pip install -r requirements.txt $ python setup.py install
From pypi:
$ pip install restkit
License
restkit is available under the MIT license.
Release files for restkit 4.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| restkit-4.2.1.tar.gz | 1.9 MB | Details |
Release files / restkit-4.2.1.tar.gz
| Download URL | restkit-4.2.1.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d5e025a0ae1c00eea8f17df5258679964d95f6e35f3c150764d5b9a4cfb8f79
|
|
BLAKE2b-256 checksum How to use checksums |
c5080c7905567b581e957e42a57a7650747c93e597730c9c2ae902e66004f711
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |