Skip to content

Add persistence examples using shelve/dbm, lmdb #131

@alimanfoo

Description

@alimanfoo

As discovered in #129, the Python standard shelve module can be used for persistent storage as it provides the MutableMapping interface. This is a good alternative to using the file system directly as it avoids lots of files. It's also a good alternative to using a Zip file which needs care when writing to avoid duplicate entries. Similar benefits probably apply to LMDB which has a MutableMapping interface provided by zict.

It would be good to add some examples using shelve and LMDB to the tutorial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements to the documentationrelease notes doneAutomatically applied to PRs which have release notes.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions