Skip to main content

A key value store for the terminal

Project description

Shell Database

CircleCI PyPI PyPI - Python Version PyPI - Downloads PyPI - License

A key value store straight from your terminal.

Installation

You can install shell-database from pypi.org:

> pip install shell_database

Getting started

Adding a new key value pair

> shdb add name "John Doe"

Adding a new key value pair with encryption

> shdb add password <your_password> --encrypt

Getting the value of a key

> shdb get name
John Doe

Decrypting and encrypted value

> shdb get password
b'51b8684c4dc77da0979f1b647caa707c'

> shdb get password --decrypt
<your_password>

Integrating with other tools

> shdb add az-rg azure-resource-group-123

> az postgres db create --resource-group $(shdb get az-rg) --server-name server_name --name database

License

MIT License

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

shell_database-1.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

shell_database-1.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file shell_database-1.1.0.tar.gz.

File metadata

  • Download URL: shell_database-1.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for shell_database-1.1.0.tar.gz
Algorithm Hash digest
SHA256 baaa8a3deb4062ad43368594b986a7164f24da07ad17fa5ff97c0c5a58221650
MD5 35bb716591b01fead7cd0185254be06b
BLAKE2b-256 3a365b8685de27231874ffc55b2a3929f6f265aa7c6e7ebb1891274f5f14bd2b

See more details on using hashes here.

File details

Details for the file shell_database-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: shell_database-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for shell_database-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0401ade954adb9626daf1dc10e6d58cbc6952b1e3f2c6b2a3966680ade6a54b
MD5 019f69ef50f9a5e74826f959a66fa04b
BLAKE2b-256 5fab1afa13cf77a80063a560ca7c5f9c85e60ad9f0dbf6e2c0d6ac2815872b05

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