A Python library for handling JSON configuration files
Project description
Configonaut
Configonaut is a Python library for handling JSON configuration files. It provides an intuitive and simple way to access, modify, and save configurations stored in JSON format.
Installation
Install Configonaut with pip:
pip install configonaut
Usage
from configonaut import Configonaut
# Create a new configuration
config = Configonaut('config.json')
# Access configuration
db_config = config['database']
# Modify configuration
db_config['host'] = 'localhost'
db_config['port'] = 5432
# Save configuration
db_config.save()
Features
- Simple and intuitive access to configuration items.
- Automatic saving of modifications.
- Ability to navigate through the configuration hierarchy.
License
Configonaut is licensed under the MIT License. See LICENSE for more details.
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
configonaut-0.1.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for configonaut-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec4c5f494bf8139c79ba866dbb37d86048f09e448d267a434d7820199138bc9 |
|
MD5 | 29b098df5cf1e01218bd8fc4e54373f6 |
|
BLAKE2b-256 | cd191a2dbf1fae4ee633b54347f16456588fb90a9fae3086f942e837bdf73e19 |