Skip to main content

Persistent key-value store for the command line

Project description

kvsh, a command-line key-value store for the shell

  • Cross-shell persistence
  • Easy UI, with tab completion

kv for quick operations

$ kv hello world
$ kv hello
world

kvv for advanced functionality

$ 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:

pipx install kvsh

Tab completion with argcomplete:

pipx install argcomplete
eval "$(register-python-argcomplete kv)"
eval "$(register-python-argcomplete kvv)"

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

kvsh-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

kvsh-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file kvsh-0.1.2.tar.gz.

File metadata

  • Download URL: kvsh-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2

File hashes

Hashes for kvsh-0.1.2.tar.gz
Algorithm Hash digest
SHA256 672b0378c1ee153f032ce0bf1a3b62bbc6dd64ae59042dd81f7a3bb80325a2f8
MD5 2a75711726b0aa768d4009eef2365dbc
BLAKE2b-256 31fb3c294bec3c1a69da03bf3984d527dafdc147da1c0b3b39d6354e2460f58e

See more details on using hashes here.

File details

Details for the file kvsh-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kvsh-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2

File hashes

Hashes for kvsh-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f006da18117ddb6337023250802f08ef3df5864009ce759d422ca80b906b6df
MD5 7f2774f23a33862ab6345e02102f84e2
BLAKE2b-256 f9f4f1fae3be9fdc8604c2e8c5770689cde61fbf9516adcca139a838fb2bdad2

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