Skip to main content

Comand-line key-value store

Project description

kvutil: a command-line key-value store

A command-line program written in Python to wrap a dbm implementation in order to store key-value pairs. kvutil has no third-party requirements outside of the Python standard library.

Usage

Insert a key+value

kv mykey myvalue

Read a value

kv mykey

List all keys

kv -l

Delete a key+value

kv -rm mykey

Installation

kvutil requires Python 3.5+.

From PyPI

pip install kvutil

From source, using Pyinstaller

First, install a Python 3.5+ environment.

Then, run the following commands:

$ #clone repository
$ git clone https://github.com/mhv2109/kvutil.git && cd kvutil
$ #use the latest pip
$ pip install --upgrade pip
$ #install pyinstaller using pip
$ pip install pyinstaller
$ # create a single-file executable using pyinstaller
$ pyinstaller --onefile kvutil/kv.py

The resulting executable can be found in dist/.

Development

kvutil requires Python 3.5+.

Development dependencies are found in requirements.txt. Install them with pip install -r requirements.txt.

Tests are run using the built-in unittest framework and tox.

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

kvutil-1.0.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

kvutil-1.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file kvutil-1.0.3.tar.gz.

File metadata

  • Download URL: kvutil-1.0.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for kvutil-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fbcf02aa60104507dc7eac20a2fe27396121aca297e7057074a950cbd36518d2
MD5 f50ceabb6eb9fbac4268308eeea1a9b4
BLAKE2b-256 cdfe75425bc90214947707c147a62aea6767fbdb02558d53b1145ccb4be4b24b

See more details on using hashes here.

File details

Details for the file kvutil-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: kvutil-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for kvutil-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f8a3bc7f9493123b227bba529b1302483e5b73c822b97408fdb834c15d546b
MD5 e6fc4fd6500857eaa4160687ab12e4d4
BLAKE2b-256 77456f6103375ba3def96a96a63352524e4a9d1f36524165a7c086749cf7cb4b

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