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.3.tar.gz (15.9 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.3-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evalytic_sdk-0.2.3.tar.gz
  • Upload date:
  • Size: 15.9 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.3.tar.gz
Algorithm Hash digest
SHA256 a1712ad1466b9b41bac20fc1a9b3e2022703ce0c2da0eb19de1241cb32a802dd
MD5 7f987b3f89815b89ef5604d5136f88de
BLAKE2b-256 1e12c660514107cab852b1f33fb135f7e580676e8a3995a3dadf1f87e49b4f1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evalytic_sdk-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 37d5cae9eac98ed62e068b6b88d00cc0fbb5580fd621334e9696d063183d8971
MD5 ffffece820232a9369e4430d42a26077
BLAKE2b-256 c51d98018c672980353c97c6fa0e26712cda79f9544a03b2ed404ff18136ef23

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