Skip to main content

UNKNOWN

Project description

Coveralls Travis CI Latest Version https://img.shields.io/pypi/wheel/lsm-db-extras.svg https://img.shields.io/pypi/pyversions/lsm-db-extras.svg https://img.shields.io/pypi/l/lsm-db-extras.svg

Thread/Process safe shelves and other lam-db helpers

Installation

pip install lsm-db-extras

Usage example

from lsm_extras import Shelf, LSMDict

with Shelf("/tmp/test.ldb") as shelf:
    shelf["foo"] = True

with Shelf("/tmp/test.ldb") as shelf:
    print(shelf["foo"])


with LSMDict("/tmp/test-dict.ldb") as storage:
    storage[1] = True

with LSMDict("/tmp/test-dict.ldb") as storage:
    print(storage[1])

Project details


Download files

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

Source Distribution

lsm-db-extras-0.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file lsm-db-extras-0.1.tar.gz.

File metadata

  • Download URL: lsm-db-extras-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lsm-db-extras-0.1.tar.gz
Algorithm Hash digest
SHA256 dd7aad99f9fe2b4d5612cd901e1994aef1de433b828ccfb42aa259e0dc1f3cfe
MD5 8230548b208fb09ea30fb6f0f0d08a65
BLAKE2b-256 3980cd3b3e1ee38e133b35501dd8c33a11941722873c1427b1ba7fbfd3af4484

See more details on using hashes here.

Supported by

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