Skip to main content

A pybind11 wrapper for Mojang's custom LevelDB.

Project description

Amulet LevelDB

A pybind11 wrapper for Mojang's modified LevelDB library.

Install

pip install amulet-leveldb

Use

from amulet.leveldb import LevelDB

create_if_missing = True  # optional input. Default False.
db = LevelDB("path/to/db", create_if_missing)
db.put(b"key", b"value")
print(db.get(b"key"))
# b"value"

See the source code for full documentation.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amulet_leveldb-3.0.5a2.tar.gz (17.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

amulet_leveldb-3.0.5a2-cp314-cp314-win_arm64.whl (514.9 kB view details)

Uploaded CPython 3.14Windows ARM64

amulet_leveldb-3.0.5a2-cp314-cp314-win_amd64.whl (544.2 kB view details)

Uploaded CPython 3.14Windows x86-64

amulet_leveldb-3.0.5a2-cp314-cp314-macosx_10_15_universal2.whl (2.9 MB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

File details

Details for the file amulet_leveldb-3.0.5a2.tar.gz.

File metadata

  • Download URL: amulet_leveldb-3.0.5a2.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for amulet_leveldb-3.0.5a2.tar.gz
Algorithm Hash digest
SHA256 0c5f810af3cb41b51ad4ae3d1d62c54746d4dc3ea0f7c13719956d5a53458afa
MD5 2c1571fdf167c8943066f4c03ad813fd
BLAKE2b-256 0836fbe2ab370d32961cc281047b0ebae681242d1a73955ec99e9e00057d6123

See more details on using hashes here.

File details

Details for the file amulet_leveldb-3.0.5a2-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.5a2-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 2911149dc5d1fd1a54cc51169ead9139928e88cad701ba10fc23465b5066637e
MD5 a68122e86852399e10776e4cc3cd3b3d
BLAKE2b-256 5ac2b5f04b73d81102a8da946ed37b28175af114571616df3b4e948449a39bbc

See more details on using hashes here.

File details

Details for the file amulet_leveldb-3.0.5a2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.5a2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d1d02b090f0874479df4af1d55e7be062d2a64e8da6f0c18a0970ce18e7bca97
MD5 89fdd559f1f563b43e8a3555b95c0c94
BLAKE2b-256 99d6e6911a116e858c93dd1d6c0936e764296fdd6bffa510fb465a627ff59537

See more details on using hashes here.

File details

Details for the file amulet_leveldb-3.0.5a2-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.5a2-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 7dce25cdcc8b2a7c22b1a0f4b4ce07dd70a2c6573f9681da2cf68005301e1397
MD5 0b15c1776ac5fd46ab7329f56f5c85c2
BLAKE2b-256 243ceae76686d81d31b1cf697c4cca5ad70f443f196836ea83aad072bf21f9d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page