Command-line interface for the CDISC Library API.
Query SDTM, ADaM, CDASH standards and Controlled Terminology directly from a terminal.
pip install cdisc-cli
export CDISC_API_KEY="your-key-here"Get a free API key at https://www.cdisc.org/cdisc-library
# List all available standards and versions
cdisc products --format pretty
# SDTM
cdisc sdtm-domains --version 3.4
cdisc sdtm-variables --version 3.4 --domain AE
cdisc sdtm-variable --version 3.4 --domain AE --variable AETERM
# ADaM
cdisc adam-structures --version 1.3
cdisc adam-variable --version 1.3 --structure ADSL --variable USUBJID
# CDASH
cdisc cdash-domains --version 2.0
cdisc cdash-fields --version 2.0 --domain AE
# Controlled Terminology
cdisc ct-packages
cdisc codelist --package sdtmct-2024-03-29 --codelist C66781
cdisc codelist-terms --package sdtmct-2024-03-29 --codelist C66781 --format tableAll commands accept these global options:
| Option | Default | Description |
|---|---|---|
--api-key |
$CDISC_API_KEY |
CDISC Library API key |
--format |
json |
Output format: json, pretty, or table |
--max-items |
100 |
Max items in list responses |