Anthropic Sdk Python

Use when writing Python code with the Anthropic SDK: creating messages, streaming responses, batch processing, token counting, file uploads, model listing, or any Python-specific Anthropic API integration.

wenerme 6a45d42 159 files · 8.9 MB Updated

File contents

Anthropic Python SDK Reference

Python SDK API reference for the Anthropic API (sourced from platform.claude.com).

CRITICAL: grep references/ for the specific method/type before answering.

Key References

Topic Path
Messages messages.md, messages/create.md
Token Counting messages/count_tokens.md
Batches messages/batches.md, messages/batches/create.md
Models models.md, models/list.md
Beta Messages beta/messages.md, beta/messages/create.md
Beta Files beta/files.md
Beta Skills beta/skills.md

wenerme/ai/tree/main/skills/anthropic-sdk-python commit 6a45d42617

Frequently asked questions

npx skillmds@latest add wenerme/anthropic-sdk-python