anthropics/anthropic-sdk-python
Official Python SDK for accessing Anthropic's Claude language model API.

Velocity · 7d
+2.9
★ / day
Trend
→steady
star history
The Anthropic Python SDK provides a Pythonic interface for interacting with Claude models via the Anthropic API. It abstracts HTTP communication into a typed client with methods for creating messages, managing conversation state, and handling streaming responses. Developers install it via pip and use the Anthropic client class to send prompts and receive model outputs in Python applications.