8000 GitHub - trK54Ylmz/ini-klass: The ini file parser.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

trK54Ylmz/ini-klass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The ini file parser.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0