Skip to main content

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)

Uploaded Source

Built Distribution

iniutil-1.0.4-py3-none-any.whl (4.2 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