Metadata-Version: 2.1
Name: pyhaloxml
Version: 2.2.1
Summary: Read and write the annotation files from Halo
Author-email: Rolf Harkes <r.harkes@nki.nl>
Project-URL: Homepage, https://github.com/rharkes/pyhaloxml
Keywords: Halo,reader,annotation
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# PyHaloXML
Python code to read/write .annotation files from Halo. Can export as .geojson for further analysis.

# Examples
[Example 1](https://github.com/rharkes/pyhaloxml/blob/main/examples/example1.py) : Move rectangles to a different layer and save as `.annotation`.

[Example 2](https://github.com/rharkes/pyhaloxml/blob/main/examples/example2.py) : Check if annotations have holes in them and save as `.geojson`.

[Example 3](https://github.com/rharkes/pyhaloxml/blob/main/examples/example3.py) : Show the wkt representation of the shapely polygon.

[Example 4](https://github.com/rharkes/pyhaloxml/blob/main/examples/example4) : Create a .annotation file from coordinates.

# Installation
`pip install pyhaloxml`
