Description
Introduction
Miniscule is a library for flexible YAML-based configuration files, inspired by Clojure’s Aero.
Example
Create a file config.yaml with the following contents:
server:
host: !or [!env HOST, localhost]
port: !or [!env PORT, 8000]
debug: !env DEBUG
database:
name: my_database
user: my_user
password: !env DB_PASSWORD
secret: !aws/sm secret
Then, in Python:
from miniscule import read_config
config = read_config('config.yaml')
Now, config holds a dictionary with the structure of the
config.yaml file, in which the tagged fields have been replaced.
Metadata
Release files for miniscule 0.15.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| miniscule-0.15.3.tar.gz | 5.4 kB | Without provenance | Details for miniscule-0.15.3.tar.gz |
Release files / miniscule-0.15.3.tar.gz
| Download URL | miniscule-0.15.3.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5fe05e94496cbd5621b27ef72e433edd6fe0cd6bff82ed1015a6e161d7b2be5
|
|
BLAKE2b-256 checksum How to use checksums |
5c61dceb19942da5691fde48bdd40e64d2f85b5d683645d10529c55838fd0456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
|
Security for miniscule 0.15.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.