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.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ini_klass-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdadc7e4d2609dd9a47bebba7a5ae7552699d23ff1bcaa04e5b35c0b9c0ebdcb |
|
MD5 | f4f051080e7aa4c8b7bb25ac6c856a3c |
|
BLAKE2b-256 | d5a9fcf53bdc2ed06b1b78bf79ce20e488c1367c820a0ef21938d3614d909e75 |