skillfed

prefect-snowflake

Prefect integrations for interacting with Snowflake

prefect-snowflake v0.28.8 332.3K downloads/30d#7,508 on PyPI23,623
Permissive license Apache License 2.0 Active released

What it is and what it does

prefect-snowflake is an official Prefect integration that bridges Prefect's workflow orchestration platform with Snowflake data warehouses. It provides Prefect blocks and tasks that encapsulate Snowflake connectivity, allowing you to build data pipelines that query, load, and transform data in Snowflake as part of larger orchestrated workflows.

The package wraps snowflake-connector-python and integrates with Prefect's task and block system, so you can define Snowflake operations declaratively within Prefect flows. It handles connection management, retries (via tenacity), and credential storage through Prefect's block infrastructure. Typical use is in ETL/ELT pipelines where Snowflake is the target or source system and Prefect orchestrates the workflow across multiple steps.

Use it for:

  • Build ETL pipelines that extract data from external sources and load it into Snowflake tables via Prefect workflows.
  • Schedule and monitor recurring SQL transformations in Snowflake as part of a larger data orchestration platform.
  • Coordinate multi-step data workflows where some steps run in Snowflake and others run in external systems, all managed by Prefect.
  • Fetch query results from Snowflake and pass them downstream to other Prefect tasks for further processing or alerting.
  • Manage Snowflake credentials centrally through Prefect blocks and reuse them across multiple workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Prefect integration that provides tasks and blocks for connecting Prefect workflows to Snowflake databases, enabling data orchestration and SQL execution within Prefect pipelines.

Yes, if you are already using Prefect for workflow orchestration and need to integrate Snowflake. The package is actively maintained, has low install friction, carries a permissive license, and is part of the official Prefect ecosystem. It is worth installing as a dependency when Snowflake is a core part of your data pipeline.

Install

prefect-snowflake on PyPI

pip

pip install prefect-snowflake

uv

uv add prefect-snowflake

poetry

poetry add prefect-snowflake

Installing prefect-snowflake

Before you install

Low install friction with a pure-Python wheel. Actively maintained with a recent release 70 days ago. Depends on prefect, snowflake-connector-python, snowflake, and tenacity—all standard workflow and database libraries. Requires Python 3.10 or later.

License in practice

Apache License 2.0 (permissive) allows free use, modification, and distribution in commercial and private projects with minimal restrictions—just retain the license notice.

Quickstart

pip install prefect-snowflake

from prefect_snowflake import SnowflakeConnector
from prefect import flow

@flow
def my_flow():
    connector = SnowflakeConnector.load("my-connector")
    # Use connector to execute queries or fetch data

Requires Python 3.10 or later and valid Snowflake credentials (account, user, password, or authentication method).

Verify before relying

  • Whether the package provides pre-built task templates or only low-level connector abstractions.
  • Support for Snowflake authentication methods beyond basic username/password (e.g., SSO, key-pair).
  • Performance characteristics and connection pooling behavior under high-concurrency workflows.

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — snowflake, snowflake-connector-python, prefect, tenacity
Maintenance actively maintained — 70 days since the last release
Last repo commit
First released
Downloads 332,294/month — #7,508 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: prefect_snowflake-0.28.8-py3-none-any.whl

Keywords: prefect

Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries

Tags

prefect snowflake integrationsnowflake workflow orchestrationprefect database taskssnowflake connector prefectdata pipeline snowflakeprefect sql executionworkflow automation snowflake
workflow-orchestrationdata-integrationsnowflake

More Libraries packages