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 SnowDDL Permifrost
Snowflake-native
No state file
YAML + Python HCL only YAML only YAML only
Speed 50%+ faster Baseline Fast Slow
60+ resource types Most Most Grants only
Templating / loops Limited
Export existing resources Import only
Actively maintained ✅ Datacoves ✅ Snowflake ⚠️ Single maintainer ⚠️ Infrequent

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%+ faster than Terraform and Permifrost
  • Migration-friendly — Export existing resources with the CLI

Quick Start

Run with uv (no install needed):

uvx snowcap plan --config snowcap.yml

Or install from PyPI:

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 snowcap.datacoves.com

Background

Snowcap is a fork of Titan Core. The original project appeared unmaintained, so Datacoves forked it to continue active development, fix bugs, and add new features. We're grateful to the Titan Systems team for creating and open-sourcing the original project under the Apache 2.0 license.

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.19.tar.gz (280.7 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.19-py3-none-any.whl (236.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snowcap-1.0.19.tar.gz
Algorithm Hash digest
SHA256 28fd073d998f0d0bfd6028745664bcd6ab343c540f59a970edd17c9127e7880a
MD5 5f1143028a3a0f9db5209b385121d01e
BLAKE2b-256 b3d7b09aa39666afbab6f609a36cf8215f61aee48552be9455904fae99bff520

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for snowcap-1.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 cd0d8b77f88a6da824b03c78c4c5b540cf217b3d12c2e71996a0d34940e3fe22
MD5 2477af07d6768d9dd7ccf5303e0049e5
BLAKE2b-256 0d1372baa7fb23686bbcbc05e402bd62b422436f9b4a69f52de0ba03ced9ff52

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