Entropy Data CLI
The Entropy Data CLI is experimental. Commands and options may change in future releases.
The Entropy Data CLI is a command-line tool for interacting with the Entropy Data platform. It allows you to manage data products, data contracts, teams, tags, and other resources directly from your terminal. The CLI is written in Python and can be used standalone or integrated into scripts and CI/CD pipelines.
Installation
Install the CLI using uv:
uv tool install entropy-data-cli
Configuration
Set your API key and host as environment variables:
export ED_API_KEY="your-api-key"
export ED_HOST="https://app.entropy-data.com"
Or use a .env file in your working directory:
.env
ED_API_KEY=your-api-key
ED_HOST=https://app.entropy-data.com
Alternatively, pass them as command-line options:
entropy-data --api-key your-api-key --host https://app.entropy-data.com <command>
Usage
List data products
entropy-data dataproducts list
Get a data product
entropy-data dataproducts get <id>
Create or update a data product from a YAML file
entropy-data dataproducts put <id> -f dataproduct.yaml
Manage other resources
The CLI supports the same commands for other resource types:
entropy-data <resource> <command> [options]
Available resources: dataproducts, datacontracts, teams, tags, definitions, assets, access.
Links
- Entropy Data CLI on GitHub