aboutsummaryrefslogtreecommitdiffstats
path: root/docs/supported-formats.md
blob: 27264738596a666d99dbc750bbdab16b51656d1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Supported Formats

Config File supports four popular configuration file formats.

## Format Overview

|  Format  | Extensions | Specification | Library Used | Extras Required |
|----------|------------|---------------|--------------|-----------------|
| **INI**  | `.ini` | No official spec | [configparser](https://docs.python.org/3/library/configparser.html) (built-in) | None |
| **JSON** | `.json` | [RFC 7159](https://tools.ietf.org/html/rfc7159.html) | [json](https://docs.python.org/3/library/json.html) (built-in) | None |
| **YAML** | `.yaml`, `.yml` | [YAML 1.2](https://yaml.org/spec/1.2/spec.html) | [PyYAML](https://pyyaml.org/) | `yaml` |
| **TOML** | `.toml` | [TOML v1.0.0]() | [tomlkit](https://github.com/python-poetry/tomlkit) | `toml` |