https://github.com/jcoelho93/shell-database
A key value store straight from your terminal
https://github.com/jcoelho93/shell-database
command-line-tool database key-value-store python sqlite3 terminal
Last synced: 2 months ago
JSON representation
A key value store straight from your terminal
- Host: GitHub
- URL: https://github.com/jcoelho93/shell-database
- Owner: jcoelho93
- License: mit
- Created: 2020-09-21T08:38:28.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2021-04-25T18:51:05.000Z (about 5 years ago)
- Last Synced: 2025-11-27T20:12:43.998Z (7 months ago)
- Topics: command-line-tool, database, key-value-store, python, sqlite3, terminal
- Language: Python
- Homepage:
- Size: 64.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Shell Database
[](https://app.circleci.com/pipelines/github/jcoelho93/shell-database)
[](https://pypi.org/project/shell-database/)


[](https://github.com/jcoelho93/shell-database/blob/master/LICENSE)
A key value store straight from your terminal.
## Installation
You can install shell-database from `pypi.org`:
```console
> 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 --encrypt
```
### Getting the value of a key
```console
> shdb get name
John Doe
```
### Decrypting and encrypted value
```console
> shdb get password
b'51b8684c4dc77da0979f1b647caa707c'
> shdb get password --decrypt
```
### Integrating with other tools
```console
> 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.