Skip to main content

Read and write the annotation files from Halo

Project description

mypy Black Black

PyHaloXML

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

Examples

Example 1 : Move rectangles to a different layer and save as .annotation.

Example 2 : Check if annotations have holes in them and save as .geojson.

Example 3 : Show the wkt representation of the shapely polygon.

Example 4 : Create a .annotation file from coordinates.

Installation

pip install pyhaloxml

Loading speed

Rust is used to match the negative regions to positive regions, thanks to Wim Pomp!

It takes 41 seconds to load a 30.9MB file with 856454 vertices in 5769 regions with 731 holes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhaloxml-2.5.3.tar.gz (484.3 kB view details)

Uploaded Source

Built Distributions

pyhaloxml-2.5.3-cp310-abi3-win_amd64.whl (126.7 kB view details)

Uploaded CPython 3.10+ Windows x86-64

pyhaloxml-2.5.3-cp310-abi3-win32.whl (125.3 kB view details)

Uploaded CPython 3.10+ Windows x86

pyhaloxml-2.5.3-cp310-abi3-musllinux_1_1_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+ musllinux: musl 1.1+ x86-64

pyhaloxml-2.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ x86-64

pyhaloxml-2.5.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyhaloxml-2.5.3-cp310-abi3-macosx_10_9_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.10+ macOS 10.9+ x86-64

File details

Details for the file pyhaloxml-2.5.3.tar.gz.

File metadata

  • Download URL: pyhaloxml-2.5.3.tar.gz
  • Upload date:
  • Size: 484.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for pyhaloxml-2.5.3.tar.gz
Algorithm Hash digest
SHA256 076bb2e23e8a7c21c124d901407a2f08bdc1de8980622096b47af4d13135f503
MD5 3146962d9ba10a3f3ce1a399586582a2
BLAKE2b-256 b78532ad9f25f8d771b750e3403223cda6df40ce83edd788073357b84d403885

See more details on using hashes here.

File details

Details for the file pyhaloxml-2.5.3-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: pyhaloxml-2.5.3-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 126.7 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for pyhaloxml-2.5.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 896fbffa9504da381544a4e35eadc923a3ab93a3c65123152ecbe4f16dd51178
MD5 5408f6571db590b36acb418e2b0eeea2
BLAKE2b-256 00de7f2618192edfbccf1780d5fb848e9e40a10a5ba201e68d3f22f1fdcfddef

See more details on using hashes here.

File details

Details for the file pyhaloxml-2.5.3-cp310-abi3-win32.whl.

File metadata

  • Download URL: pyhaloxml-2.5.3-cp310-abi3-win32.whl
  • Upload date:
  • Size: 125.3 kB
  • Tags: CPython 3.10+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for pyhaloxml-2.5.3-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 1c9eb1506f99293ae020f29984d08e6f1de14a426d5ee683847ccb142c28326d
MD5 76d48e730b492d0bd725f642b15f3287
BLAKE2b-256 432f63ab86550f93191afa959d035b6e05f1850c9fed7f865a1d2cedf07289d0

See more details on using hashes here.

File details

Details for the file pyhaloxml-2.5.3-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyhaloxml-2.5.3-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7e7b1cf1d4008963b1b82c4cefd88656b8d0729227584454164bcd97ae8e222e
MD5 1a1c62634c848d97c707523ce1ece392
BLAKE2b-256 2715a33343225f56af07984fb59afe12619a2d959ce1aec9e67f1c484c18f2e5

See more details on using hashes here.

File details

Details for the file pyhaloxml-2.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyhaloxml-2.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35d9eeab3ad3b26650aaf0316072bf0903257ba8a418c5cfbd3f8ed9c2a37eaf
MD5 88eb2004eff10715a9717d5a13b3159d
BLAKE2b-256 5e716bfc81abf7f4929a2a8108bcd8177e1b8594411c1ba03a4036a4769a1bf5

See more details on using hashes here.

File details

Details for the file pyhaloxml-2.5.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyhaloxml-2.5.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 343843571669296baae5d05f98dd93db9cf562dc686e18c15715b6652028e71c
MD5 0a8f28330a93bd9ced8f36c455b0eda4
BLAKE2b-256 c00b1a5c6418784fc8d4986c3491533f351cdf2e3b06123d6b792406e65089a4

See more details on using hashes here.

File details

Details for the file pyhaloxml-2.5.3-cp310-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyhaloxml-2.5.3-cp310-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 063647bd06d40cf20404209c96947ecc28b09caa8a0d4b179098c9b62059da77
MD5 44e76ee516974472cb19ace3c809407e
BLAKE2b-256 011b72d7db52964654195f2ea4e0faf5ec30ea023053391bbfb1f8ba89a67d73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page