Skip to main content

Aquila (de-aquila)

A file-backed data catalog for a DE Arsenal repo. aquila scan reads the repo's Pugio pipelines, Gladius transforms (Ballista ones included), Hasta streams, the tools' state databases and local Parquet footers, then records in one SQLite file (.arsenal/aquila.db):

  • datasets — one per location, whichever tool names it (dataset_id = hash of the normalized URI; out/, out/*.parquet and ./out are the same dataset)
  • schema versions — every snapshot Pugio recorded, plus each Parquet footer, with a diff between consecutive versions
  • lineage — dataset-level edges across tools (pugio: / gladius: / ballista: / hasta:), cycle detection, Mermaid output
  • contracts — inline contract: blocks, hash-tracked, checked against the latest observed schema
  • governance — tags (pii=true, owner=…), descriptions, deprecation with warnings for every reader, full-text search (SQLite FTS5)
aquila scan                                   # idempotent; --dry-run writes nothing
aquila search "orders pii"
aquila show orders --max-age-seconds 3600     # exits 1 on contract findings or stale data
aquila history orders
aquila lineage orders_daily --direction up --format mermaid
aquila tag orders pii=true owner=data-team
aquila deprecate orders --reason "replaced by orders_v2"
aquila scan --remote                          # also read S3/GCS/Azure Parquet footers
aquila scan --iceberg-uri https://catalog.example/api --iceberg-token-env ICEBERG_TOKEN

Scans also warn when two specs write the same location, and they drop the edges and contracts of spec files that were deleted from a scanned directory (scanning a single file never removes anything else).

Dataset publications

From a dataset job folder, run aquila scan after arsenal dataset apply, then aquila lineage published --direction up --format mermaid. The job needs no YAML. Aquila opens .arsenal/dataset.duckdb read-only using the DuckDB Python package in the scanner environment. A parent-directory scan also finds nested jobs. Use aquila search published to select a specific output by URI.

The input edge represents the file set used for the last successful publication. Its output node shows the commit time, row count and available event-time range. A separate status node shows the latest apply attempt and its error on failure. JSON lineage includes the file list, saved rules, version and scan timestamp. Run a fresh scan to refresh the graph; check its skipped sources if a writer holds the database lock. Opening the catalog upgrades its schema to version 3.

Remote schemas (opt-in)

  • --remote reads the footer of remote Parquet datasets through pyarrow's filesystems with the environment's ambient credentials.
  • --iceberg-uri loads iceberg://namespace.table datasets from a REST catalog (pip install 'de-aquila[iceberg]') and records every schema the table has had, dated by the first snapshot that used it.
  • A failure becomes a skipped entry naming the error class only — provider messages can carry signed URLs or tokens.

Boundaries

  • Pull model. Nothing depends on Aquila and no tool writes to it; delete aquila.db and every pipeline still runs. Scans open state databases read-only, so they never migrate, lock or back them up.
  • Offline by default. Without --remote/--iceberg-uri a scan touches only local files.
  • Declaration-based lineage. Edges come from specs, not from observed reads. A transform that reads a path its spec does not name is invisible.
  • No enforcement. Tags and deprecation are metadata; access control needs a server and is out of scope. Contracts are checked, not enforced — Scutum enforces them at write time.
  • Relative paths resolve against --root (default: the current directory), like arsenal run. Query strings and URL credentials are never stored.
  • Augur reads aquila.db when present (augur index --aquila), read-only.
  • arsenal status adds a catalog block when de-arsenal[catalog] is installed and .arsenal/aquila.db exists.

Metadata

Release files for de-aquila 0.6.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for de-aquila 0.6.16
File Size Uploaded Provenance Actions
de_aquila-0.6.16.tar.gz 32.2 kB With provenance Details for de_aquila-0.6.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for de-aquila 0.6.16
File Interpreter ABI Platform Actions
de_aquila-0.6.16-py3-none-any.whl Python 3 none any Details for de_aquila-0.6.16-py3-none-any.whl

Total release size: 62.4 kB

Release files / de_aquila-0.6.16.tar.gz

Download URL de_aquila-0.6.16.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f1b5c7191638b99a0a5908bfdf50e4736f88e31b6e749d60f90a4c42de5a61e5
BLAKE2b-256 checksum
How to use checksums
c3127625396bbce1a9a69e0bf13f364583959764f5693189f0bb37c78372c5a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / de_aquila-0.6.16-py3-none-any.whl

Download URL de_aquila-0.6.16-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da40752ca9c901ad114b6e5fc876852cad57b430ee3f81677b8daf90bc012917
BLAKE2b-256 checksum
How to use checksums
825402e7475c346ea151b237d81eb0c22cec98dc7abdaff2b46a868f3ff04e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for de-aquila 0.6.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for de_aquila-0.6.16.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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