Odfpy is a library to read and write OpenDocument v. 1.1 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 addition to the API, there are a few scripts:
Visit https://github.com/eea/odfpy for documentation and examples.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.4.1-bp156.3.3 info | GA Release | 2024-03-18 | 15 SP6 |
|
|
1.4.1-bp155.2.14 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.4.1-bp154.1.27 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.4.1-bp153.1.21 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.4.1-bp152.1.5 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
1.3.5-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.3.5-bp151.2.11 info | GA Release | 2019-05-19 | 15 SP1 |
|
|
1.3.5-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|