A YAML based, pluggable configuration library inspired by Aeson
Project description
# miniscule
Miniscule library for flexible YAML configuration files, inspired by
[Aero](https://github.com/juxt/aero).
## Example
Loading this configuration with `config.load` expands the `!or` and `!env` tags
in the expected way.
```yaml
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
```
Miniscule library for flexible YAML configuration files, inspired by
[Aero](https://github.com/juxt/aero).
## Example
Loading this configuration with `config.load` expands the `!or` and `!env` tags
in the expected way.
```yaml
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
```
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
miniscule-0.2.1.tar.gz
(2.3 kB
view hashes)