Skip to main content

Easy data cache management

Project description

Cobnut

Test license

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


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)

Uploaded Source

Built Distribution

arsene-0.1.4-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

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