/slumber

A library that makes consuming a RESTful API easier and more convenient

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Slumber

Slumber is a python library that provides a convenient yet powerful object orientated interface to ReSTful APIs. It acts as a wrapper around the excellent httplib2 library and abstracts away the handling of urls, serialization, and processing requests.

Getting Help

There are two primary ways of getting help. We have a mailing list hosted at Google (http://groups.google.com/group/python-slumber/) and an IRC channel (#slumber on irc.freenode.net) to get help, want to bounce idea or generally shoot the breeze.

QuickStart

  1. Install Slumber:

    $ pip install slumber
    
  2. Install Optional Requirements:

    pip install simplejson pyyaml
    
  3. Use Slumber!

Requirements

Slumber requires the following modules.

  • Python 2.5+
  • httplib2
  • simplejson (If using Python 2.5, or you desire the speedups for JSON serialization)
  • pyyaml (If you are using the optional yaml serialization)