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.

Filename, size & hash SHA256 hash help File type Python version Upload date
uconfig-0.1.3.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None
uconfig-0.1.3.win32.exe (203.4 kB) Copy SHA256 hash SHA256 Windows Installer any
uconfig-0.1.3.win-amd64.exe (231.1 kB) Copy SHA256 hash SHA256 Windows Installer any

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page