A CLI tool for managing Sigma data models with Git. It provides a simple interface for interacting with Sigma's data model APIs and provides an easy workflow to write, review and deploy Sigma data models as code.
- To authenticate, add your Client ID, client secret, and base URL to credentials.yml in the .sigma directory.
profiles:
default:
base_url: https://api.staging.us.aws.sigmacomputing.io
client_id: your_client_id
client_secret: your_client_secret- Next install sigma-sdlc
pip install sigma-sdlc- Sync your data models:
sigma syncYou're ready to go!
- Authentication: A simple way to generate an auth token using a client and secret from Sigma
- Sync data models from Sigma to your Git repo: Sigma is the source of truth for data model code. The sync command makes sure your remote repo incorporates all changes made in Sigma
- Deploy data models to Sigma: Deploy all changes made locally to Sigma
sigma login: Authenticates with Sigma and stores credentialssigma sync: Syncs data models from Sigma to your local reposigma deploy: Deploys data models to Sigma
- Make sure you have authenticated with
sigma login - Sync data models from Sigma to your local repo with
sigma sync - Make changes to the data models in your local repo
- Deploy the changes to Sigma with
sigma deploy