Skip to main content

A library that makes consuming a REST API easier and more convenient with Cache

Project description

slumbercache

Slumber is a Python library that provides a convenient yet powerful object-oriented interface to ReSTful APIs. It acts as a wrapper around the excellent requests and abstracts away the handling of URLs, serialization, and request processing.

Install

pip install slumbercache

Usage

Example Usage with Cache enabled

import slumbercache

api = slumbercache.API("http://slumbercache.in/api/v1/", auth=("demo", "demo"), cache=True)
## GET http://slumbercache.in/api/v1/note/
api.note.get()

Credit

slumbercache is a fork of slumber with Cache added for better performance

Changelog

development version

0.1.1

  • Minor Fixes

0.1.0

  • Initial public release of slumbercache

Project details


Download files

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

Source Distribution

slumbercache-0.1.1.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file slumbercache-0.1.1.tar.gz.

File metadata

File hashes

Hashes for slumbercache-0.1.1.tar.gz
Algorithm Hash digest
SHA256 30b3544cdcf9fe1e9907e4e663751ba4cf0754e0f697eb46bbf3eb55bd674f88
MD5 d5b31c4d5a75e9d199cca3f2853e7379
BLAKE2b-256 b4e5ef824e8f4c1dbfe60b411b8e4e765a5d30c23671f1a404e0b657f4121eec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page