Skip to main content

laterite — a Rust-backed AGS4 reader, writer and validator

laterite

A Rust-backed AGS4 reader, writer and validator for Python.

A faster drop-in for python-ags4's AGS4 module (1.2.0 parity-pinned, 122/131 tests) — swap from python_ags4 import AGS4 for from laterite import compat as AGS4. The native API returns born-typed polars frames by default (or pandas with read(..., backend="pandas")) — both pyarrow-free, read back from a Python-owned in-memory DuckDB engine.

ci rust cov python cov web cov PyPI Python versions License: MIT

pip install laterite                  # base AGS4 (polars + duckdb, pyarrow-free)
pip install "laterite[compat]"        # + pandas (python-ags4 drop-in)
import laterite

result = laterite.validate("delivery.ags")
for rule, findings in result.by_rule().items():
    print(rule, len(findings))

# python-ags4 drop-in
from laterite import compat as AGS4
tables, _ = AGS4.AGS4_to_dataframe("delivery.ags")

# Or a typed view of the file
from laterite.ags4 import read_typed
proj = read_typed("delivery.ags")

The validator engine is clean-room from the AGS4 spec. python-ags4 is LGPL-3.0; the clean-room separation lets laterite ship under MIT.

Requires Python ≥ 3.12.

Full docs, parity catalogue and observations at https://github.com/niko86/laterite.

Download files

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

Source Distribution

laterite-0.5.1.tar.gz (792.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

laterite-0.5.1-cp312-abi3-win_amd64.whl (7.0 MB view details)

Uploaded CPython 3.12+Windows x86-64

laterite-0.5.1-cp312-abi3-manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.12+

laterite-0.5.1-cp312-abi3-macosx_11_0_arm64.whl (6.0 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

Details for the file laterite-0.5.1.tar.gz.

File metadata

  • Download URL: laterite-0.5.1.tar.gz
  • Upload date:
  • Size: 792.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for laterite-0.5.1.tar.gz
Algorithm Hash digest
SHA256 07ab88ceb3fa7801ca382d989d64e83e3cf12b83ff8291ceb6e3b2a0b71b7a4c
MD5 7b938cfa1e282c3ccd9db045135bfbf3
BLAKE2b-256 c5984f6b92fd42ae7cfe44809a793b986027a005195e8887a9352ecc15a0bd31

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.1.tar.gz:

Publisher: release.yml on niko86/laterite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file laterite-0.5.1-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: laterite-0.5.1-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for laterite-0.5.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e48a04995b0ed83cfe24b5bf235fde17f4c90706daea9acc2072cffa149167f7
MD5 edf04bd4a73864cad8369dfb60ffc273
BLAKE2b-256 3cb5ddaa7892bbb77f951fe11ec4dcc45fc6cafe2c3ca9d0e89771ad75c7d766

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.1-cp312-abi3-win_amd64.whl:

Publisher: release.yml on niko86/laterite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file laterite-0.5.1-cp312-abi3-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for laterite-0.5.1-cp312-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9353febbf9f1a179e2e778b4c301ea8a226be96910525ed879f58bd9f7ef77de
MD5 29d6cf7501df5f649f6874b28bfbae15
BLAKE2b-256 0541105cdd129186117423bf782188fe50a409fd0eca55be60931c1ac1c62567

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.1-cp312-abi3-manylinux2014_x86_64.whl:

Publisher: release.yml on niko86/laterite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file laterite-0.5.1-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for laterite-0.5.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0017e1aeab8af82970b5c9a863fb0f078b155e920f325cdf5852cfd067a0df75
MD5 13c2c54d637c1009cc96f27ffd1e584d
BLAKE2b-256 99e1b1e65ad371aa83c353d0a351c38e1039ed3658ada337b8a39968fdcf709f

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.1-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on niko86/laterite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.12.0

5 files

0.11.0

5 files

0.10.1

4 files

0.10.0

4 files

0.9.0

4 files

0.8.0

4 files

0.7.0

4 files

0.6.2

4 files

0.6.1

4 files

0.6.0

4 files

This release

0.5.1 This release

4 files

0.5.0

4 files

0.4.0

3 files

0.2.0

3 files

0.1.0

4 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