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.2.tar.gz (17.5 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.2-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evalytic_sdk-0.3.2.tar.gz
  • Upload date:
  • Size: 17.5 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.2.tar.gz
Algorithm Hash digest
SHA256 ff6069e00296aa94c8a85552e7586112adee7faa4732b34cd1612fe318e5a9c9
MD5 56d55e329d99fadbb6fa379aa1304b05
BLAKE2b-256 a019fe88364c8ce7a86b8d9bc68b2710ef534d635f4ca64bc15643322f2ae84a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evalytic_sdk-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 20.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62a17b98f660d4f1809c0ac138f0dcc5c4de1b7966cad56d7203dca6628fa245
MD5 8e4c96dc019252855655a591b9f0917a
BLAKE2b-256 f1823b19ba8e57da7305bb694030faf90dc7dc892b74d591f32a2771da732f42

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