Skip to content

Releases: jahtz/pypxml

v3.2.0

21 Apr 10:52

Choose a tag to compare

Changes

  • Fix: Reading order generation in PageXML.from_tree()
  • Fix: Remove element from reading order if it is removed with PageXML.remove_element()
  • Fix: Clear reading order when clearing elements with PageXML.clear_elements()
  • Remove: PageXML.reading_order setter
  • Add PageXML.set_reading_order(): Replaces the reading_order setter and has the ability to sync the element order with the reading order
  • Add PageXML.sync_reading_order(): Sort the order of the elements based on the reading order
  • Add PageXML.create_reading_order(): Create a new reading order based on the current region order
  • Add PageXML.sort_regions(): Sort all regions based on their coordinates

PyPI

pip install pypxml~=3.2.0

https://pypi.org/project/pypxml/3.2.0/

v3.1.0

16 Apr 08:52

Choose a tag to compare

  • Replace recursive: bool with depth: int for find_by_id() and find_by_type()
  • Fix attribute filter for recursive searches

v3.0.0

14 Apr 14:20

Choose a tag to compare

PyPI

pip install pypxml~=3.0.0

https://pypi.org/project/pypxml/3.0.0/

v2.1.1

09 Dec 14:12
53ebd6c

Choose a tag to compare

What's changed

  • Add find() and find_all() methods.
  • Fixed PageXML Schema versions

Minor changes

  • Refined the project’s structure for better organization.

PyPi

pip install pypxml==2.1.1
https://pypi.org/project/pypxml/2.1.1/

v2.0

18 Oct 09:49
d0b8327

Choose a tag to compare

Warning

Breaking changes! Be aware that the following changes may require code updates.

What's changed

  • Merged PageXML and Page classes into a single class.
  • Element class is now PageElement.
  • XMLType enum is now PageType.
  • Improved attribute access.

Minor changes

  • Refined the project’s structure for better organization.

PyPi

pip install pypxml==2.0
https://pypi.org/project/pypxml/2.0/

v1.0

13 Oct 08:29
813860c

Choose a tag to compare

Features

  • Release of version 1.0: First stable release of pypxml.
  • Full API integration: Complete integration for working with PageXML files, including functionality for parsing, manipulating, and exporting XML data.
  • PyPI Publication: The package is now available on PyPI. You can install it via: pip install pypxml