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.
Install Configonaut with pip:
pip install configonaut
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()
- Simple and intuitive access to configuration items.
- Automatic saving of modifications.
- Ability to navigate through the configuration hierarchy.
Configonaut is licensed under the MIT License. See LICENSE for more details.