devel/py-iniparse 0.5_1 DragonFly
Accessing and Modifying INI files
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT, PSFL
- Categories
- devel, python
- Package size
- 35.0 KiB, 197.6 KiB installed
Description
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.
- 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
The newest version among them is 0.5, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-iniparse | 0.5_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/py-iniparse | 0.5_1 newest | none known | - | [email protected] | - |
| NetBSD | textproc/py-iniparse by name | 0.5nb2 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-iniparse | 0.5_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-iniparse | 0.5_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-iniparse
From DPorts:
cd /usr/dports/devel/py-iniparse && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.