anthropics

    anthropics/anthropic-sdk-python

    backend
    Python
    Apache-2.0
    4.0K stars
    899 forks
    4.0K GitHub watchers
    Updated Nov 2, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 9 days ago, with 74 contributors on GitHub.

    Gained 42% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a Python SDK for accessing the Anthropic REST API with synchronous and asynchronous clients.
    • Offers typed request and response models with built-in support for streaming, batching, and tool integration.
    • Use for integrating Anthropic's Claude language models into Python applications with type safety and async support.
    • Use for building conversational AI tools that leverage streaming responses and automatic function calling.
    • Use for managing large-scale batch requests and interacting with Anthropic services on AWS Bedrock or Google Vertex.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    The Anthropic Python library provides convenient access to the Anthropic REST API from any Python 3.8+ application. It includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.

    The REST API documentation can be found on docs.anthropic.com. The full API of this library can be found in api.md.

    Excerpt from the anthropics/anthropic-sdk-python README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    899+102

    Open issues

    233-128

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    anthropics/anthropic-sdk-python compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    anthropics/anthropic-sdk-python4.0K—609 days ago
    Category median56.0K+2.3K29—

    Also by anthropics

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description