a minimalist config manager
Project description
env-vars
Simplified config for python projects based on starlette config
Installation
pip install env-star
Usage
from config import Config
config = Config()
MY_CONST = config(
'MY_ENV', cast=my_callable_or_class, default=any_castable)
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
env_star-2.5.1.tar.gz
(9.9 kB
view details)
Built Distribution
env_star-2.5.1-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file env_star-2.5.1.tar.gz
.
File metadata
- Download URL: env_star-2.5.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.1-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a714ac19279b4b5a6bf975ef06bc607caab9ad90e2a3ab170ddef697c5cc6c |
|
MD5 | 9265914933312a585845e072614a26f0 |
|
BLAKE2b-256 | d3d96b142a19cf49f303eea87a22515d766fd56de6fe3559b882ca7bd90ae343 |
File details
Details for the file env_star-2.5.1-py3-none-any.whl
.
File metadata
- Download URL: env_star-2.5.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.1-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba8a2f8e94eb54ba5be913860bedb7e61679e401218592c9b362e5beb2d0899 |
|
MD5 | ecb633ce60659167edee570ea700702b |
|
BLAKE2b-256 | c12f66da4257a61bb1577eb2a630a75f5fdd0ebfc637287e546c9894ceb0d387 |