Skip to main content

A key-value store database written from the ground-up with speed in mind.

Project description

PYKVSDB

A key-value store database written from the ground-up with speed in mind.

Installation

PYKVSDB can be installed via pip:

pip install pykvsdb

Syntax

Setting Values

You can store a key-value pair in PYKVSDB with the set function:

pykvsdb.set("language", "python")

Getting Values

To retrieve a value, use the get function:

pykvsdb.get("language")

Saving to the file system

If you would like to be able to access your data later you will need to save it to the file system with save:

pykvsdb.save("test.db")

Loading a saved database

If you need to access a database saved to the file system again, you need to load it with load:

pykvsdb.load("test.db")

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

pykvsdb-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

pykvsdb-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pykvsdb-0.1.1.tar.gz.

File metadata

  • Download URL: pykvsdb-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.14 Linux/5.4.0-1090-azure

File hashes

Hashes for pykvsdb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 06800db19e358932ba2df1b8d51035c78c491f0df1a44b12762bdc3d3ae915ad
MD5 12ec8e59dc3c601b462d3e3a33a4ccd0
BLAKE2b-256 64d536c4a9379fcb6a45fb2049685a3ea6c01434f18e511a8a12a144ff9557b4

See more details on using hashes here.

File details

Details for the file pykvsdb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pykvsdb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.14 Linux/5.4.0-1090-azure

File hashes

Hashes for pykvsdb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2df0a696abf2bcf462aea5e27942c300f9f39dad2e3d3db3068ed033a2d786a0
MD5 0c19a033cfde47774d21c12da999db1b
BLAKE2b-256 43a96915eb520fe40155f2d06ee8826eb6b3a0061c79eb7300c2460371e297f5

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