🌐
Claude
docs.claude.com › en › api › client-sdks
Client SDKs - Claude Docs
Additional configuration is needed to use Anthropic’s Client SDKs through a partner platform. If you are using Amazon Bedrock, see this guide; if you are using Google Cloud Vertex AI, see this guide; if you are using Microsoft Foundry, see this guide. Python library GitHub repo Requirements: Python 3.8+ Installation:
🌐
GitHub
github.com › anthropics › anthropic-sdk-python
GitHub - anthropics/anthropic-sdk-python
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.
Starred by 2.5K users
Forked by 411 users
Languages   Python
Discussions

Claude AI - API document upload
I think the chat interface uses pdf2txt.py/pdfminer, which is one of the best when it comes to columns, spacing, and similar layout ambiguities. https://pdfminersix.readthedocs.io/en/latest/reference/commandline.html More on reddit.com
🌐 r/ClaudeAI
18
11
November 3, 2023
Project Guide: AI-Powered Documentation Generator for Codebases
I think an AI powered documentation generator is a bad idea. the best documentation explains why you didnt take an alternative approach. good documentation explains why you took an approach. ok documentation merely explains what code does. I'm curious if you have thoughts on how you can move AI generated documentation closer to the "why we wrote it this way" and "why we didnt go the other path" type docs. With AI documentation I frequently see very tautological and non-value-added documentation. not always. it can be great at 'summarizing' complex code - here's a 400 line function, here's 2 sentences on what it does: I see value there. More on reddit.com
🌐 r/Python
30
37
November 22, 2024
Anthropic released an official Python SDK for Claude Code
What are some use cases for this? More on reddit.com
🌐 r/ClaudeAI
56
406
June 14, 2025
🌐
PyPI
pypi.org › project › anthropic › 0.3.9
Anthropic Python API Library
The Anthropic Python library provides convenient access to the Anthropic REST API from any Python 3.7+ application.
      » pip install anthropic
    
Published   Aug 12, 2023
Version   0.3.9
🌐
Anthropic
anthropic.com › learn › build-with-claude
Anthropic Academy: Claude API Development Guide
Quickly get started with building applications by using the Anthropic Quickstarts repo · Review the full API documentation for all features and products
🌐
Llamaindex
developers.llamaindex.ai › python › examples › llm › anthropic
Anthropic | LlamaIndex Python Documentation
LlamaIndex provides an intuitive interface for converting any Anthropic LLMs into a structured LLM through structured_predict - simply define the target Pydantic class (can be nested), and given a prompt, we extract out the desired object.
🌐
LangChain
python.langchain.com › api_reference › community › llms › langchain_community.llms.anthropic.Anthropic.html
Anthropic — 🦜🔗 LangChain documentation
To use, you should have the anthropic python package installed, and the environment variable ANTHROPIC_API_KEY set with your API key, or pass it as a named parameter to the constructor.
🌐
GitHub
github.com › anthropics › anthropic-sdk-python › releases
Releases · anthropics/anthropic-sdk-python
anthropics / anthropic-sdk-python Public · Notifications · You must be signed in to change notification settings · Fork 411 · Star 2.5k · Releases · anthropics/anthropic-sdk-python · 24 Nov 20:41 · stainless-app · v0.75.0 · 2eb9415 · Compare · Filter ·
Author   anthropics
🌐
Restack
restack.io › p › anthropic-answer-api-key-python-cat-ai
Anthropic Api Key Python Guide | Restackio
If you are using the Python SDK, you can also pass the API key directly when initializing the client. Here’s how you can do it: import anthropic client = anthropic.Anthropic(api_key='your-api-key-here')
Find elsewhere
🌐
Reconify
reconify.com › docs › anthropic › python
Reconify Anthropic Python Documentation
Documentation for integrating Reconify Generative AI analytics with Anthropic via Python PIP module.
🌐
Sentry
docs.sentry.io › platforms › python › integrations › anthropic
Anthropic | Sentry for Python
To explicitly exclude prompts and outputs despite send_default_pii=True, configure the integration with include_prompts=False. The default is True. ... Help improve this content Our documentation is open source and available on GitHub.
🌐
Anthropic
anthropic.com › news › web-search-api
Introducing web search on the Anthropic API
May 7, 2025 - Claude can now search the web through the API, giving users access to real-time information with citations for building up-to-date AI applications. Unknown block type "latestUpdates", specify a component for it in the `components.
🌐
Anthropic
docs.anthropic.com › en › docs › quickstart
Quickstart
Make your first API call to Claude and build a simple web search assistant
🌐
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
🌐
GitHub
github.com › anthropics › anthropic-bedrock-python
GitHub - anthropics/anthropic-bedrock-python
This package has been moved to the anthropic-sdk-python repository.
Starred by 50 users
Forked by 7 users
🌐
PyPI
pypi.org › project › anthropic › 0.3.11
anthropic · PyPI
This helps provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set python.analysis.typeCheckingMode to "basic". You can estimate billing for a given request with the client.count_tokens() method, eg: client = Anthropic() client.count_tokens('Hello world!') # 3
      » pip install anthropic
    
Published   Aug 28, 2023
Version   0.3.11