Skip to main content

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


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)

Uploaded Source

Built Distribution

configonaut-0.1.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page