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
Method
__init__
(self, result: CallToolResult | None = None)
tests/lib/tools/test_mcp_tool.py:58
Method
__init__
(self, answer: object)
tests/lib/tools/toolsets/test_pipeline.py:239
Method
__init__
(self)
tests/lib/tools/toolsets/_stubs.py:46
Method
__init__
(self)
tests/lib/tools/toolsets/_stubs.py:70
Method
__init__
(self, world: World | None = None, **options: Any)
tests/lib/tools/toolsets/_fakes.py:159
Method
__init__
(self, world: World | None = None, **options: Any)
tests/lib/tools/toolsets/_fakes.py:229
Method
__init__
(self, desktop: Desktop | None = None, **options: Any)
tests/lib/tools/toolsets/_computer_fakes.py:79
Method
__init__
(self, desktop: Desktop | None = None, **options: Any)
tests/lib/tools/toolsets/_computer_fakes.py:134
Method
__init__
(self, initial: Mapping[str, str | None])
tests/lib/tools/memory_sync/_fake_anthropic.py:41
Method
__init__
(self, server: MemoryServer, *, noise: bool = False)
tests/lib/tools/memory_sync/_fake_anthropic.py:92
Method
__init__
(self)
tests/lib/tools/memory_sync/conftest.py:19
Method
__init__
(self, **kwargs: Any)
tests/decoders/test_jsonl.py:103
Method
__init__
(self, message: str = "Thinking")
examples/memory/basic.py:45
Method
__iter__
(self)
src/anthropic/_types.py:377
Method
__iter__
(self)
src/anthropic/_base_client.py:307
Method
__iter__
(self)
src/anthropic/_tracing.py:556
Method
__iter__
(self)
src/anthropic/_streaming.py:64
Method
__iter__
(self)
src/anthropic/lib/tools/_beta_runner.py:644
Method
__iter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1699
Method
__iter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:78
Method
__iter__
(self)
src/anthropic/lib/streaming/_messages.py:73
Method
__iter__
(self)
src/anthropic/_decoders/jsonl.py:72
Method
__iter__
(self)
tests/test_prepare.py:151
Method
__iter__
(self)
tests/test_prepare.py:156
Method
__iter__
(self)
tests/utils.py:196
Method
__iter__
(self)
tests/test_open_telemetry.py:627
Method
__iter__
(self)
tests/test_open_telemetry.py:1119
Method
__iter__
(self)
tests/test_open_telemetry.py:1926
Method
__iter__
(self)
tests/test_open_telemetry.py:2490
Method
__iter__
(self)
tests/test_open_telemetry.py:5775
Method
__iter__
(self)
tests/lib/tools/test_runner_eager_tools.py:986
Method
__len__
(self)
src/anthropic/_types.py:376
Method
__len__
(self)
tests/test_prepare.py:198
Method
__len__
(self)
tests/lib/tools/toolsets/test_interface.py:182
Method
__load__
(self)
src/anthropic/_utils/_resources_proxy.py:17
Method
__load__
(self)
src/anthropic/lib/_extras/_google_auth.py:25
Method
__load__
(self)
tests/test_utils/test_proxy.py:10
Method
__load__
(self)
tests/test_utils/test_proxy.py:29
Method
__next__
(self)
src/anthropic/_streaming.py:58
Method
__next__
(self)
src/anthropic/lib/tools/_beta_runner.py:641
Method
__next__
(self)
src/anthropic/lib/streaming/_beta_messages.py:75
Method
__next__
(self)
src/anthropic/lib/streaming/_messages.py:70
Method
__next__
(self)
src/anthropic/_decoders/jsonl.py:69
Method
__next__
(self)
tests/test_open_telemetry.py:1929
Method
__post_init__
(self)
src/anthropic/lib/tools/agent_toolset.py:293
Method
__reduce__
(self)
src/anthropic/_exceptions.py:45
Method
__repr__
(self)
src/anthropic/_response.py:125
Method
__repr__
(self)
src/anthropic/_types.py:257
Method
__repr__
(self)
src/anthropic/_request.py:113
Method
__repr__
(self)
src/anthropic/_models.py:810
Method
__repr__
(self)
src/anthropic/_base_client.py:214
Method
__repr__
(self)
src/anthropic/_streaming.py:331
Method
__repr__
(self)
src/anthropic/_utils/_proxy.py:26
Method
__repr__
(self)
src/anthropic/lib/credentials/_types.py:43
Function
__repr_args__
(self: pydantic.BaseModel)
tests/lib/utils.py:26
Function
__repr_name__
(self: pydantic.BaseModel)
tests/lib/utils.py:29
Method
__reversed__
(self)
src/anthropic/_types.py:378
Method
__set__
(self, instance: object, value: _T)
src/anthropic/_compat.py:223
Method
__set_name__
(self, owner: type[Any], name: str)
src/anthropic/_compat.py:220
Method
__str__
(self)
src/anthropic/_models.py:289
Method
__str__
(self)
src/anthropic/_base_client.py:2623
Method
__str__
(self)
src/anthropic/_base_client.py:2700
Method
__str__
(self)
src/anthropic/_utils/_proxy.py:33
Method
__str__
(self)
src/anthropic/lib/credentials/_workload.py:128
Method
__str__
(self)
tests/test_prepare.py:160
Method
__str__
(self)
tests/lib/tools/toolsets/test_computer_pipeline.py:279
Method
__str__
(self)
tests/lib/tools/toolsets/test_enforcement.py:396
Method
__str__
(self)
tests/lib/tools/toolsets/test_enforcement.py:401
Method
__stream__
(self)
src/anthropic/_streaming.py:211
Method
__stream__
(self)
tests/test_streaming.py:302
Function
_ack
(_work_id: str, **_kwargs: Any)
tests/lib/environments/test_poller_method.py:244
Function
_aclose
()
tests/lib/tools/test_session_runner.py:1351
Method
_adapter
(self)
src/anthropic/lib/tools/_beta_functions.py:268
Function
_aiter_work
(*_a: Any, **_kw: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:96
Function
_allow
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:37
Function
_allow
(context: object)
tests/lib/tools/toolsets/test_computer_interface.py:49
Method
_answered_count
How many stored messages there are up to the last reply. Those after it were sent and never answered.
src/anthropic/lib/threads/_thread_state.py:375
Method
_api_key_auth
(self)
src/anthropic/_client.py:377
Method
_api_key_auth
(self)
src/anthropic/_client.py:788
Method
_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:141
Method
_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:366
Function
_append_reply_and_changed_tool_response
(runner: Any, reply: Any, tool_response: Any)
tests/lib/threads/helpers.py:583
Function
_append_reply_and_own_result
(runner: Any, reply: Any, _tool_response: Any)
tests/lib/threads/helpers.py:575
Function
_append_reply_tool_response_and_text
(runner: Any, reply: Any, tool_response: Any)
tests/lib/threads/helpers.py:579
Function
_async_navigate
Custom tool that shares a browser member's name.
tests/lib/tools/toolsets/test_runner.py:164
Function
_async_noop
(_seconds: float)
tests/lib/environments/test_poller_method.py:126
Function
_async_tool
An async tool.
tests/lib/tools/toolsets/test_runner.py:775
Method
_base_url
(self)
src/anthropic/lib/credentials/_workload.py:198
Method
_bearer_auth
(self)
src/anthropic/_client.py:384
Method
_bearer_auth
(self)
src/anthropic/_client.py:795
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:472
Method
_browser_state
(self, context: BetaToolsetCallContext, returned: Any = returned)
tests/lib/tools/toolsets/test_pipeline.py:542
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:958
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:1107
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/_fakes.py:164
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/_fakes.py:234
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_interface.py:38
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_interface.py:44
Method
_build_workload_delegate
(self, auth: Dict[str, Any])
src/anthropic/lib/credentials/_providers.py:882
Function
_causes
Flatten an exception and any ExceptionGroup members it wraps.
tests/lib/tools/memory_sync/test_e2e_memory.py:33
← previous
next →
2,701–2,800 of 12,795, ranked by callers