blob: bedea5a9bbefef00732e9597d99ae0ed0700bff4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
Source: python-iniparse
Section: python
Priority: extra
Maintainer: Ludovico Cavedon <cavedon@debian.org>
Build-Depends: debhelper (>= 7), cdbs, python
Build-Depends-Indep: python-support (>= 0.5.3)
Standards-Version: 3.8.4
Homepage: http://code.google.com/p/iniparse/
Vcs-Git: git://git.debian.org/git/collab-maint/python-iniparse.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/python-iniparse.git
XS-Python-Version: >= 2.4
Package: python-iniparse
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Provides: ${python:Provides}
XB-Python-Version: ${python:Versions}
Description: Module to access and modify configuration data in INI files
iniparse is a INI parser for Python which is:
.
* Compatible with ConfigParser: Backward compatible implementations of
ConfigParser, RawConfigParser, and SafeConfigParser are included that are
API-compatible with the Python standard library. They pass all the unit
tests in Python-2.4.4.
.
* Preserves structure of INI files: Order of sections & options, indentation,
comments, and blank lines are preserved as far as possible when data is
updated.
.
* More convenient: Values can be accessed using dotted notation
(cfg.user.name), or using container syntax (cfg['user']['name']).
.
It is very useful for config files that are updated both by users and by
programs, since it is very disorienting for a user to have her config file
completely rearranged whenever a program changes it. iniparse also allows
making the order of entries in a config file significant, which is desirable
in applications like image galleries.
|