Config File
Simple manipulation of ini, json, yaml, or toml files
About Config File
The Config File project is designed to allow you to easily manipulate your configuration files with the same simple API whether they are in INI, JSON, YAML, or TOML.
Quick Example
from config_file import ConfigFile
# Load any supported configuration file
config = ConfigFile("~/myapp/config.ini")
# Get values with automatic type conversion
database_port = config.get('database.port', return_type=int)
# Set new values
config.set('database.host', 'localhost')
# Save changes
config.save()
Next Steps
- Install Config File to get started
- Check out the Quick Start Guide for common usage patterns
- Explore the API Reference for detailed documentation