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.

Files for uconfig, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size uconfig-0.1.4.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View
Filename, size uconfig-0.1.4.win32.exe (203.6 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size uconfig-0.1.4.win-amd64.exe (231.3 kB) File type Windows Installer Python version any Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page