Skip to content

gentrace/gentrace-python

Repository files navigation

Gentrace Python SDK

Gentrace is released under the MIT license. Release Github action status

The Gentrace Python library provides convenient access to the Gentrace API from Python applications. Most of the code in this library is generated from our OpenAPI specification.

Important note: this library is meant for server-side usage only.

Installation

$ pip install gentrace-py

Install package dependencies and activate the Poetry shell:

cd package
poetry install
poetry shell

If you want to run examples, install the dependencies in the examples directory and activate the Poetry shell. You'll also need to configure a .env file with the necessary services to run the application

cd examples

# Dependency installation
poetry install
poetry shell

cp .env.example .env
# Make modifications to .env

python examples/pinecone/fetch.py

Getting started

Visit our Python monitoring guides to learn how to get started.

API reference

Visit our API reference to construct API requests interactively.