BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-iniparse0.5_1
DragonFlydevel/py-iniparse0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5_10.5_10.50.5_10.5_1
FreeBSD:14:quarterly0.5_10.5_1n/a0.5_10.5_1
FreeBSD:15:latest0.5_10.5_1n/a0.5_10.5_1
FreeBSD:15:quarterly0.5_10.5_1n/an/an/a
FreeBSD:16:latest0.5_10.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

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
FileSizeSHA256
iniparse-0.5.tar.gz32233932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.