BSD Ports

textproc/py-odfpy 1.4.1nb3 NetBSD

Python API and tools to manipulate OpenDocument files

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
textproc, python
Package size
225.9 KiB, 1912.9 KiB installed

Description

Odfpy is a library to read and write OpenDocument v1.2 files. The main focus has been to prevent the programmer from creating invalid documents. It has checks that raise an exception if the programmer adds an invalid element, adds an attribute unknown to the grammar, forgets to add a required attribute or adds text to an element that doesn't allow it.

These checks and the API itself were generated from the RelaxNG schema, and then hand-edited. Therefore the API is complete and can handle all ODF constructions.

In the other systems

SystemPortVersion
NetBSDtextproc/py-odfpy1.4.1nb3
OpenBSDtextproc/py-odfpy1.4.1p6
DragonFlydevel/py-odfpy1.4.1_3

Install

Binary package:

pkgin install py311-odfpy

From pkgsrc:

cd /usr/pkgsrc/textproc/py-odfpy && make install clean

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-odfpy-1.4.1nb3, py313-odfpy-1.4.1nb3, py314-odfpy-1.4.1nb3