Easy configuration for Python with dot notation.
Project description
Convigure
Easy configuration for Python with dot notation. Currently supports read-only JSON, YAML, and TOML.
Installation
pip install convigure
Usage
from convigure import Conf
conf = Conf.load_toml("conf.toml")
# Or:
# conf = Conf.load_json("conf.json")
# Or:
# conf = Conf.load_yaml("conf.yaml")
print(conf.title)
print(conf.images[0])
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
convigure-0.2.0.tar.gz
(14.1 kB
view hashes)
Built Distribution
convigure-0.2.0-py3-none-any.whl
(14.4 kB
view hashes)
Close
Hashes for convigure-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a272e1b9ba8654747ff20bfb4389479eb335e8f914e48598c9dc8c3455d97c44 |
|
MD5 | 18036681c200a241bd16db78bdd50523 |
|
BLAKE2b-256 | 9c000027977499142c3ae4c4e1a3b50016b7104973c63d3ff250e9435c63de60 |