prefect-snowflake
Prefect integrations for interacting with Snowflake
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-snowflakeuv
uv add prefect-snowflakepoetry
poetry add prefect-snowflakeInstalling 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
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
prefect-emailProvides Prefect workflow integration for…
permissive · top 15,000 on PyPI
prefect-sqlalchemyIntegrates SQLAlchemy with Prefect workflows,…
permissive · top 5,000 on PyPI
prefect-shellProvides Prefect workflow tasks for executing…
permissive · top 15,000 on PyPI
prefect-dbtPrefect integration that orchestrates dbt…
permissive · top 15,000 on PyPI
prefect-githubProvides Prefect workflow tasks and blocks for…
permissive · top 5,000 on PyPI
prefect-awsProvides pre-built blocks, tasks, and workers…
permissive · top 5,000 on PyPI
prefect-gitlabIntegrates Prefect workflow orchestration with…
permissive · top 15,000 on PyPI
streamsetsA Python SDK for programmatically interacting…
unclear · top 15,000 on PyPI
prefect-gcpIntegrates Prefect workflow orchestration with…
permissive · top 5,000 on PyPI
prefect-dockerProvides Docker task execution and container…
permissive · top 5,000 on PyPI