skillfed

plyvel

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

plyvel v1.5.1 2.3M downloads/30d#3,153 on PyPI580
Permissive license BSD License AGING released

What it is and what it does

Plyvel wraps LevelDB, a high-performance embedded key-value storage engine, and exposes it through a Python API. It is designed for applications that need fast, persistent storage of key-value pairs without the overhead of a separate database server. The package is built with Cython and requires compilation against LevelDB headers, which adds installation friction on platforms without prebuilt wheels.

The library is classified as Production/Stable and has been in active use since its first release in 2012. It supports a rich feature set including iterators, snapshots, and batch operations. The aging maintenance status reflects that the last release was over a year ago, though the repository remains active and no security vulnerabilities are recorded. It is suitable for applications requiring embedded, high-speed key-value storage, such as caching layers, local indices, or data processing pipelines.

Use it for:

  • Building a high-performance local cache or index for a data processing application.
  • Storing application state or configuration in a persistent, queryable key-value store.
  • Implementing a time-series or log storage backend for monitoring or analytics.
  • Prototyping or running a small-scale database without deploying a separate database service.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Plyvel is a Python interface to LevelDB, a fast key-value storage library. It provides read and write access to LevelDB databases with a Pythonic API.

Yes, if you need embedded key-value storage with high performance and are comfortable with C++ compilation requirements. The package is stable and production-ready, with no known vulnerabilities. The aging maintenance status is not a blocker—the repository is still active. Install friction is moderate but manageable with prebuilt wheels on common platforms.

Install

plyvel on PyPI

pip

pip install plyvel

uv

uv add plyvel

poetry

poetry add plyvel

Installing plyvel

Before you install

Medium install friction due to C++ compilation requirements (Cython-based bindings). The package is aging but stable; last release was 2024-01-15 and the repository remains active with recent commits as of 2025-09-03. Prebuilt wheels are available for multiple Python versions on Linux x86_64.

License in practice

BSD License (permissive) places no significant restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install plyvel

import plyvel
db = plyvel.DB(b'/tmp/testdb', create_if_missing=True)
db.put(b'key', b'value')
print(db.get(b'key'))

Requires LevelDB development headers and a C++ compiler; prebuilt wheels available for Linux x86_64, but other platforms may require compilation.

Verify before relying

  • Whether the package supports the latest Python versions or has known incompatibilities.
  • Performance characteristics and typical throughput compared to other embedded key-value stores.
  • Whether the aging maintenance status indicates planned deprecation or stable long-term support.

Package facts

License BSD License (permissive)
Python support not specified
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance aging — 942 days since the last release
Last repo commit
First released
Downloads 2,305,077/month — #3,153 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: plyvel-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; plyvel-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; plyvel-1.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; plyvel-1.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; plyvel-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; plyvel-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: POSIXProgramming Language :: C++Programming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: DatabaseTopic :: Database :: Database Engines/ServersTopic :: Software Development :: Libraries :: Python Modules

Tags

leveldb python interfacekey-value store pythonembedded database pythonfast key-value storageleveldb bindingspersistent key-value databasenosql embedded database
embedded-databasekey-value-storeleveldb

More Python Modules packages