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.2.tar.gz (6.6 kB view hashes)

Uploaded source

Built Distributions

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

Uploaded any

uconfig-0.1.2.win32.exe (203.4 kB view hashes)

Uploaded any

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page