semidbm icon indicating copy to clipboard operation
semidbm copied to clipboard

Cross platform (fast) DBM interface in python

Results 13 semidbm issues
Sort by recently updated
recently updated
newest added

It should error out or return the correct result. ``` (Pdb) self.store["blah"] = "1" (Pdb) "blah" in self.store False (Pdb) self.store["blah"] b'1' (Pdb) self.store (Pdb) semidbm.__version__ '0.5.1' ```

```python >>> import semidbm >>> db = semidbm.open('test', 'n') >>> del db[b'nonexistent'] Traceback [...] KeyError: b'nonexistent' >>> db[b'foo'] = b'bar' >>> db[b'foo'] b'exi' >>> db.close() >>> db = semidbm.open('test', 'r')...

Hello, Congrats for this nice project. pip install semidbm does not work on Python 3.7. Is it planned to update it on PyPI? Thanks!

In read-only mode, open data file as read-only to avoid crash on read-only filesystems

Using Python 3.7's `shelve` with the default `dbm` I run into the same size limitation noted here http://jamesls.com/semidbm-a-pure-python-dbm.html (notably `HASH: Out of overflow pages. Increase page size`) using a Mac....

In google cloud function, If you call semidbm.db.open( filename, "r" ), it happens that error 「Function failed on loading user code. Error message: [Errno 30] Read-only file system: '/env/local/lib/python3.7/site-packages/pykakasi/kanwadict3.db/data'」 (...

Hi @jamesls and team, Looks like there has not been a release for near 5 years now. Are there any plans to address this, specially merging open PRs to fix...

…ified key only if it is not already set, otherwise the method will return the already existing value of the key