Simple environment secret accessor for Python.
Project description
Shhh
Shhh is a dead simple secret accessor, that retrieves environment secrets, and secrets from files.
Installation
To install Shhh, use:
pip install shhh
With Poetry, do:
poetry add shhh
Usage
The only function is Shhh is get_secret.
It returns an environment variable, unless a file exists on path provided in XXX_FILE variable.
For example:
username: str = get_secret("APP_USERNAME")
Shhh searches for a file on path provided in APP_USERNAME_FILE variable and, if it exists,
returns its content. Otherwise, returns the value of APP_USERNAME variable.
License
Shhh is licensed under MIT.
Copyright (c) 2026 Anatoly Frolov (anafro). All Rights Reserved.
contact@anafro.ru
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 shhh-0.0.0.dev1.tar.gz.
File metadata
- Download URL: shhh-0.0.0.dev1.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.18.7-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b65b3fbaf5435d4920c9e990178b99cc41fdde4439c2172c5aabaf07d2380eb
|
|
| MD5 |
6ecd4e86a0879c256f17c76d4de6a731
|
|
| BLAKE2b-256 |
07ebcaee094c907c65519c6b655955d2f8dad1061c5c3e0154868a22a13f27bc
|
File details
Details for the file shhh-0.0.0.dev1-py3-none-any.whl.
File metadata
- Download URL: shhh-0.0.0.dev1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.18.7-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7814fd6891ca9a033c3e20215731c2c8a4e82f587ba76e32467d44c00038819a
|
|
| MD5 |
5e71d642ad763b913e0b510270cce150
|
|
| BLAKE2b-256 |
2b0c8063f0b32a072c2d36f6d99f77ce557dadc0e30acd28e8aae0f05fc3ab2f
|