Python SDK and AI agent toolkit for the OpenDataProducts.org standards family, supporting ODPS, ODPC, ODPG, ODPV, MCP, CLI workflows, and LLM-assisted generation
pip install open-data-products==0.6.5 Copy PIP instructions
open-data-products is a Python SDK and CLI for the OpenDataProducts.org standards family: ODPS, ODPC, ODPG, ODPV, and ODPR.
Use it to validate data product documents, build catalogs and graphs, inspect portfolio source intake, run LLM-assisted generation workflows, expose a local MCP server, and give AI agents a consistent standards-aware API.
pip install open-data-products Optional extras:
# Outlook .msg intake support pip install "open-data-products[email]" # Data Contract CLI integration pip install "open-data-products[contracts]" # Embedded llama.cpp generation support pip install "open-data-products[llama-cpp]" # Development tools pip install "open-data-products[dev]" Python 3.8 or newer is required.
Most commands print human-readable output by default. Add --json for CI, scripts, MCP clients, and agents.
# Validate and inspect standards documents python3 -m open_data_products.cli validate examples/product.yaml python3 -m open_data_products.cli explain examples/product.yaml --json python3 -m open_data_products.cli refs examples/product.yaml --json python3 -m open_data_products.cli summary examples/product.yaml # Discover bundled schemas, prompts, vocabulary records, and guidance python3 -m open_data_products.cli resources --json python3 -m open_data_products.cli resources --id generation.prompt.system --json # Agent surfaces python3 -m open_data_products.cli manifest --json python3 -m open_data_products.cli serve After installation, the console script provides the same commands:
open-data-products validate examples/product.yaml open-data-products explain examples/product.yaml --json Wrap an ODCS contract without changing its source:
open-data-products product wrap-contract --input contracts/orders.yaml \ --output products/orders.yaml --json The resulting ODPS document is a private draft with reported defaults and missing business evidence. It uses the original contract as an external reference unless --inline-contract is selected.
Choose the draft depth with optional enrichment:
# Minimal technical wrapper open-data-products product wrap-contract --input contracts/orders.yaml --output products/orders.yaml # Business description and discovery tags open-data-products product wrap-contract --input contracts/orders.yaml --output products/orders.yaml --enrich # Rich ODPS draft open-data-products product wrap-contract --input contracts/orders.yaml --output products/orders.yaml --enrich --full-draft See Data Contract workflows for the generated fields and provider configuration.
Discover technical portfolio evidence from a contract repository without declaring any contract to be an approved data product:
open-data-products portfolio discover-contracts contracts/ \ --output portfolio-discovery/ --json The command writes a normalized contract inventory, a source-linked Data Contract Intelligence artifact, review-only typed opportunities, and a static HTML report. The report separates standalone product candidates, multi-contract boundary proposals, and rationalisation opportunities; it also lists contracts without a current opportunity signal. Duplicate and schema-overlap findings are technical evidence, not approved product boundaries.
Without --json, the command prints the same inventory, interface analysis, priority evidence, typed opportunities, and no-current-signal contracts as the HTML report. Use --json for the same information in structured form.
Portfolio source intake can be inspected without calling an LLM:
python3 -m open_data_products.cli portfolio intake \ --objectives sources/objectives/ \ --use-cases sources/use-cases/ \ --signals sources/signals/ \ --products sources/products/ \ --config generation.config.yaml \ --json Portfolio build uses the same source lanes and prompt budget controls:
open-data-products config generation --copy-to generation.config.yaml open-data-products config generation --config generation.config.yaml --check open-data-products generate \ --config generation.config.yaml \ --input source_docs/products/ \ --kind product-reference \ --output generated/ Documentation The full SDK guide that used to live in this README is now here:
git clone https://github.com/Open-Data-Product-Initiative/odps-python cd odps-python pip install -e ".[dev]" pytest -q Before publishing a package, verify the PyPI description renders:
python3 -m build python3 -m twine check dist/* Acknowledgments Thanks to the Open Data Product Initiative community, Chris Howard / Kitard for the original odps-python foundation, devlouie for the MCP layer and agent surface, and the Data Contract CLI project for the optional contract execution engine.
Both files in this release have provenance metadata.
contracts contracts-all measurements email llama-cpp dev
open-data data-product open-data-products odps odpv odpc odpg data-contracts specification validation vocabulary catalog graph mcp model-context-protocol llm ai-agent cli yaml json-schema iso-standards rfc type-safety
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Both files in this release have been uploaded with provenance metadata.
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.
Nov 7, 2026 2 release files Loss of provenance




