Skip to main content

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

Screenshot of the Dworshak CLI helptree

helptree is Typer utility, imported from the typer-helptree library.


Sister Projects in the Dworshak Ecosystem

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 .key file 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dworshak-1.2.9.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dworshak-1.2.9-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for dworshak-1.2.9.tar.gz
Algorithm Hash digest
SHA256 4a485e5de6ae05234d24261967142440d008b2ebd62790a276122e8e342ebe10
MD5 68d413e4bdf2dc4c85aec0e9bf09beec
BLAKE2b-256 5d07da106dfeac76240fe780e5fc31d4cd1ec9425ee300dc3df3a29b03803d86

See more details on using hashes here.

Provenance

The following attestation bundles were made for dworshak-1.2.9.tar.gz:

Publisher: publish.yml on City-of-Memphis-Wastewater/dworshak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for dworshak-1.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2bdf0ffdf65e9878361cff5e58e65f1e9e7109896ea43b35daa4e43d8d2894
MD5 b0579baff6946a9a1524037f25a5e8d6
BLAKE2b-256 9a63467f2a1d5a0ebb2c8930faec5e53e233b1bb9aa0ee59b94fef60e98a04a9

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page