blob: 09197c07fd5009dbfbf6b3a47f22fdb66f7a2f9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# 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` | `yaml` |
| **TOML** | `.toml` | [TOML v1.0.0]() | [tomlkit](https://github.com/python-poetry/tomlkit) | `toml` |
|