Comand-line key-value store
Project description
kvutil: a command-line key-value store
A command-line program written in Python 3.7 to wrap a dbm implementation in order to store key-value pairs. kvutil has no third-party requirements outside of the Python 3.7 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.6+.
From PyPI
pip install kvutil
From source, using Pyinstaller
First, install a Python 3.6+ 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.6+.
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
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
kvutil-1.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
kvutil-1.0.2-py3-none-any.whl
(4.1 kB
view hashes)