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.0.tar.gz (791.1 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.0-cp312-abi3-win_amd64.whl (7.0 MB view details)

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+

laterite-0.5.0-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.0.tar.gz.

File metadata

  • Download URL: laterite-0.5.0.tar.gz
  • Upload date:
  • Size: 791.1 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.0.tar.gz
Algorithm Hash digest
SHA256 a61944cc08e8215b6d00f197d3035ad3ecde2c2bf4adbfb6285b05391844028a
MD5 e31a1b1bb71360f023cd29648782cb97
BLAKE2b-256 9ea1e9e8bee0fc05d4235cd65b1254344d6ef56c8116b62836b8aebdfd4f9934

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.0.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.0-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: laterite-0.5.0-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.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 14b1026e6996cc0ff48d5bf00f24b7c96a0f6ff46542800efc1d3b680ac93083
MD5 11e53ce57793a436b9f1e14dbb4e5f24
BLAKE2b-256 a177f5cf046a02ba204166d0cc7654f0b21496abdd0bff8eb83ee32c0e41760c

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.0-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.0-cp312-abi3-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for laterite-0.5.0-cp312-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b5ea131acc42c0ae188503e5ef056b92b813bdcada7421ff4865503b42ff6ce
MD5 3b55d45dc88b5098d7d4b843e69b80d9
BLAKE2b-256 d601f448319515b4a120f3748e713338ae3f69dfe2caf9a7cb123cc565fb9f39

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.0-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.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for laterite-0.5.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bdc774e0d2efa2ce616ffe28b78c3d064d66289f655ff4736c27aaa02b3d697
MD5 0a7169511e4ffdc500d202aab2ef1b63
BLAKE2b-256 1042fd5158c76c8f8aebd90a9745c2d16d2887af5a8d6289100af8c3ab0ba674

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.5.0-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

0.5.1

4 files

This release

0.5.0 This release

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