Skip to main content

Zero-throw LLM observability SDK for OpenAI, Anthropic, Gemini, Groq, Mistral, and Cohere

Project description

Evalytic Python SDK

Zero-throw LLM observability — one line of code, full visibility into every call.

Install

pip install evalytic

Quickstart

from evalytic import Evalytic

e = Evalytic(api_key="evl_...")  # or set EVALYTIC_API_KEY env var

# Wrap any supported provider client
import anthropic
client = e.wrap(anthropic.Anthropic())

# Per-user tracking
client = e.wrap(anthropic.Anthropic(), user="user_123")

Supported providers

# Anthropic
import anthropic
client = e.wrap(anthropic.Anthropic())

# OpenAI
from openai import OpenAI
client = e.wrap(OpenAI())

# Groq
from groq import Groq
client = e.wrap(Groq())

# Mistral
from mistralai import Mistral
client = e.wrap(Mistral(api_key="..."))

# Cohere
import cohere
client = e.wrap(cohere.Client("..."))

# Google Gemini
import google.generativeai as genai
model = e.wrap(genai.GenerativeModel("gemini-2.0-flash"))

Config file

Create .evalytic in your project root (automatically gitignored):

EVALYTIC_API_KEY=evl_...
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...

All keys are loaded as environment variables when Evalytic() is instantiated.

Per-user cost tracking

# Per-wrap: attach a user to a specific client instance
client = e.wrap(anthropic.Anthropic(), user="alice")

# Global default: all clients use this user unless overridden
e.set_user("alice")
client = e.wrap(anthropic.Anthropic())

User stats appear in the Evalytic dashboard under the Users tab (Pro plan).

Setup wizard

python -m evalytic.setup

Dashboard

evalytic-dashboard.vercel.app

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evalytic_sdk-0.2.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evalytic_sdk-0.2.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file evalytic_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: evalytic_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for evalytic_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 70358bd7effea290823d51876c4b41c6a2a455ceac9faa1810a6aad6ec3f03b2
MD5 1faed7b4f7c0c3eab00578fce448ffce
BLAKE2b-256 2e842ed608bb4597cb0764ea06852ba48d5ec34c89ff1d50da1ec00842964e14

See more details on using hashes here.

File details

Details for the file evalytic_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: evalytic_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for evalytic_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac12a1a3de97c4b7cadba79fa88251019e65a4f28ff4bfe24a338c27adf411a
MD5 997c712e0f621799a3735a12b2aaa8cc
BLAKE2b-256 b1f1452ba43a3a5315aa0e241a7fcb117b7c1791170dcace886016e8d59864cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page