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.6.0.tar.gz (819.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.6.0-cp312-abi3-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.12+Windows x86-64

laterite-0.6.0-cp312-abi3-manylinux2014_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.12+

laterite-0.6.0-cp312-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: laterite-0.6.0.tar.gz
  • Upload date:
  • Size: 819.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.6.0.tar.gz
Algorithm Hash digest
SHA256 080b2a0419d10a9d0c0ac03b5128135e50b85636372c00b2c6683f3ce8255eb2
MD5 3727555bce41f761739a09f4ecf0ce55
BLAKE2b-256 393b4b3e39417cb251f8d98d17fc02ceb67d123fa371ccf2818ff7a1bb991140

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: laterite-0.6.0-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.8 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.6.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a156320e62593994a9d79cef37bf542a7af7b5c6ed0927e713da7999c5484ce6
MD5 0b9a216352af9574e4e7e6ea5e5a190c
BLAKE2b-256 0d8334450c4ca9e00af0f08ea5951ee0e931c21729a669368209fd332af275c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for laterite-0.6.0-cp312-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 463958d57ede870fa051b9e3010f76c1b71a1e195e67b1180bff7a58d67e9c5e
MD5 b1f837900991a889b7ca05770cea5247
BLAKE2b-256 898ea48b9066ca40da197869707e0d6e012ebd7f624849512e9a2245373d04eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for laterite-0.6.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2db732cf5d5c8073bd79feb97d7d25e313481389ec32746f45385296db9cb0db
MD5 5ead7900796c1f1b2adcf8095b3e4ece
BLAKE2b-256 6c4c52f389a6c1ac74d1532d514fe58a53ba3852a1d08ab7429dad0e41ad056e

See more details on using hashes here.

Provenance

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

This release

0.6.0 This release

4 files

0.5.1

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