Manage local, encrypted credentials. The dworshak CLI leverages openssl, sqlite3, and cryptography.
Project description
Dworshak 🌊
dworshak is a cross-platform credential and config management solution.
There are options to manage encrypted cresentials, store plaintext config to JSON, or to leverage traditional Pythonic .env files.
dworshak is the CLI layer which allows your to edit and inspect values which you can also obtain programatically by using the wider dworshak ecosystem.
Quick Start
# Install the CLI (for most environments)
pipx install "dworshak[crypto]"
# Bootstrap the security layer
dworshak setup
# Register your first API
dworshak secret set "rjn_api" "username"
# -> You will then be prompted,
# with the input characters securely hidden.
dworshak helptree
helptree is Typer utility, imported from the typer-helptree library.
- GitHub: https://github.com/City-of-Memphis-Wastewater/typer-helptree
- PyPI: https://pypi.org/project/typer-helptree/
Sister Projects in the Dworshak Ecosystem
- CLI/Orchestrator: dworshak
- Interactive UI: dworshak-prompt
- Secrets Storage: dworshak-secret
- Plaintext Pathed Configs: dworshak-secret
- Classic .env Injection: dworshak-secret
pipx install dworshak
pip install dworshak-secret
pip install dworshak-config
pip install dworshak-env
pip install dworshak-prompt
🏗 The Ultimate Vision
To become a stable credential management tool for scripting the flow of Emerson Ovation data and related APIs, supporting multiple projects in and beyond at the Maxson Wastewater Treatment Plant.
Furthmore, we want to offer Python developers a seamless configuration management experience that they can enjoy for years to come, on all of their devices.
The Secret Sauce Behind dworshk-secret: Use Industry-standard AES (Fernet) encryption to manage a local ~/.dworshak/ directory which includes a .key file, a vault.db encrypted credential file, and a config.json file for controlling defaults.
🚀 Attributes
- Secure Vault: Fernet-encrypted SQLite storage for API credentials.
- Root of Trust: A local
.keyfile architecture that works identically on Windows and Termux. - CLI Entry: A
typer-based interface for setup and credential management.
Typical installation
pipx install "dworshak[crypto]"
Termux installation
pkg install python-cryptography
pipx install dworshak --system-site-packages
iSH Apline installation
apk add py3-cryptography
pipx install dworshak --system-site-packages
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dworshak-1.2.9.tar.gz.
File metadata
- Download URL: dworshak-1.2.9.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a485e5de6ae05234d24261967142440d008b2ebd62790a276122e8e342ebe10
|
|
| MD5 |
68d413e4bdf2dc4c85aec0e9bf09beec
|
|
| BLAKE2b-256 |
5d07da106dfeac76240fe780e5fc31d4cd1ec9425ee300dc3df3a29b03803d86
|
Provenance
The following attestation bundles were made for dworshak-1.2.9.tar.gz:
Publisher:
publish.yml on City-of-Memphis-Wastewater/dworshak
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dworshak-1.2.9.tar.gz -
Subject digest:
4a485e5de6ae05234d24261967142440d008b2ebd62790a276122e8e342ebe10 - Sigstore transparency entry: 962170498
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/dworshak@ea06bc362a2a659a891058c2c0a6ca7cb6c8e684 -
Branch / Tag:
refs/tags/v1.2.9 - Owner: https://github.com/City-of-Memphis-Wastewater
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ea06bc362a2a659a891058c2c0a6ca7cb6c8e684 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dworshak-1.2.9-py3-none-any.whl.
File metadata
- Download URL: dworshak-1.2.9-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d2bdf0ffdf65e9878361cff5e58e65f1e9e7109896ea43b35daa4e43d8d2894
|
|
| MD5 |
b0579baff6946a9a1524037f25a5e8d6
|
|
| BLAKE2b-256 |
9a63467f2a1d5a0ebb2c8930faec5e53e233b1bb9aa0ee59b94fef60e98a04a9
|
Provenance
The following attestation bundles were made for dworshak-1.2.9-py3-none-any.whl:
Publisher:
publish.yml on City-of-Memphis-Wastewater/dworshak
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dworshak-1.2.9-py3-none-any.whl -
Subject digest:
4d2bdf0ffdf65e9878361cff5e58e65f1e9e7109896ea43b35daa4e43d8d2894 - Sigstore transparency entry: 962170503
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/dworshak@ea06bc362a2a659a891058c2c0a6ca7cb6c8e684 -
Branch / Tag:
refs/tags/v1.2.9 - Owner: https://github.com/City-of-Memphis-Wastewater
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ea06bc362a2a659a891058c2c0a6ca7cb6c8e684 -
Trigger Event:
release
-
Statement type: