Skip to main content Switch to mobile version irides-enrichment 0.2.0 Metadata and Markdown/OKF enrichment package for Irides: base preformatters, PK/FK wikilinks, database.md catalog linking, and optional AI inference.
pip install irides-enrichment Copy PIP instructions
Satellite package for Irides that enriches database table metadata (database/*) and database.md overview files with base preformatters, bidirectional path-qualified wikilinks ([[path|alias]]), PK/FK linking, and optional AI inference & TL;DRs.
Base preformatter & wikilinks: Ensures standalone Markdown files include normalized YAML frontmatter and base instance/schema wikilinks without overwriting manual governance/notes.
Same-instance PK/FK graph linking: Connects explicit foreign keys and heuristic implicit foreign keys (customer_id -> customers.id) within each (config, instance) scope.
Opt-in AI relationship & TL;DR discovery (--use-ai): Discovers missed implicit FKs, deduces missed database.md ↔ catalog links, and writes concise TL;DR summaries (strictly validated against real catalog tables).
database.md catalog correlation: Links repository database.md files (both Prism catalog records and standalone manifests/Markdown) to DB catalog tables and adds reverse used_by backlinks on those tables.
Dual-mode persistence: For catalog records: saves into canonical JSON (FileMetadataStore.save_table_enrichment / save_prism_enrichment) and regenerates Markdown + OKF v0.2 via FileArtifactStore.
For standalone .md files: inserts/updates frontmatter and idempotent sections in-place.
pip install irides-enrichment # With AI support (LiteLLM): pip install "irides-enrichment[ai]" # Or together with Irides CLI (`irides enrich`): pip install "irides-cli[enrichment]" Usage
# Enrich the entire Irides catalog (STORAGE_METADATA_DIR + STORAGE_EXPORT_DIR) irides-enrichment # or via the unified CLI: irides enrich # Also include standalone Markdown / database.md files irides enrich ./examples/sqlite_demo ./services/checkout/database.md # Enable AI implicit FK discovery + TL;DR irides enrich --use-ai # Dry-run preview irides enrich --dry-run CLI Options Reference (irides-enrichment / irides enrich)
End-to-End Cycle (describe → prism → enrich)
export STORAGE_METADATA_DIR=/tmp/irides_demo/metadata export STORAGE_EXPORT_DIR=/tmp/irides_demo/exports python3 examples/sqlite_demo/setup_demo.py irides -c examples/sqlite_demo/irides.yaml describe --target demo_sqlite irides prism examples/sqlite_demo --output-dir /tmp/irides_demo/prism irides enrich --dry-run irides enrich Python Plugin & Library Usage
from irides_core import load_plugin from irides_enrichment import EnrichmentOptions, run_enrichment # Direct import report = run_enrichment(EnrichmentOptions(use_ai=False)) # Or via irides-core plugin registry (`irides.plugins`) plugin = load_plugin("enrichment") report = plugin.run({"use_ai": False}) Async Platform Integration
For asynchronous enrichment runs triggered via REST API (POST /api/v1/enrichment/run) or MCP (enqueue_enrichment), see services/worker_enrichment/README.md, services/api/README.md, and infra/README.md.
Released: Dec 1, 2026
Author: Gian Andrea Sechi
Apache Software License (Apache-2.0)
database enrichment wikilinks okf markdown irides catalog lineage
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: Apache Software License
Operating System OS Independent
Programming Language Python :: 3
Software Development :: Documentation
Release files for irides-enrichment 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 48.4 kB
Release files / irides_enrichment-0.2.0.tar.gz
Release files / irides_enrichment-0.2.0-py3-none-any.whl
Security for irides-enrichment 0.2.0
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.
None of the files in this release were uploaded with provenance metadata.
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.
Release history Release notifications | RSS feed
Dec 1, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from a8e35ed











