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")
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 details)
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 iniutil-1.0.4.tar.gz.
File metadata
- Download URL: iniutil-1.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c8ec04b3b0f03ead12ab2295dfd7ed9549e4727cc0fce01d926dee93425ea66
|
|
| MD5 |
803049fe2a9824a72615c7c9ec6504ab
|
|
| BLAKE2b-256 |
978f94d50a5550bd35b7cfb14e41904a996bd1b0064f095b1e6d55777fe97db0
|
File details
Details for the file iniutil-1.0.4-py3-none-any.whl.
File metadata
- Download URL: iniutil-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b3638f40b80a2edaddac5803ec9557058e6da433dfbefcf02d28d95ac8b4396
|
|
| MD5 |
e5224c86cfbdf4ac8c09622e9a4da663
|
|
| BLAKE2b-256 |
325d2c1b1739cff3b927ff47d77d6ddcb80bde147387930054f44c8902f1a637
|