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 details)
Built Distribution
convigure-0.2.0-py3-none-any.whl
(14.4 kB
view details)
File details
Details for the file convigure-0.2.0.tar.gz
.
File metadata
- Download URL: convigure-0.2.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f51db72cfaab9db62c62a91cded9a9c2aa7f81aa6b5c4362345b77d0592e2c94 |
|
MD5 | 525fe4c1e1a914860d6e812857cf0141 |
|
BLAKE2b-256 | 313e59fee6abc9009960b7f20c2ec8271ef0cdaf359c41991d6b6a966e8be053 |
File details
Details for the file convigure-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: convigure-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a272e1b9ba8654747ff20bfb4389479eb335e8f914e48598c9dc8c3455d97c44 |
|
MD5 | 18036681c200a241bd16db78bdd50523 |
|
BLAKE2b-256 | 9c000027977499142c3ae4c4e1a3b50016b7104973c63d3ff250e9435c63de60 |