ini file parser.
Project description
ini klass
The ini file parser.
Install
To install a wheel from PyPI,
pip install --upgrade ini-klass
Usage
Example ini file,
[example]
id = 12
name = John
status = true
salary = 100.50
group = car, book, phone
To parse ini file above,
from ini import IniConfig
# read from `CONFIG` environment
config = IniConfig.read()
# read from file
config = IniConfig.read('/tmp/file.ini')
# access configuration value
name = config.example.name
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
ini-klass-0.0.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ini_klass-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51323fb5ae3f85a2e281971ce3e0c05f2698d1c20ec77de0b4b17036af364a6a |
|
MD5 | d3c91f22a5623dc76234a583635d50ad |
|
BLAKE2b-256 | ffcf45b32ce1f80ccd93cfc5d6f391badbe80c17c2ed5c126b754fe843135e6c |