Secure launcher and encrypted config bootstrap library for Python projects
Project description
minidarkmimi-start-cli
A secure launcher and encrypted config bootstrap library for Python projects.
Install
pip install minidarkmimi-start-cli
Import path stays the same:
from start_cli import EncryptedConfig, ConfigLoader, AppSettings, create_cli
What it provides
- encrypted config storage via
EncryptedConfig - smart config loading with
ConfigLoaderandload_config - reusable Click CLI bootstrap via
create_cli - environment-aware settings via
AppSettings - helper utilities for masking secrets and maintaining
.gitignore
Quick example
from start_cli import EncryptedConfig, create_cli
cfg = EncryptedConfig.create("config.env", password="example-password")
cfg["API_TOKEN"] = "example-token"
cfg.save()
def start_app() -> None:
print("app started")
cli = create_cli(
app_name="My Project",
app_callable=start_app,
required_envs={"API_TOKEN": "API token"},
)
Links
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 minidarkmimi_start_cli-1.0.2.tar.gz.
File metadata
- Download URL: minidarkmimi_start_cli-1.0.2.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff8cf145845260559e8e2a5a62d42c4bc5df82d4a384b64dd1e9b75ceb3949ed
|
|
| MD5 |
473406f1690112945bf735fffb99f62d
|
|
| BLAKE2b-256 |
60df41c54066e07eca258fbe10742c16c9270bfb866008271f53d28873396cd1
|
File details
Details for the file minidarkmimi_start_cli-1.0.2-py3-none-any.whl.
File metadata
- Download URL: minidarkmimi_start_cli-1.0.2-py3-none-any.whl
- Upload date:
- Size: 40.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4888c399066577ff761e7b239242c7c68eb596ca6f7dfbcc1ebe760c35b4c79a
|
|
| MD5 |
6930dc59ca9b3a73ea481f10cf247717
|
|
| BLAKE2b-256 |
0b2adefebaf0c6bba7f5ce82569151f8d7e5c4610d6357710074c445ef35f60f
|