Skip to main content

INI Config Creating/Parsing Tool

Project description

Iniconf is a simple and easy to use tool for creating and parsing INI files.

To create an INI file:

from iniconf.creator import IniCreator
cfg = IniCreator('/path/to/template/file.ini', '/path/to/destination/file.ini')
cfg.generate_file()

To read a configuration:

from iniconf.config import Config
cfg = Config(['/path/to/file1.ini', '/path/to/file2.ini', '/path/to/folder/full/of/files'])
print cfg.config

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

iniconf-0.1.8.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page