Skip to content

snowflakedb/snowflake-telemetry-python

Repository files navigation

Snowflake Telemetry Python

Build and Test License Apache-2.0

About

snowflake-telemetry-python is a package that supports emitting telemetry data from Python UDFs, UDTFs, and Stored Procedures.

Getting started

To install the latest release of this package as an end user, run

VERSION="0.3.0"
curl -L "https://github.com/snowflakedb/snowflake-telemetry-python/archive/refs/tags/v${VERSION}.tar.gz" > "snowflake-telemetry-python-${VERSION}.tar.gz"
tar -xvf "snowflake-telemetry-python-${VERSION}.tar.gz"
cd "snowflake-telemetry-python-${VERSION}"
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install .

To develop this package, run

git clone [email protected]:snowflakedb/snowflake-telemetry-python.git
cd snowflake-telemetry-python

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install . ./tests/snowflake-telemetry-test-utils