🌐
PyPI
pypi.org › project › anthropic
anthropic · PyPI
AnthropicBedrock( aws_profile='...', aws_region='us-east' aws_secret_key='...', aws_access_key='...', aws_session_token='...', ) For a more fully fledged example see examples/bedrock.py.
      » pip install anthropic
    
Published   Nov 24, 2025
Version   0.75.0
🌐
PyPI
pypi.org › project › anthropic-bedrock
Anthropic Bedrock Python API library
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
PyPI
pypi.org › project › langchain-anthropic
langchain-anthropic · PyPI
langchain_anthropic-1.3.0.tar.gz (707.2 kB view details)
      » pip install langchain-anthropic
    
🌐
PyPI
pypi.org › project › anthropic-aipy
anthropic-aipy · PyPI
AnthropicBedrock( aws_profile='...', aws_region='us-east' aws_secret_key='...', aws_access_key='...', aws_session_token='...', ) For a more fully fledged example see examples/bedrock.py.
      » pip install anthropic-aipy
    
Published   May 22, 2025
Version   0.49.0.2
🌐
PyPI
pypi.org › project › bedrock-anthropic
bedrock-anthropic · PyPI
bedrock_anthropic-0.0.5.tar.gz (7.8 kB view details)
      » pip install bedrock-anthropic
    
Published   Oct 25, 2023
Version   0.0.5
🌐
PyPI
pypi.org › project › anthropic-tools
anthropic-tools · PyPI
Simplifies the usage of Anthropic Claude's tool use by generating the schemas and parsing the responses for you.
      » pip install anthropic-tools
    
Published   Apr 25, 2024
Version   1.0.7
🌐
PyPI
pypi.org › org › Anthropic
Profile of Anthropic, PBC. · PyPI
Organization Anthropic · Last released Jun 10, 2025 · Reserved · Last released Nov 24, 2025 · The official Python library for the anthropic API · Last released Jun 10, 2025 · Reserved · Last released Dec 18, 2025 · Python SDK for Claude Code · Last released Jun 9, 2025 ·
🌐
PyPI
pypi.org › project › anthropic › 0.2.5
Anthropic Python SDK
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
PyPI
pypi.org › project › llama-index-llms-anthropic
llama-index-llms-anthropic · PyPI
%pip install llama-index-llms-anthropic !pip install llama-index
      » pip install llama-index-llms-anthropic
    
Published   Oct 27, 2025
Version   0.10.0
Find elsewhere
🌐
PyPI
pypi.org › project › deepseek-cli
deepseek-cli · PyPI
Python SDK Example: import anthropic client = anthropic.Anthropic( base_url="https://api.deepseek.com/anthropic", api_key="your-deepseek-api-key" ) message = client.messages.create( model="deepseek-chat", max_tokens=1000, system="You are a helpful ...
      » pip install deepseek-cli
    
Published   Dec 06, 2025
Version   0.2.4
🌐
PyPI
pypi.org › project › anthropic-haystack
anthropic-haystack · PyPI
anthropic_haystack-4.5.1.tar.gz (110.3 kB view details)
      » pip install anthropic-haystack
    
🌐
PyPI Stats
pypistats.org › packages › anthropic
PyPI Download Stats
PyPI page Home page Author: None License: MIT Summary: The official Python library for the anthropic API Latest version: 0.75.0 Required dependencies: anyio | distro | docstring-parser | httpx | jiter | pydantic | sniffio | typing-extensions Optional dependencies: aiohttp | boto3 | botocore ...
🌐
PyPI
pypi.org › project › anthropic › 0.3.10
Anthropic Python API Library
import anthropic client = anthropic.Anthropic() try: client.completions.create( prompt=f"{anthropic.HUMAN_PROMPT} Your prompt here{anthropic.AI_PROMPT}", max_tokens_to_sample=300, model="claude-2", ) except anthropic.APIConnectionError as e: print("The server could not be reached") print(e.__cause__) # an underlying Exception, likely raised within httpx. except anthropic.RateLimitError as e: print("A 429 status code was received; we should back off a bit.") except anthropic.APIStatusError as e: print("Another non-200-range status code was received") print(e.status_code) print(e.response) ... Certain errors will be automatically retried 2 times by default, with a short exponential backoff. Connection errors (for example, due to a network connectivity problem), 409 Conflict, 429 Rate Limit, and >=500 Internal errors will all be retried by default.
      » pip install anthropic
    
Published   Aug 16, 2023
Version   0.3.10
🌐
PyPI
pypi.org › project › llm-anthropic
llm-anthropic · PyPI
This project uses pytest-recording to record Anthropic API responses for the tests.
      » pip install llm-anthropic
    
Published   Nov 25, 2025
Version   0.23
🌐
LangChain
python.langchain.com › docs › integrations › providers › anthropic
Anthropic (Claude) - Docs by LangChain
This page covers all LangChain integrations with Anthropic, the makers of Claude.
🌐
GitHub
github.com › anthropics › anthropic-sdk-python
GitHub - anthropics/anthropic-sdk-python
AnthropicBedrock( aws_profile='...', aws_region='us-east' aws_secret_key='...', aws_access_key='...', aws_session_token='...', ) For a more fully fledged example see examples/bedrock.py.
Starred by 2.5K users
Forked by 410 users
Languages   Python
🌐
Pipedream
pipedream.com › apps › anthropic › integrations › python
Integrate the Anthropic (Claude) API with the Python API - Pipedream
import { axios } from "@pipedream/platform" export default defineComponent({ props: { anthropic: { type: "app", app: "anthropic", } }, async run({steps, $}) { const data = { "model": "claude-3-haiku-20240307", "max_tokens": 300, "messages": [ {"role": "user", "content": "Write me a haiku about Pipedream workflows."} ] } return await axios($, { method: "post", url: `https://api.anthropic.com/v1/messages`, headers: { "x-api-key": `${this.anthropic.$auth.api_key}`, "anthropic-version": `2023-06-01`, }, data, }) }, }) ... Develop, run and deploy your Python code in Pipedream workflows. Integrate s
🌐
Sentry
docs.sentry.io › platforms › python › integrations › anthropic
Anthropic | Sentry for Python
This integration connects Sentry with the Anthropic Python SDK. Once you've installed this SDK, you can use the Sentry AI Agents Monitoring, a Sentry dashboard that helps you understand what's going on with your AI requests. Sentry AI Monitoring will automatically collect information about prompts, tools, tokens, and models. Learn more about the AI Agents Dashboard. Install sentry-sdk from PyPI with the anthropic extra:
🌐
Codingmall
codingmall.com › knowledge-base › 25-global › 1532-how-to-use-anthropic-python-package
Getting Started with the Anthropic Python Package
python import anthropic client = anthropic.Anthropic() message = client.messages.create( model="claude-3-5-sonnet-20240620", max_tokens=1000, messages=[ {"role": "user", "content": "Hello, Claude"} ] ) print(message.content)
🌐
piwheels
piwheels.org › project › anthropic
piwheels - anthropic
pip3 install anthropic · docstring-parser · sniffio · anyio · pydantic · distro · typing-extensions · httpx · jiter · PyPI page · pypi.org/ project/ anthropic · Project JSON · piwheels.org/ project/ anthropic/ json · Versions · 148 · Files · 147 ·