devel/py-iniparse 0.5_1 FreeBSD
Accessing and Modifying INI files
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT, PSFL
- Categories
- devel, python
- Package size
- 36.7 KiB, 184.5 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-iniparse | 0.5_1 |
| DragonFly | devel/py-iniparse | 0.5_1 |
Install
Binary package:
pkg install py312-iniparse
From the ports tree:
cd /usr/ports/devel/py-iniparse/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-iniparse>0:devel/py-iniparse
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5_1 | 0.5_1 | 0.5 | 0.5_1 | 0.5_1 |
| FreeBSD:14:quarterly | 0.5_1 | 0.5_1 | n/a | 0.5_1 | 0.5_1 |
| FreeBSD:15:latest | 0.5_1 | 0.5_1 | n/a | 0.5_1 | 0.5_1 |
| FreeBSD:15:quarterly | 0.5_1 | 0.5_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5_1 | 0.5_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}six>=0: devel/py-six
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 8
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| iniparse-0.5.tar.gz | 32233 | 932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.