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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file configonaut-0.1.1.tar.gz.
File metadata
- Download URL: configonaut-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0248db733d7020c744ca9e082ee58399ef5a37682c171358cea1cc47d6909b44
|
|
| MD5 |
7c8f05002b8b2f6d37b42045a8647608
|
|
| BLAKE2b-256 |
da77cc54f6b44e6abe8a750eeba90ce201550e7b1e6e4149ce4894fd0111b438
|
File details
Details for the file configonaut-0.1.1-py3-none-any.whl.
File metadata
- Download URL: configonaut-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ec4c5f494bf8139c79ba866dbb37d86048f09e448d267a434d7820199138bc9
|
|
| MD5 |
29b098df5cf1e01218bd8fc4e54373f6
|
|
| BLAKE2b-256 |
cd191a2dbf1fae4ee633b54347f16456588fb90a9fae3086f942e837bdf73e19
|