stores#

Store implements the key-value stores and storage helpers.

Module provides implementations of various key-value stores that conform to a simple key-value interface.

The primary goal of these storages is to support implementation of caching.

Classes

stores.BaseStore()

Abstract interface for a key-value store.

stores.InMemoryBaseStore()

In-memory implementation of the BaseStore using a dictionary.

stores.InMemoryByteStore()

In-memory store for bytes.

stores.InMemoryStore()

In-memory store for any type of data.

stores.InvalidKeyException

Raised when a key is invalid; e.g., uses incorrect characters.