Skip to main content

**dworshak-access** is a lightweight library. It exposes the **get_secrets()** function, to allow a program to leverage credentials that have been established using the Drowshak CLI tool, which is a separate package.

Project description

dworshak-access is a lightweight library.

Purpose

Allow a program to leverage credentials that have been established using the Drowshak CLI tool, which is a separate package.

Functions exposed in dworshak-access:

  • check_vault() # For troubleshooting automated testing.
  • get_credential() # The meat and potatoes.

Example

from dworshak_access import get_credential

service_name = "MyThirdFavoriteAPI"
item_id_u = "username"
item_id_p = "password"

user = get_credential(service_name,item_id_u)
pass = get_credential(service_name,item_id_p)

# Then use these in your program

Cryptography Library

The only external Python library used is crytography, for the Fernet class.

On a Termux system, cryptography can be built from source if the user first installs Rust with pkg install rust. Is uv sync better at accomplishing this, due to the rust packagig location? Argue and let me know. Alteratively, a Termux user can run pkg install python-crytophy, then build a fresh venv folder using the --system-site-packages flag to include the now system-wide crytography package. Or maybe you don't need a venv at all. Hm.

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_access-0.1.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

dworshak_access-0.1.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file dworshak_access-0.1.4.tar.gz.

File metadata

  • Download URL: dworshak_access-0.1.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dworshak_access-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c26da4359c12709e0ce2afb8a3cd253d8852636a02f813b59d8a2011dcd47076
MD5 d58c5d713becaa4d00415034cdd72b81
BLAKE2b-256 a411761edae1712f8555beb1994ebfbe979625c1e80b93d2eac8e4a729d746ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for dworshak_access-0.1.4.tar.gz:

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

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_access-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for dworshak_access-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 389016a0534417ae11a7369322196ae23042b5a0fbcf3dda046db605b0665568
MD5 61d4332efae3890349ce9c796c0b0138
BLAKE2b-256 61ea457e765b547b5026911e3c79339e9548ee40b8210ddc56cd9d74fcce7985

See more details on using hashes here.

Provenance

The following attestation bundles were made for dworshak_access-0.1.4-py3-none-any.whl:

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

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