Skip to main content

geozl

Python bindings for geozl, geospatial codec extensions for OpenZL.

import numpy as np
import geozl

tile = np.fromfile("b04.raw", dtype=np.uint16).reshape(1024, 1024)

g = geozl.graph(tile, "planar>zigzag>transpose>entropy")
frame = geozl.compress(tile, graph=g)
back = geozl.decompress(frame).view(np.uint16).reshape(1024, 1024)

Pass a positive number as error for a fixed absolute bound, or a percentage string for a relative bound. None and zero are lossless. Full LINEAR, LOG and SQRT recipes remain available.

absolute = geozl.graph(tile, "planar>zigzag>entropy", error=2)
relative = geozl.graph(tile, "planar>zigzag>entropy", error="1%")

profile returns a list-like result. Print it to see the input geometry, benchmark settings and ranked graphs together.

rows = geozl.profile(tile, prior=None)
print(rows)
best = rows[0]["graph"]

Fourteen documented codecs, lossless and lossy, reachable two ways. geozl.graph takes a recipe string and builds the graph for you, and geozl.compress runs one tile through it. geozl.lossless and geozl.lossy hand you the individual nodes to place in an OpenZL graph yourself, and geozl.register_decoders teaches a DCtx to read what they wrote.

Wheels carry a prebuilt native library. A source install has to build it first, see the build instructions in the repository.

The full documentation, the codec catalogue and the wire format live in the repository.

Metadata

Release files for geozl 0.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for geozl 0.16.0
File Interpreter ABI Platform
geozl-0.16.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
geozl-0.16.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 9.6 MB

Release files / geozl-0.16.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL geozl-0.16.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 8.3 MB
Tags Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
fd82e8f4ef9a2805834fd2dd2ff59085cf08eddfef687226e8d3793ddcfdbafb
BLAKE2b-256 checksum
How to use checksums
1bdc8ff0eb499d02a44778872f3faa26827bb9f6878dba12921f593ae4dc08f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / geozl-0.16.0-py3-none-macosx_11_0_arm64.whl

Download URL geozl-0.16.0-py3-none-macosx_11_0_arm64.whl
Size 1.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
309ca2729f34498b5b3415d243de10c2e99b85ad32271191540054c6813849a6
BLAKE2b-256 checksum
How to use checksums
18aa6a91f9f338f974ded25a2e8cccce609524b4d6a0d281045d5a7977b14249
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release history Release notifications | RSS feed

0.18.0

2 release files

0.17.0

2 release files

This release

0.16.0 This release

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.12

2 release files

0.7.10

2 release files

0.7.8

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.5

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page