The sole reason for this fork existing is to provide cross platform wheels for ease of installation - Namely on Mac and Windows which do not currently have bundled leveldb libraries. (This repo was previously named plyvel-win32 as it was only for windows)
In other words, I am compiling the C++ leveldb -> x86-64 binaries + doing the cython build and wheel creation so that you don't have to. I have no intention of doing any development work on plyvel beyond this - please continue to use the main repository for all other purposes.
To install:
> py -3.9 -m pip install plyvel-wheels
Then use like you normally use plyvel:
import plyvel
db = plyvel.DB('/tmp/testdb/', create_if_missing=True)
There is a single failing test for windows:
- test_open_read_only_dir
Where there is a discrepancy in the type of error message that is thrown when trying to access a db in a read-only directory. I am unsure if this is of any significance in practice.
Plyvel is a fast and feature-rich Python interface to LevelDB.
Plyvel has a rich feature set, high performance, and a friendly Pythonic API. See the documentation and project page for more information:
Note that using a released version is recommended over a checkout from version control. See the installation docs for more information.