dataprodex

Your contracts, readable by everyone.

You have data contracts — or want to write them — and want the catalog that goes with them. Nothing demo-specific is required: every demo default is configurable or optional, and the catalog that comes out is yours.

Python 3.12+ODCS v3.2.0any file host

What you need

Python 3.12 or later

The build and its validators run from the repository; dependencies are installed by make install.

ODCS v3.2.0 contracts

One YAML file per data product, validated against the official schema. The model contract in the repository — contracts/raw/shopify/raw__orders__shopify.odcs.yaml — serves as the reference to start from.

A place to host files

GitHub Pages, a bucket, an intranet share — anything that serves files. The output also runs from a double-click: make single emits one self-contained HTML file.

No demo required

The demo is a showcase, not a dependency. Contract paths, layers, labels and defaults are all configured in dataprodex.config.yaml; a missing configuration file falls back to built-in defaults.

Four steps

clone → make install → make configs → make check → make catalog-open → publish

  1. clone

    Clone the repository

    dataprodex installs from GitHub — there is nothing to download here.

    git clone https://github.com/camlebrun/dataprodex.git
    make install
  2. scaffold

    Generate your configuration

    Every configuration file is created by code and validated at build time — no hand-written skeleton to get wrong. Each file is created only if absent.

    make configs

    You get dataprodex.config.yaml (brand accent, layer labels and hints, contract paths, default settings), your flows file, your markings vocabulary, and the generated contract index.

  3. build

    Build your catalog

    Validate the contracts, then build and open your own catalog in the browser. Point paths.contracts at your contracts folder and dataprodex never needs the demo's layout.

    make check
    make catalog-open
  4. publish

    Publish it

    The build output is static files: host dist/catalog-v2/ on any file server — Pages, a bucket, an intranet share. Nothing to provision, no runtime cost.

    make single   — or: the whole catalog in one
                 self-contained HTML file, offline.

What you tune, without touching code

The adopter's surface is one YAML file: dataprodex.config.yaml, created by make config, validated at build time.

  • The brand accentyour color replaces the default violet
  • Layer labels and hintsmore layers, fewer, or none — an ordered list, not a fixed shape
  • Contract pathspoint at your contracts folder, wherever it lives
  • Default settingsgrouping by layer or by flow, tree and view defaults
  • The demo switchdemo: true labels the demo's classification alerts as intentional — leave it off on a real corpus
  • The database dialectBigQuery, Snowflake, Postgres or Databricks for the starting query, set by one build-time variable

Starting questions

My project has more layers than the demo — or none at all.
Layers are an ordered list in the configuration, and the demo's raw/core/customer shape is a default, not a law. Rename core to silver, add a layer, keep a single one — or declare none: contracts without a layer become free contracts, and the structural rules switch off.
Do I have to ship both profiles — analyst and steward?
No. A build can offer both views, or ship a single profile (--profile analyst or steward). The data is the same either way; only the access to the steward's Trace view changes.
What about the AI view I saw on the demo?
It is a demo-only option, off by default, and nothing in your catalog depends on it: it requires a server function your deployment does not need. Without it, your catalog makes no network call at all.
Is the catalog going to change my contracts?
No. The catalog is read-only by design: it reflects what the contracts declare. Contracts change by pull request, like code — then a rebuild produces the next version of the catalog.

Everything else lives in the repository

The README is the complete manual, and the adoption guide walks every step in detail — including cleaning out the demo residue before going to production.