baskt

This library allows you to quickly and easily use the Baskt API via Python.


License
MIT
Install
pip install baskt==0.0.8

Documentation

Baskt Python Bindings

This library allows you to quickly and easily use the Baskt API via Python.

Prerequisites

  • Python version 2.7+

Install Package

pip install baskt

Example

import baskt

# create baskt
response = baskt.create()

# load baskt
db = baskt.load(response['baskt'])

# save key/value pair
db.set('key', 'value')

# get key
db.get('key')

# get key with default value
db.get('key', 'default')

# remove key
db.rem('key')

Notice

All baskts which are not accessed for more than 30 days will be removed.