Metadata-Version: 2.4
Name: laterite-ags5
Version: 0.4.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
Requires-Dist: laterite>=0.4.0
Requires-Dist: polars>=1.40.1
License-File: LICENSE
Summary: Experimental AGS5 (.ags5db) surface for laterite — DuckDB-backed read/write/query
Keywords: ags,ags5,geotechnical,ground-investigation,duckdb,rust
Author-email: niko86 <me@niko86.com>
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Changelog, https://github.com/niko86/laterite/blob/main/CHANGELOG.md
Project-URL: Homepage, https://github.com/niko86/laterite
Project-URL: Issues, https://github.com/niko86/laterite/issues
Project-URL: Repository, https://github.com/niko86/laterite

# laterite-ags5

Experimental AGS5 surface for [laterite](https://github.com/niko86/laterite).

`.ags5db` is a single-file DuckDB-backed format for AGS geotechnical
data — typed columns, content-addressed UUID7 keys, lossless AGS4
round-trip. This package ships the read / write / query API.

```bash
pip install "laterite[ags5]"
```

The `[ags5]` extra pulls this wheel alongside the base `laterite`
wheel. It links bundled DuckDB (~50 MB), which is why it's opt-in.
Plain `pip install laterite` stays light for AGS4-only workflows.

```python
from laterite.ags5db import convert, read_db, query

# AGS4 → .ags5db
convert("delivery.ags", "delivery.ags5db")

# Read a typed PROJ tree back
proj = read_db("delivery.ags5db")

# Query the file
rows = query("delivery.ags5db", group="LOCA", where=["LOCA_GL>50"])
```

**Pre-alpha.** The `.ags5db` format and Python API are subject to
change. AGS4 input/output (via convert/export) is stable; native
AGS5 authoring is the experimental piece.

Full docs at <https://github.com/niko86/laterite>.

