This release is a pre-release and may not be stable for production use.
geozl
Python bindings to libgeozl, the 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.20.0a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geozl-0.20.0a3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details for geozl-0.20.0a3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
| geozl-0.20.0a3-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for geozl-0.20.0a3-py3-none-macosx_11_0_arm64.whl |
Total release size: 10.7 MB
Release files / geozl-0.20.0a3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | geozl-0.20.0a3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 9.4 MB |
| Tags | Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
696472a0107919116cc72579af1c0a72b39132516f3acc0a8d1b85c8d11642e3
|
|
BLAKE2b-256 checksum How to use checksums |
2ef4ef42ba6be9ab005cded4e106a110be5aeac4d82d523b38582e47625f160a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / geozl-0.20.0a3-py3-none-macosx_11_0_arm64.whl
| Download URL | geozl-0.20.0a3-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
88084724996ddfe98cfa90cd9c9be54345d4d8b46dd0d334d4f80f5efd106f3d
|
|
BLAKE2b-256 checksum How to use checksums |
5d72eb1b8c90938f06565a004d9f285675b6f9be2573409bcd0b8873a063ec0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logSecurity for geozl 0.20.0a3
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for geozl-0.20.0a3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
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 Nov 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.