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.4.tar.gz
(6.8 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
uconfig-0.1.4.win-amd64.exe
(231.3 kB
view details)
uconfig-0.1.4.win32.exe
(203.6 kB
view details)
File details
Details for the file uconfig-0.1.4.tar.gz.
File metadata
- Download URL: uconfig-0.1.4.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ab8d0f02187ddc2261c24affa68cf1c34e5813608bc7037e334cfd43e00fd3d
|
|
| MD5 |
aa9364da642706d580bb0459b827b57b
|
|
| BLAKE2b-256 |
f97a09fff835a8c5b24d1a146b5605a4a0f7981263e98f45300fc947a1ee5098
|
File details
Details for the file uconfig-0.1.4.win-amd64.exe.
File metadata
- Download URL: uconfig-0.1.4.win-amd64.exe
- Upload date:
- Size: 231.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deb941aa09eaf66c4094268ef2f1fd89766b4e826cc22603fbb180d359f5fe20
|
|
| MD5 |
4d35136d9dc7d3d82444b4ec2a37e2bf
|
|
| BLAKE2b-256 |
64d5234df69da8688ba55986dd4d75ac6e0a58ef37ea2745773d0d1d510f39ee
|
File details
Details for the file uconfig-0.1.4.win32.exe.
File metadata
- Download URL: uconfig-0.1.4.win32.exe
- Upload date:
- Size: 203.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92b758c05c44ea556be85b68c43cb09037d643632d2ca88ec381a2cc4aeaf136
|
|
| MD5 |
2955ac9f5cc476f873a6d67f2896b6c7
|
|
| BLAKE2b-256 |
fe01561924cda88e86b177e2964885cf2135fe698625eed0a84fdbd2d9d3f556
|