Metadata-Version: 2.1
Name: kvsh
Version: 0.1.1
Summary: Persistent key-value store for the command line
Home-page: https://github.com/aatifsyed/kvsh
License: MIT
Author: Aatif Syed
Author-email: aatifsyedyp@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: argcomplete (>=1.12.3,<2.0.0)
Requires-Dist: argparse (>=1.4.0,<2.0.0)
Requires-Dist: dataclasses-json (>=0.5.6,<0.6.0)
Requires-Dist: jsonschema (>=4.2.1,<5.0.0)
Requires-Dist: logging-actions (>=0.1.6,<0.2.0)
Requires-Dist: xdg (>=5.1.1,<6.0.0)
Project-URL: Repository, https://github.com/aatifsyed/kvsh
Description-Content-Type: text/markdown

# kvsh, a command-line key-value store for the shell
- Cross-shell persistence
- Easy UI, with tab completion
## `kv` for quick operations
```shell
$ kv hello world
$ kv hello
world
```
## `kvv` for advanced functionality
```shell
$ kv hello world
$ kv foo food
$ kv bar bartender
$ kvv env # Print key=value iff key is a valid environment variable name
hello=world
foo=food
bar=bartender
$ kvv remove hello
$ kvv env
hello=world
$ kvv clear
```
## Installation
Recommended installation with [`pipx`](https://github.com/pypa/pipx):
```shell
pipx install kvsh
```
Tab completion with [`argcomplete`](https://github.com/kislyuk/argcomplete):
```shell
pipx install argcomplete
eval "$(register-python-argcomplete kv)"
eval "$(register-python-argcomplete kvv)"
```
