kutana.storages package

Module contents

class kutana.storages.NaiveMemory(max_size=2000000)

Bases: kutana.storage.Storage

Storage for storing data with naive approach. It uses only memory and will wipe some portion of stored data when number of keys will react certain amount.

It’s not persistent and not safe. It’s here for tiny projects and debugging.

load(name, default=None)
save(name, value)