Comments (1)
LMDB is not a dictionary:
- Items are fixed as strings (or perhaps buffers or integers), arbitrary mappings aren't supported
- Keys may have multiple values
- Because of 2,
del
requires an optionalvalue
parameter. in
cannot be implemented more efficiently thanget()
- There is no
mdb_txn_items()
, LMDB uses cursors for iteration.
Really, the binding is not supposed to be pretty, that is a job for higher level code, and the further it deviates from the LMDB API, the harder it is to maintain in the long term - especially as everyone starts adding their favourite functions ;)
Think of it as the difference between SQLalchemy and sqlite3 modules.
from py-lmdb.
Related Issues (20)
- Written data in the database contains weird character sequences. HOT 3
- SIGBUS when reading from Environment HOT 4
- json.JSONDecoder causes Environment.begin to throw ReadersFullError HOT 2
- MDB_BAD_RSLOT after fork due to spare txn
- installing lmdb for Blender bundled Python 3.5.3 on Ubuntu 22.04 from pip or scratch HOT 1
- py-lmdb: Using system version of liblmdb. Using cffi extension. /usr/bin/ld: cannot open linker script file python.map: No such file or directory HOT 1
- installing lmdb for bundled Python 3.5.3 from Blender 2.79a in Ubuntu 16.04 HOT 3
- lmdb stuck/hang when use multiprocessing process(pytorch dataloder). HOT 2
- install error on windows with python 3.12 backend HOT 2
- Consider upgrading the LMDB library HOT 3
- [Bug] Memory leak occurring when using `lmdb.open`
- Linux x86_64 wheel for Python 3.12 HOT 1
- Remove me from PyPI HOT 1
- Does py-lmdb support python coroutines (asyncio)? HOT 1
- Path to patch command is hardcoded
- Env memory leak HOT 1
- Project Status? HOT 1
- Fails to build with Python 3.13 due to removal of PyObject_AsReadBuffer HOT 4
- 1.5.0 release on PyPI is incomplete (only 3.10 MacOS wheel present) HOT 2
- LMDB v < 1.4.1 fails to install with pip HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-lmdb.