Plyvel is a fast and feature-rich Python interface to LevelDB.
Plyvel’s key features are:
Rich feature set
Plyvel wraps most of the LevelDB C++ API and adds some features of its own. In addition to basic features like getting, putting and deleting data, Plyvel allows you to use write batches, database snapshots, very flexible iterators, prefixed databases, bloom filters, custom cache sizes, custom comparators, and other goodness LevelDB has to offer.
Friendly Pythonic API
Plyvel has a friendly and well-designed API that uses Python idioms like iterators and context managers (
withblocks), without sacrificing the power or performance of the underlying LevelDB C++ API.
Plyvel executes all performance-critical code at C speed (using Cython), which means Plyvel is a good fit for high performance applications.
Plyvel comes with extensive documentation, including a user guide and API reference material.
Python 2 and Python 3 compatibility
Plyvel works with both Python 2 and Python 3, without any API differences.
You should know that Plyvel is a hobby project, written and maintained by me, Wouter Bolsterlee, in my spare time. Please consider making a small donation to let me know you appreciate my work. Thanks!
- Installation guide
- User guide
- API reference
- Version history
- Contributing and developing