Skip to main content

simple configuration file parser

Project description

uconfig is a simple parser for unix style configurations written in pure python.

Sorry for the lack of documentation.

Examples

example.conf

foo bar;
foo {
   foobar Hello World;
}

$ python

>>> import uconfig
>>> cfg = uconfig.ExtendedConfig()
>>> cfg.load("example.conf")
>>> cfg.get_value("foo")
'bar'
>>> cfg["foo"].get_value("foobar")
'Hello World'

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

uconfig-0.1.3.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distributions

uconfig-0.1.3.win-amd64.exe (231.1 kB view hashes)

Uploaded Source

uconfig-0.1.3.win32.exe (203.4 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