Skip to main content

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

Development

Contributor setup uses uv. One command creates .venv, installs snowcap editable, and installs the pinned dev dependencies from uv.lock:

make install-dev

This removes stale pip install -e . metadata (which would shadow the uv-managed install) and runs uv sync. Run tools through uv so the environment can never drift from the checkout:

uv run pytest          # unit tests
make lint              # black --check, codespell, ruff
make typecheck         # mypy

See TESTING.md for integration test setup.

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

Metadata

Release files for snowcap 1.0.31

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snowcap 1.0.31
File Size Uploaded
snowcap-1.0.31.tar.gz 1.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for snowcap 1.0.31
File Interpreter ABI Platform
snowcap-1.0.31-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / snowcap-1.0.31.tar.gz

Download URL snowcap-1.0.31.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
9cf8119798131f02b2c2190764598ec21264f0c7c571abc9a2783c3625ba3b36
BLAKE2b-256 checksum
How to use checksums
4b09e78ca6db05e11c8fe576224a0b1da72468b6a2d50e92a89f9b069cdd74e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / snowcap-1.0.31-py3-none-any.whl

Download URL snowcap-1.0.31-py3-none-any.whl
Size 289.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fac12a9a69e80cef1c9c8b21f1f3a3dcf7f33205f5c9c825e5303f6fdba803b6
BLAKE2b-256 checksum
How to use checksums
03d79fe5109d5addaeef6da8e38ecacd3027b034eec85d8c1639b8bcd09e98d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

1.0.33

2 release files

This release

1.0.31 This release

2 release files

1.0.29

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.26

2 release files

1.0.25

2 release files

1.0.23

2 release files

1.0.22

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page