Tigrbl engine plugin for Snowflake, auto-registered via entry points.
Project description
tigrbl_engine_snowflake
Tigrbl engine plugin for Snowflake, auto-registered via the tigrbl.engine entry-point group.
Install
pip install -e .
Usage (inside Tigrbl)
from tigrbl.engine import Engine
from tigrbl.engine.engine_spec import EngineSpec
# DSN (Snowflake SQLAlchemy URL)
spec = EngineSpec(kind="snowflake", dsn="snowflake://USER:PWD@ACCOUNT/DB/SCHEMA?warehouse=WH&role=ROLE")
# Or provide a mapping; the plugin builds the DSN
spec = EngineSpec(kind="snowflake", mapping={
"account": "myacct-xy123",
"user": "USER",
"pwd": "PWD",
"db": "DB",
"schema": "PUBLIC",
"warehouse": "COMPUTE_WH",
"role": "SYSADMIN",
"pool_size": 10,
"max_overflow": 20
})
engine = Engine(spec)
with engine.session() as s:
s.execute("SELECT CURRENT_ROLE()").all()
Entry-point
Declared in pyproject.toml:
[project.entry-points."tigrbl.engine"]
snowflake = "tigrbl_engine_snowflake:register"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tigrbl_engine_snowflake-0.1.1.dev5.tar.gz.
File metadata
- Download URL: tigrbl_engine_snowflake-0.1.1.dev5.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f992ed524f8cf256648710e073ff9c811d33e2c9035afdfa454ecb6ed3f83923
|
|
| MD5 |
20b1838eb2f4a1409d66d6a40d851b08
|
|
| BLAKE2b-256 |
88dfc8487fbc290de73a6d3ff95b1d74db25270f5bf6ffd7b71bfd728b2fde5c
|
File details
Details for the file tigrbl_engine_snowflake-0.1.1.dev5-py3-none-any.whl.
File metadata
- Download URL: tigrbl_engine_snowflake-0.1.1.dev5-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88765808acbc77cb20efa0849e982b99d221eae66abab748f007ba51d2c71fff
|
|
| MD5 |
9369c6afb1624497193e9d2a39b8a9fe
|
|
| BLAKE2b-256 |
569219f7cceda3d57b777b22752f11bfa2d04c723cf867970ed9678d5de570d8
|