Need help with restkit?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

benoitc
407 Stars 71 Forks Other 931 Commits 25 Opened issues

Description

an HTTP resource kit for Python

Services available

!
?

Need anything else?

Contributors list

# 7,298
Erlang
HTTP
Python
faceboo...
500 commits
# 44,367
CSS
irc-bot
jQuery
Shell
20 commits
# 40,078
Python
HTML
11 commits
# 114,545
Erlang
Shell
HTTP
wsgi
8 commits
# 13,461
Shell
TypeScr...
html5
Redux
3 commits
# 591,437
Python
gitlab
Shell
2 commits
# 185,642
Shell
Django
Swift
micropy...
1 commit
# 623,900
Python
1 commit
# 119,468
Flask
Shell
Postgre...
Ember
1 commit
# 208,104
Kuberne...
k8s
Nim
vms
1 commit
# 5,703
travis
circlec...
azure-p...
webfram...
1 commit
# 74,420
golang
appveyo...
travis
circlec...
1 commit
# 157,039
interfa...
Shell
HTML
C
1 commit
# 470,544
Shell
HTML
elastic...
CSS
1 commit
# 195,092
salesfo...
Django
HTML
CSS
1 commit
# 41,206
python-...
jython
gentoo
portage
1 commit
# 161,689
python3
C
prometh...
pubg
1 commit
# 530,677
xml-par...
Rust
HTML
Shell
1 commit
# 594,040
Heroku
invoici...
Rails
HTML
1 commit

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
  • Eventlet 
    _ and
    Gevent 
    _ support
  • 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

http://restkit.readthedocs.org

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 restkit
$ pip install -r requirements.txt
$ python setup.py install

From pypi::

$ pip install restkit

License

restkit is available under the MIT license.

.. Chunked transfer encoding: http://en.wikipedia.org/wiki/Chunkedtransfer_encoding .. _Basic Authentification: http://www.ietf.org/rfc/rfc2617.txt .. _OAuth: http://oauth.net/

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.