Path to this page:
./
textproc/py-iniparse,
Better INI parser for Python
Branch: pkgsrc-2020Q3,
Version: 0.5,
Package name: py37-iniparse-0.5,
Maintainer: pkgsrc-usersiniparse is a INI parser for Python which is:
* Compatiable 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
included with Python;
* 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.
Master sites:
SHA1: eecb8fc113c4fc5930fea7eebf0eb796229c0ebc
RMD160: 9f111a446f0e4ecce1573b14e3018312aa8017ec
Filesize: 31.478 KB
Version history: (Expand)
- (2020-10-10) Package added to pkgsrc.se, version py37-iniparse-0.5 (created)