trulens-connectors-snowflake
Snowflake connector for TruLens. Logs traces and evaluations to your Snowflake account.
Install
pip install trulens-connectors-snowflake
Quick Start
from trulens.connectors.snowflake import SnowflakeConnector
from trulens.core import TruSession
conn = SnowflakeConnector(snowpark_session=my_existing_session)
session = TruSession(connector=conn)
Authentication Methods
No password required for most auth methods. SnowflakeConnector supports any auth that Snowpark supports.
| Method | Key Param | Password Required? |
|---|---|---|
| Existing Snowpark Session | snowpark_session= |
No |
| Browser SSO | authenticator="externalbrowser" |
No |
| Key-pair auth | private_key_file="rsa_key.p8" |
No |
| OAuth token | authenticator="oauth", token=... |
No |
| Username / password | password="..." |
Yes |
Browser-based SSO
conn = SnowflakeConnector(
account="myaccount",
user="myuser",
authenticator="externalbrowser",
database="mydb",
schema="myschema",
warehouse="mywh",
role="myrole",
)
Key-pair auth
conn = SnowflakeConnector(
account="myaccount",
user="myuser",
private_key_file="/path/to/rsa_key.p8",
database="mydb",
schema="myschema",
warehouse="mywh",
role="myrole",
)
OAuth access token
conn = SnowflakeConnector(
account="myaccount",
user="myuser",
authenticator="oauth",
token="<token>",
database="mydb",
schema="myschema",
warehouse="mywh",
role="myrole",
)
Full Documentation
See the Logging in Snowflake guide for complete examples including session refresh for long-running apps and troubleshooting.
Metadata
Release files for trulens-connectors-snowflake 2.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trulens_connectors_snowflake-2.16.0.tar.gz | 1.7 MB | Without provenance | Details for trulens_connectors_snowflake-2.16.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trulens_connectors_snowflake-2.16.0-py3-none-any.whl | Python 3 | none | any | Details for trulens_connectors_snowflake-2.16.0-py3-none-any.whl |
Total release size: 3.4 MB
Release files / trulens_connectors_snowflake-2.16.0.tar.gz
| Download URL | trulens_connectors_snowflake-2.16.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e54b929c969a334b9e6ff97c2cd7a4c5ded188297d8c0deb37e3fc2c72808e9c
|
|
BLAKE2b-256 checksum How to use checksums |
74c63b9cce41b8c3de11880b4c048049f681c1567ef0c07dbf4a5cdf83bd6007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.17
|
Release files / trulens_connectors_snowflake-2.16.0-py3-none-any.whl
| Download URL | trulens_connectors_snowflake-2.16.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
390cf54c96ade518c383453fdddc922c88d84fa3a15830c7ae5e2258908f2a77
|
|
BLAKE2b-256 checksum How to use checksums |
87f2534d2971323dba9db80622e34950aef85cb10729054be87f4a211a1c8479
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.17
|
Security for trulens-connectors-snowflake 2.16.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.