Supported Storage Backends

This page only details storage backends shipped with the package.

Caches

Any class can be used for a cache assuming it implements the abc.Cache Protocol.

However the following ship with the package:

class levelling.caches.Memory

An in memory cache utilising a dictionary internally

Datastores

Any class can be used for a cache assuming it implements the abc.Datastore Protocol.

This is the currently used default datastore

class levelling.datastores.Sqlite

A simplistic, serverless SQL implementation of the Datastore Protocol