Skip to main content

CLI tool for managing Sigma data models with Git workflows

Project description

Sigma CLI

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.

Quick Start

  1. 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
  1. Next install sigma-sdlc
pip install sigma-sdlc
  1. Sync your data models:
sigma sync

You're ready to go!

Features

  • 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

Essential Commands

  • sigma login: Authenticates with Sigma and stores credentials
  • sigma sync: Syncs data models from Sigma to your local repo
  • sigma deploy: Deploys data models to Sigma

Example Workflow

  1. Make sure you have authenticated with sigma login
  2. Sync data models from Sigma to your local repo with sigma sync
  3. Make changes to the data models in your local repo
  4. Deploy the changes to Sigma with sigma deploy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sigma_computing_cli-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sigma_computing_cli-0.1.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file sigma_computing_cli-0.1.0.tar.gz.

File metadata

  • Download URL: sigma_computing_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for sigma_computing_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1a90ed08cb28f61bcba86809b83e9f41069f095b58895761c066a6a5022bcd3
MD5 f664d64cf0702ffb8d0e3269d4588352
BLAKE2b-256 af64a8dc2f38ae462dfbaaa2ef133039f2adc5dad426d84e2bf5ae9a3e7844a8

See more details on using hashes here.

File details

Details for the file sigma_computing_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sigma_computing_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcec9f372d36b653ac96ce00334d4dafb4b1aaf08a5d5aff7c35de7dd691d734
MD5 aad8717b70f2fc20fb9080219987a181
BLAKE2b-256 b5a195a2a387dcf451fa91dcfd76165de1c93e6ae3a9719dcbdd7d665fb69881

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page