Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,795 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,795
◇
Types & classes
4,264
↳
Endpoints
47
Function
async_beta_parse
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:566
Function
async_beta_stream
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:553
Function
async_beta_tool_runner
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:578
Function
async_client
(request: FixtureRequest)
tests/conftest.py:124
Function
async_client
()
tests/lib/test_google_cloud_live.py:46
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_computer_runner.py:36
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_browser_runner.py:32
Function
async_client
(async_client: AsyncAnthropic)
tests/lib/tools/toolsets/test_runner.py:115
Method
async_client
(self)
tests/lib/test_bedrock_mantle.py:688
Function
async_count_tokens
( client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object )
tests/lib/test_bedrock_mantle.py:609
Function
async_create
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:520
Function
async_create_batch
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:639
Function
async_files_from_dir
(directory: str | os.PathLike[str])
src/anthropic/lib/_files.py:28
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1339
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1881
Method
async_fn
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:2164
Function
async_get_weather
The weather in a city. Args: city: The city.
tests/lib/tools/test_open_telemetry.py:169
Function
async_get_weather
Lookup the weather for a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:135
Function
async_key
A function tool named like the computer toolset's `key` tool.
tests/lib/tools/test_runner_eager_toolsets.py:62
Function
async_local_filesystem_tool
(temp_directory: str)
tests/lib/tools/memory_tools/test_filesystem.py:40
Function
async_lookup
Look up a key.
tests/lib/tools/test_runner_eager_tools.py:1022
Function
async_lookup
Lookup the population of a given city. Args: location: The city, e.g. San Francisco
tests/lib/threads/helpers.py:153
Function
async_navigate
()
tests/lib/tools/toolsets/test_runnable.py:49
Function
async_navigate
()
tests/lib/tools/toolsets/test_runner.py:163
Method
async_only
(request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:1257
Function
async_parse
(response: AsyncAPIResponse[AsyncStream[object]])
tests/utils.py:348
Function
async_parsed_raw_response
(request: AsyncRequest)
tests/utils.py:344
Function
async_policy
(ctx: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_enforcement.py:134
Method
async_refuse
(_request: Any, _call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3576
Method
async_renumber
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3491
Function
async_search
Search for something.
tests/lib/tools/toolsets/test_browser_runner.py:448
Method
async_send_twice
(request: Any, call_next: Callable[[Any], Any])
tests/test_open_telemetry.py:3552
Function
async_snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:111
Function
async_stream
(request: AsyncRequest)
tests/utils.py:336
Function
async_stream
(client: AsyncAnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:530
Method
async_stream_parse
(client: AsyncAnthropic)
tests/lib/_parse/test_beta_messages.py:21
Method
async_token_provider
()
tests/lib/test_azure.py:141
Method
auth_headers
(self)
src/anthropic/_base_client.py:795
Method
auth_headers
(self)
src/anthropic/_client.py:373
Method
auth_headers
(self)
src/anthropic/_client.py:784
Method
auth_headers
(self)
src/anthropic/lib/foundry.py:288
Method
auth_headers
(self)
src/anthropic/lib/foundry.py:499
Method
auth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:226
Method
auth_headers
(self)
src/anthropic/lib/bedrock/_mantle.py:416
Method
auth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:360
Method
auth_headers
(self)
src/anthropic/lib/google_cloud/_client.py:579
Method
base_handler
(req: APIRequest)
src/anthropic/_base_client.py:1365
Method
base_handler
(req: APIRequest)
src/anthropic/_base_client.py:2151
Method
base_url
(self)
src/anthropic/_base_client.py:842
Method
base_url
(self)
src/anthropic/lib/google_cloud/_client.py:114
Function
bash
( command: Optional[str] = None, restart: Optional[bool] = None, timeout_ms: Optional[int] = None
src/anthropic/lib/tools/agent_toolset.py:621
Method
bash
(self)
src/anthropic/lib/tools/agent_toolset.py:296
Function
bash_tool
Run a command in a persistent bash shell.
src/anthropic/lib/tools/agent_toolset.py:603
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:103
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:2459
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4828
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4847
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4863
Method
batches
(self)
src/anthropic/resources/beta/messages/messages.py:4879
Method
batches
(self)
src/anthropic/resources/messages/messages.py:74
Method
batches
(self)
src/anthropic/resources/messages/messages.py:1880
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3695
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3711
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3727
Method
batches
(self)
src/anthropic/resources/messages/messages.py:3743
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:48
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:56
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:72
Method
batches
Batches endpoint is not supported for Anthropic Foundry client.
src/anthropic/lib/foundry.py:80
Method
begin
Called when a `Stream` or an `AsyncStream` starts to parse the body. Never called when the application reads the bytes itself.
src/anthropic/_tracing.py:477
Method
begin
(self)
src/anthropic/_tracing.py:496
Method
begin
(self)
src/anthropic/lib/_tracing/_streaming.py:69
Method
beta
(self)
src/anthropic/_client.py:353
Method
beta
(self)
src/anthropic/_client.py:764
Method
beta
(self)
src/anthropic/_client.py:1020
Method
beta
(self)
src/anthropic/_client.py:1072
Method
beta
(self)
src/anthropic/_client.py:1124
Method
beta
(self)
src/anthropic/_client.py:1176
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:208
Method
beta
Return beta resource instance with excluded unsupported endpoints.
src/anthropic/lib/foundry.py:420
Function
beta_count_tokens
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:600
Function
beta_create
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:478
Function
beta_create_batch
(client: AnthropicBedrockMantle, user_profile_id: str | Omit)
tests/lib/test_bedrock_mantle.py:635
Function
beta_parse
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:499
Function
beta_stream
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:488
Function
beta_tool_runner
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:509
Function
blocking
(_input: object)
tests/lib/environments/test_worker.py:1202
Function
blocking
(_input: object)
tests/lib/tools/test_session_runner.py:1915
Method
blocks
(city: str)
tests/lib/tools/test_open_telemetry.py:404
Function
boom
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:395
Function
boom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_memory_sync.py:550
Function
boom
(*_a: Any, **_k: Any)
tests/lib/tools/memory_sync/test_final_flush.py:245
Function
boom
(_path: str)
tests/lib/tools/memory_sync/test_two_pass.py:114
Function
bounded_result
`result` as the record keeps it: the line a pure action returned is folded to one line and cut. Anything else is kept as returned.
src/anthropic/lib/tools/_toolsets/_pipeline.py:288
Function
broken
(context: BetaURLContext, url: str)
tests/lib/tools/toolsets/test_refusals.py:102
Function
broken
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:188
Function
broken_aexit
(self: agent_toolset.AgentToolContext, *exc: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:497
Method
browse
(_input: dict[str, Any])
tests/lib/tools/test_open_telemetry.py:2279
Method
build_request
(options: FinalRequestOptions)
tests/test_client.py:1768
Method
bundles
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:43
← previous
next →
3,101–3,200 of 12,795, ranked by callers