[ 源代码: python-iniparse ]
软件包:python3-iniparse(0.5.1-1)
python3-iniparse 的相关链接
Debian 的资源:
下载源码包 python-iniparse:
- [python-iniparse_0.5.1-1.dsc]
- [python-iniparse_0.5.1.orig.tar.gz]
- [python-iniparse_0.5.1-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
access and modify configuration data in INI files (Python 3)
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.