Easy data cache management
Project description
Cobnut
Simple cache management to make your life easy.
Requirements
- Python 3.6+
Installation
pip install cobnut
Quick Start
For the tutorial, you must install redis as dependency
pip install cobnut[redis]
The simplest Cobnut setup looks like this:
from cobnut import Cobnut, RedisModel
cobnut = Cobnut(redis_connection=RedisModel(host="localhost"))
cobnut.set(key='mykey', data='mydata')
cobnut.get(key='mykey')
# Response: mydata
cobnut.delete(key='mykey')
cobnut.get(key='mykey')
# Response: None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arsene-0.1.4.tar.gz
(4.7 kB
view hashes)
Built Distribution
arsene-0.1.4-py3-none-any.whl
(5.9 kB
view hashes)