restkit

an HTTP resource kit for Python

  • 所有者: benoitc/restkit
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

About

Restkit is an HTTP resource kit for Python <http://python.org>. It allows
you to easily access to HTTP resource and build objects around it. It's the
base of couchdbkit <http://www.couchdbkit.org>
a Python CouchDB <http://couchdb.org>_ 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 <http://www.eventlet.net>_ and Gevent <http://www.gevent.org>_ 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/Chunked_transfer_encoding
.. _Basic Authentification: http://www.ietf.org/rfc/rfc2617.txt
.. _OAuth: http://oauth.net/

主要指標

概覽
名稱與所有者benoitc/restkit
主編程語言Python
編程語言Python (語言數: 1)
平台
許可證Other
所有者活动
創建於2010-02-04 13:21:24
推送於2021-04-07 17:53:52
最后一次提交2015-12-10 11:47:27
發布數76
最新版本名稱4.2.2 (發布於 )
第一版名稱0.8 (發布於 )
用户参与
星數403
關注者數14
派生數71
提交數0.9k
已啟用問題?
問題數117
打開的問題數21
拉請求數16
打開的拉請求數4
關閉的拉請求數11
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?