Python parser for ini files.
Project description
Config File Parser
A Python module for parsing configuration files in INI format.
Overview
This project provides a simple and flexible Python module for parsing configuration files in INI format. It allows you to read an INI file and convert it into a nested dictionary structure for easy access to configuration settings.
Features
- Parse INI configuration files.
- Handle sections, keys, values, and comments.
- Support for various data types, including strings, integers, booleans, and floating-point numbers.
- Easy-to-use API for accessing configuration settings.
Getting Started
Installation
Using PyPI:
pip install iniutil
Usage
from iniutil import parse_ini
confg = parse_ini("path/to/config.ini")
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
iniutil-1.0.4.tar.gz
(3.6 kB
view hashes)