**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
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_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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c26da4359c12709e0ce2afb8a3cd253d8852636a02f813b59d8a2011dcd47076
|
|
| MD5 |
d58c5d713becaa4d00415034cdd72b81
|
|
| BLAKE2b-256 |
a411761edae1712f8555beb1994ebfbe979625c1e80b93d2eac8e4a729d746ca
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dworshak_access-0.1.4.tar.gz -
Subject digest:
c26da4359c12709e0ce2afb8a3cd253d8852636a02f813b59d8a2011dcd47076 - Sigstore transparency entry: 805118873
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/dworshak-access@f467d5eb807cf3b6f0aa7a918de5c522ccec68ac -
Branch / Tag:
refs/tags/v0.1.4 - 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@f467d5eb807cf3b6f0aa7a918de5c522ccec68ac -
Trigger Event:
release
-
Statement type:
File details
Details for the file dworshak_access-0.1.4-py3-none-any.whl.
File metadata
- Download URL: dworshak_access-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.9 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 |
389016a0534417ae11a7369322196ae23042b5a0fbcf3dda046db605b0665568
|
|
| MD5 |
61d4332efae3890349ce9c796c0b0138
|
|
| BLAKE2b-256 |
61ea457e765b547b5026911e3c79339e9548ee40b8210ddc56cd9d74fcce7985
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dworshak_access-0.1.4-py3-none-any.whl -
Subject digest:
389016a0534417ae11a7369322196ae23042b5a0fbcf3dda046db605b0665568 - Sigstore transparency entry: 805118878
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/dworshak-access@f467d5eb807cf3b6f0aa7a918de5c522ccec68ac -
Branch / Tag:
refs/tags/v0.1.4 - 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@f467d5eb807cf3b6f0aa7a918de5c522ccec68ac -
Trigger Event:
release
-
Statement type: