Skip to main content

Snowcap: Snowflake infrastructure as code

Project description

snowcap - Snowflake infrastructure as code

PyPI Python 3.10+ License

Brought to you by Datacoves

Datacoves

Snowcap helps you provision, deploy, and secure resources in Snowflake. Datacoves takes it further: a managed DataOps platform for dbt and Airflow where governance and best practices are built into every layer.

  • Private cloud or SaaS – your data, your choice
  • Managed dbt + Airflow – production-ready from day one
  • In-browser VS Code – onboard developers in minutes
  • Bring your own tools – integrates with your existing stack, no lock-in
  • AI-assisted development – connect your organization's approved LLM (Anthropic, OpenAI, Azure, Gemini, and more)
  • Built-in governance – CI/CD, guardrails, and best practices included

Snowcap is the power tools. Datacoves is the workshop.

Explore the platform →


Why Snowcap?

Snowcap replaces Terraform, Schemachange, or Permifrost with a single, purpose-built tool for Snowflake.

Feature Snowcap Terraform Permifrost
Snowflake-native Yes No Yes
State file No Yes No
YAML + Python Yes HCL only YAML only
Speed 50-90% faster Baseline Medium
All resource types Yes Most Roles/grants only
for_each templating Yes Yes No
Export existing resources Yes Import only No

Key Features

  • Declarative — Generates the right SQL to make your config match your account
  • Comprehensive — 60+ Snowflake resource types supported
  • Flexible — Write configuration in YAML or Python
  • Fast — 50-90% faster than Terraform
  • Migration-friendly — Export existing resources with the CLI

Quick Start

pip install snowcap

Create snowcap.yml:

warehouses:
  - name: analytics
    warehouse_size: xsmall
    auto_suspend: 60

Run:

# Set credentials
export SNOWFLAKE_ACCOUNT=my-account
export SNOWFLAKE_USER=my-user
export SNOWFLAKE_PASSWORD=my-password
export SNOWFLAKE_ROLE=SYSADMIN

# Preview changes
snowcap plan --config snowcap.yml

# Apply changes
snowcap apply --config snowcap.yml

Documentation

Full documentation, examples, and resource reference at datacoves.github.io/snowcap

Support

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

snowcap-1.0.4.tar.gz (251.8 kB view details)

Uploaded Source

Built Distribution

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

snowcap-1.0.4-py3-none-any.whl (212.6 kB view details)

Uploaded Python 3

File details

Details for the file snowcap-1.0.4.tar.gz.

File metadata

  • Download URL: snowcap-1.0.4.tar.gz
  • Upload date:
  • Size: 251.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for snowcap-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b422d4053330792aab749a26538d5139d477f69976258ff8527ec0dc6d9f95d9
MD5 08c98d4b18a8e0ee01e1575826fb5ae5
BLAKE2b-256 250118051cc5244523f54a75b204dbbd304df5ed5ac62edc0234fb64ce2c693b

See more details on using hashes here.

File details

Details for the file snowcap-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: snowcap-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 212.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for snowcap-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cf1446621f69ba874c04e52a226b88ca092cc60aa45d1a139fcdd1e8d76691cc
MD5 f04d3d6dddf4ea039b88102b795d1980
BLAKE2b-256 908efe3a3d94262157fc61af90a517f41e225fd9f64e41fe6a5eb53653b1ea3e

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