Skip to content

Plyvel, a fast and feature-rich Python interface to LevelDB

License

Notifications You must be signed in to change notification settings

AustEcon/plyvel-wheels

 
 

Repository files navigation

Plyvel-wheels

https://travis-ci.org/wbolster/plyvel.svg?branch=master

Why does this fork exist?

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)

Note:

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

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.

About

Plyvel, a fast and feature-rich Python interface to LevelDB

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Cython 51.4%
  • Python 41.3%
  • C++ 3.8%
  • Shell 1.3%
  • Makefile 1.1%
  • Dockerfile 0.9%
  • C 0.2%