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.3.0.tar.gz (16.3 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.3.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evalytic_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 16.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 48c5c007a42d6a678c17c2a13344ae65b69887fea4f0c8d01c9f582c354a29bb
MD5 bc80bee2f4bfe7d00a83d678967966cc
BLAKE2b-256 2e635653ca44eb895c05b14c0fa1e6fe4ae5d288aa48d93640e7f42775dd4199

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evalytic_sdk-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 008d17b12feea47a1a0f13a216f5587d548902d78614a6a7106bde7765760c13
MD5 4fa5eabf00de49a2e5dc15e43296d7b0
BLAKE2b-256 6b57bbbbf43866c0097af65ab6b4709d0676570322bcb914aa71aa776e3edc08

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