Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
9,455 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
9,455
◇
Types & classes
3,151
↳
Endpoints
25
Method
__init__
(self)
tests/test_middleware.py:337
Method
__init__
(self, now: float = 1000.0)
tests/lib/test_credentials.py:1522
Method
__init__
(self, tokens: List[AccessToken])
tests/lib/test_credentials.py:1530
Method
__init__
(self)
tests/lib/test_bedrock_mantle.py:16
Method
__init__
(self, token: str | None, *, expired: bool = False, project_id: str | None = None)
tests/lib/test_google_cloud.py:52
Method
__init__
(self, *, id: str = "work_1")
tests/lib/environments/test_poller_method.py:33
Method
__init__
(self, poll_script: list[Any])
tests/lib/environments/test_poller_method.py:51
Method
__init__
(self, poll_script: list[Any])
tests/lib/environments/test_poller_method.py:69
Method
__init__
(self)
tests/lib/environments/test_poller_method.py:330
Method
__init__
(self, *, heartbeat_state: str = "stopping", heartbeat_error: Exception | None = None)
tests/lib/environments/test_worker.py:91
Method
__init__
(self)
tests/lib/environments/test_worker.py:138
Method
__init__
(self)
tests/lib/environments/test_worker.py:1062
Method
__init__
(self, clock: _FakeClock, script: list[tuple[float, Any]])
tests/lib/environments/test_worker.py:1073
Method
__init__
(self)
tests/lib/environments/test_worker.py:1160
Method
__init__
(self, archive: Path)
tests/lib/tools/test_skills.py:386
Method
__init__
(self, type: str, **kw: Any)
tests/lib/tools/test_session_runner.py:69
Method
__init__
( self, events: list[_StubEvent], *, raise_after: int | None = None, r
tests/lib/tools/test_session_runner.py:144
Method
__init__
( self, *, streams: list[_FakeStream | BaseException] | None = None, stream_ev
tests/lib/tools/test_session_runner.py:178
Method
__init__
( self, name: str, fn: Callable[[dict[str, Any]], Awaitable[Any]], *,
tests/lib/tools/test_session_runner.py:239
Method
__init__
(self, name: str, fn: Callable[[object], str])
tests/lib/tools/test_session_runner.py:259
Method
__init__
(self, events: FakeAsyncEvents)
tests/lib/tools/test_session_runner.py:276
Method
__init__
(self, canned: Reply, fails_before: str | None)
tests/lib/tools/test_runner_eager_tools.py:968
Method
__init__
(self, timeline: list[str])
tests/lib/tools/test_runner_eager_tools.py:1032
Method
__init__
(self, timeline: list[str])
tests/lib/tools/test_runner_eager_tools.py:1045
Method
__init__
(self, sync: bool, client: Anthropic, async_client: AsyncAnthropic, respx_mock: MockRouter)
tests/lib/tools/test_runner_eager_tools.py:1093
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, message: str = "Thinking")
examples/memory/basic.py:45
Method
__iter__
(self)
src/anthropic/_types.py:265
Method
__iter__
(self)
src/anthropic/_base_client.py:291
Method
__iter__
(self)
src/anthropic/_streaming.py:48
Method
__iter__
(self)
src/anthropic/lib/tools/_beta_runner.py:453
Method
__iter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1642
Method
__iter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:74
Method
__iter__
(self)
src/anthropic/lib/streaming/_messages.py:71
Method
__iter__
(self)
src/anthropic/_decoders/jsonl.py:65
Method
__iter__
(self)
tests/test_prepare.py:151
Method
__iter__
(self)
tests/test_prepare.py:156
Method
__iter__
(self)
tests/lib/tools/test_runner_eager_tools.py:986
Method
__len__
(self)
src/anthropic/_types.py:264
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:45
Method
__next__
(self)
src/anthropic/lib/tools/_beta_runner.py:450
Method
__next__
(self)
src/anthropic/lib/streaming/_beta_messages.py:71
Method
__next__
(self)
src/anthropic/lib/streaming/_messages.py:68
Method
__next__
(self)
src/anthropic/_decoders/jsonl.py:62
Method
__post_init__
(self)
src/anthropic/lib/tools/agent_toolset.py:289
Method
__repr__
(self)
src/anthropic/_response.py:125
Method
__repr__
(self)
src/anthropic/_types.py:151
Method
__repr__
(self)
src/anthropic/_request.py:113
Method
__repr__
(self)
src/anthropic/_models.py:722
Method
__repr__
(self)
src/anthropic/_base_client.py:198
Method
__repr__
(self)
src/anthropic/_streaming.py:388
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:266
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:220
Method
__str__
(self)
src/anthropic/_base_client.py:2391
Method
__str__
(self)
src/anthropic/_base_client.py:2468
Method
__str__
(self)
src/anthropic/_utils/_proxy.py:33
Method
__str__
(self)
src/anthropic/lib/credentials/_workload.py:131
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
Function
_ack
(_work_id: str, **_kwargs: Any)
tests/lib/environments/test_poller_method.py:228
Function
_aclose
()
tests/lib/tools/test_session_runner.py:1325
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
_api_key_auth
(self)
src/anthropic/_client.py:371
Method
_api_key_auth
(self)
src/anthropic/_client.py:805
Method
_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:137
Method
_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:351
Function
_async_navigate
Custom tool that shares a browser member's name.
tests/lib/tools/toolsets/test_runner.py:159
Function
_async_noop
(_seconds: float)
tests/lib/environments/test_poller_method.py:110
Function
_async_tool
An async tool.
tests/lib/tools/toolsets/test_runner.py:770
Method
_base_url
(self)
src/anthropic/lib/credentials/_workload.py:202
Method
_bearer_auth
(self)
src/anthropic/_client.py:378
Method
_bearer_auth
(self)
src/anthropic/_client.py:812
Method
_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:472
← previous
next →
2,001–2,100 of 9,455, ranked by callers