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.

Files for kvutil, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size kvutil-1.0.3-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size kvutil-1.0.3.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page