Skip to main content

Enkinex ODPS Library

Current versionv1.0.0

Enkinex ODPS is a library for writing data governance as code. It implements the Open Data Product Standard (ODPS) as modular KCL schemas, bringing data products modularity, maintainability, type safety, constraints, and two-way validation.

The library is composed of seven packages — common, management, product, product.input, product.output, support, team — plus the root odps.k, which imports from every module and composes the final DataProduct schema. product exists as a package of its own so that product.input and product.output can both depend on the Software Bill of Materials without a circular import.

Library Code

GitHub

The KCL schema library — seven packages plus the root DataProduct, with the generated schema reference.

Tutorial

Docs

Author a data product as a typed KCL project step by step, then export it to YAML.

Quick Start

Everything below assumes the KCL CLI >= 0.12.7 is on your PATH — the tutorial's Installing KCL page walks through it.

Add Enkinex ODPS to your KCL project

From the root of your KCL module, pull the library in as a Git dependency pinned to the release tag. It lands in kcl.mod as enkinex_odps, which is the name you import from in your .k files.

kcl mod add --git https://github.com/enkinex/enkinex-odps --tag 'v1.0.0'

Clone the Enkinex ODPS library from GitHub

To read the schemas, run the test fixtures, or contribute a change, clone the library itself:

git clone https://github.com/enkinex/enkinex-odps.git

Clone the Enkinex ODPS tutorial code from GitHub

The complete tutorial project — the ODPS example data product written as modular KCL — is a separate repository:

git clone https://github.com/enkinex/enkinex-odps-tutorial.git