textproc/py-iniparse 0.5nb2 NetBSD
Better INI parser for Python
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit AND python-software-foundation
- Categories
- textproc, python
- Package size
- 36.2 KiB, 182.7 KiB installed
Description
iniparse 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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/py-iniparse | 0.5nb2 |
| DragonFly | devel/py-iniparse | 0.5_1 |
Install
Binary package:
pkgin install py311-iniparse
From pkgsrc:
cd /usr/pkgsrc/textproc/py-iniparse && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.5nb2 |
| NetBSD 10.1 aarch64 | 0.5nb2 |
| SmartOS / illumos x86_64 | 0.5nb2 |
| macOS 15 arm64 | 0.5nb2 |
Dependencies
Run dependencies 2
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-iniparse-0.5nb2,py313-iniparse-0.5nb2,py314-iniparse-0.5nb2