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 ConfigParser
# read from `CONFIG` environment
config = ConfigParser.load()
# read from file
config = ConfigParser.load('/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.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for ini_klass-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23575b26e2e068a49fbea91700a85fe6228d01a2e63e4d36f7047ee6b51472b2 |
|
MD5 | 5a03f65e974d8f13cc5b365d92dd5fb5 |
|
BLAKE2b-256 | fef33bf5795bb33b202f000875d6b34345c151d3913e0daf67c26d7615d94e6a |