The entropy-data CLI lets you manage your Entropy Data platform from the command line.
You can manage data products, data contracts, access agreements, teams, source systems, definitions, certifications, and more — directly from your terminal or CI/CD pipeline.
Docs: https://docs.entropy-data.com
Requires Python >= 3.12.
uv tool install entropy-data-cli
entropy-data --helpOr with pip:
pip install entropy-data-cli
entropy-data --helpdocker run --rm entropy-data/cli --helpGenerate an API key in the Entropy Data UI under organization settings, then:
entropy-data connection add prod
# prompts for API key and host# List teams
entropy-data teams list
# Get a specific data product
entropy-data dataproducts get my-data-product
# List data contracts as JSON
entropy-data datacontracts list --output json# Create or update a team from a YAML file
entropy-data teams put marketing --file team.yaml
# Approve an access agreement
entropy-data access approve 640864de-83d4-4619-afba-ccea8037ed3a
# Search across all resources
entropy-data search query "customer orders"entropy-data [--version] [--connection NAME] [--output table|json] [--debug]
connection list | add | remove | set-default | test
dataproducts list | get | put | delete
datacontracts list | get | put | test | delete
access list | get | put | delete | approve | reject | cancel
teams list | get | put | delete
sourcesystems list | get | put | delete
definitions list | get | put | delete
certifications list | get | put | delete
example-data list | get | put | delete
test-results list | get | publish | delete
costs list | add | delete
assets list | get | put | delete
tags list | get | put | delete
api-keys create | delete
settings get-customization | put-customization
events poll
lineage list | submit | delete
search query
usage list | submit | delete
import zip
Connections are stored in ~/.entropy-data/config.toml:
default_connection_name = "prod"
[connections.prod]
api_key = "ed_abc123..."
host = "https://api.entropy-data.com"
[connections.dev]
api_key = "ed_xyz789..."
host = "https://localhost:8080"You can also use environment variables (ENTROPY_DATA_API_KEY, ENTROPY_DATA_HOST) or CLI options (--api-key, --host).
The CLI automatically loads a .env file from the current working directory. This is useful for project-specific configuration:
# .env
ENTROPY_DATA_API_KEY=ed_abc123...
ENTROPY_DATA_HOST=https://api.entropy-data.comValues from .env are loaded as environment variables and do not override already-set environment variables.
Resolution precedence: CLI options > environment variables / .env > config file.
git clone https://github.com/entropy-data/entropy-data-cli
cd entropy-data-cli
uv sync --dev
uv run pytest
uv run ruff check .- Update the version in
pyproject.toml - Update
CHANGELOG.mdwith a## [X.Y.Z]section - Commit, tag, and push:
git add pyproject.toml CHANGELOG.md
git commit -m "Bump version to X.Y.Z"
git tag vX.Y.Z
git push origin main --tagsThe release workflow will automatically run tests, publish to PyPI, create a GitHub Release, and push a Docker image to Docker Hub.