Skip to main content

Rust-backed AGS4 reader/writer/validator — a fast, drop-in replacement for python-ags4 with a narwhals-native API

Project description

laterite

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

A faster drop-in for python-ags4 (1.2.0 parity-pinned, 122/131 tests). Native API returns narwhals frames over Polars, so you can target polars / pandas / pyarrow without laterite picking for you.

pip install laterite                  # base AGS4 (polars + narwhals)
pip install "laterite[compat]"        # + pandas (python-ags4 drop-in)
pip install "laterite[ags5]"          # + experimental .ags5db surface
import laterite

result = laterite.validate("delivery.ags")
for rule, findings in result.findings.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.14.

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

laterite-0.1.0-cp314-cp314-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.14Windows x86-64

laterite-0.1.0-cp314-cp314-manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.14

laterite-0.1.0-cp314-cp314-manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.14

laterite-0.1.0-cp314-cp314-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

File details

Details for the file laterite-0.1.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: laterite-0.1.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for laterite-0.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ded44e40cea0d6bfe16c2751ec47a6d740029f9b33b97e26f2efd26be3b53b1f
MD5 fd5bcd792c219f7fe35fe324e72b1615
BLAKE2b-256 b415448dd161ece02b88bc2248c6090caef838b892d9cb0c83d97b7a541dd710

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.1.0-cp314-cp314-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.1.0-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for laterite-0.1.0-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c8a13b4fc4fac2624ab63c40035e750bfde95567878fb95f9563f8218aae9e8
MD5 e8ee8dbf0a4935029f811b3f81b68304
BLAKE2b-256 2cff5d023c9cdefda9b7572cdbb60591d41cbf310f2d9e384d818dc69227a92a

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.1.0-cp314-cp314-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.1.0-cp314-cp314-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for laterite-0.1.0-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 62cd5f8cb222ae6a62a20646f2d4975486061550ae20e1849f6f4b5dd274bd08
MD5 537eb545cb5185ad7861b652630e95c1
BLAKE2b-256 26a6a26bfe3f46f8d7e1d9a29f00adc08c0789817fceca51ddad94b2bd15a3d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for laterite-0.1.0-cp314-cp314-manylinux2014_aarch64.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.1.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for laterite-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78b5961038268426849878337f868cfbeb0d89c46aeed8a8b9c0d385657f9d06
MD5 72dddfd1c2f7b651112e9e6e75111baf
BLAKE2b-256 c471eb7f561546f4d34ce1986be97149b9b2b09250808af1f9fffc201a334738

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page