fsdbm /

Filename Size Date modified Message
fsdbm
70 B
348 B
1.8 KB

odbm

Installation

$ pip install fsdbm

Usage

>>> db = FSDBM('var/test.fdb')
>>> db.clear()
>>> db['a'] = {'a': range(10)}
>>> db['a'] == {'a': range(10)}
True
>>> db['b'] = 1
>>> len(db)
2
>>> del db['a']
>>> db.keys()
['b']