S
smisk

bsddb

Berkeley DB-based IPC store. Uses the bsddb3 Python bindings to provide a persistent, process-shared key-value store. Suitable for session storage when running multiple FastCGI worker processes on the same host.

Functions

smisk.ipc.bsddb.open(path, flags=0)
Parameterspath (str) — filesystem path for the database file
flags (int) — bsddb open flags
Return typeSharedDict

Classes

class smisk.ipc.bsddb.SharedDict

A dict-like interface backed by a Berkeley DB hash database. Operations are protected by a file-level lock to allow safe concurrent access across processes.