# anthropics/anthropic-sdk-python

Repository: https://github.com/anthropics/anthropic-sdk-python
Canonical: https://ross.abutalabs.com/products/anthropic-sdk-python
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-26T21:15:43+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 94
- inputs: {"age_days": 1324, "days_push": 7, "days_rel": 7, "gap_med": 2, "n_releases_24m": 126}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3855, forks 831 (observed 2026-08-28T04:08:27.171511+00:00)

## What it is
The official Python SDK for accessing the Anthropic Claude API. It provides a typed client for creating messages, streaming responses, and other Claude API operations from Python applications.

## Use cases
- call the Claude API from Python
- send chat messages to Claude models
- stream Claude responses in a Python app
- integrate Anthropic LLMs into a backend service
- build a chatbot using Claude

## When to choose
- you want official, maintained access to the Claude API in Python
- you need typed clients, streaming, and retries for Anthropic endpoints

## When to avoid
- you need a provider-agnostic LLM abstraction across multiple vendors
- you are not using Python

## Facets
- artifact type: library
- maturity: stable
- function: sdk, http-client, llm-inference
- domain: large-language-models, artificial-intelligence, apis
- platform: python
- tags: anthropic, claude, api-client, llm

## Member repositories
- anthropics/anthropic-sdk-python (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.171511+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:56.245647+00:00, confidence not recorded.
  - readme: https://github.com/anthropics/anthropic-sdk-python (fetched 2026-08-28T04:08:27.171511+00:00, sha abfed505bba2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
