Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
13,873 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
13,873
◇
Types & classes
4,472
↳
Endpoints
93
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
Method
_adapter
(self)
src/anthropic/lib/tools/_beta_functions.py:268
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:785
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_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:792
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:888
Method
_client
The thread's client. It sends the runner's requests, and its options say whether the run has spans.
src/anthropic/lib/tools/_beta_runner.py:255
Method
_current_snapshot_or_none
(self)
src/anthropic/lib/streaming/_beta_messages.py:140
Method
_current_snapshot_or_none
(self)
src/anthropic/lib/streaming/_beta_messages.py:312
Method
_current_snapshot_or_none
(self)
src/anthropic/lib/streaming/_messages.py:301
Function
_deny
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:41
Function
_deny
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:40
Method
_download
(self, version: str, *, skill_id: str)
tests/lib/tools/test_skills.py:430
Function
_empty_headers
()
src/anthropic/lib/credentials/_types.py:10
Function
_empty_skill_dirs
()
src/anthropic/lib/tools/agent_toolset.py:201
Function
_exc_func
(*_: Any, **__: Any)
src/anthropic/_models.py:1045
Function
_fail
()
tests/lib/test_google_cloud.py:578
Function
_fake_refresh
(creds: _FakeCredentials)
tests/lib/test_google_cloud.py:520
Method
_flush_after_idle
(self)
src/anthropic/lib/environments/_worker.py:586
Method
_flush_store
(self, store: _AttachedStore)
src/anthropic/lib/tools/_memories.py:488
Method
_get_page_items
(self)
src/anthropic/pagination.py:30
Method
_get_page_items
(self)
src/anthropic/pagination.py:67
Method
_get_page_items
(self)
src/anthropic/pagination.py:103
Method
_get_page_items
(self)
src/anthropic/pagination.py:132
Method
_get_page_items
(self)
src/anthropic/pagination.py:160
Method
_get_page_items
(self)
src/anthropic/pagination.py:184
Method
_get_page_items
(self)
src/anthropic/pagination.py:209
Method
_get_page_items
(self)
src/anthropic/pagination.py:234
Method
_get_page_items
(self)
src/anthropic/pagination.py:260
Method
_get_page_items
(self)
src/anthropic/pagination.py:290
Method
_handle_request
( self, thread: BetaMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:952
Method
_handle_request
( self, thread: BetaMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1065
Method
_handle_request
( self, thread: BetaAsyncMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1497
Method
_handle_request
( self, thread: BetaAsyncMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1610
Method
_heartbeat_until_end
(self, serving: anyio.CancelScope)
src/anthropic/lib/environments/_lease.py:78
Method
_init_proxy_transport
( self, proxy: httpx.Proxy, verify: ssl.SSLContext | str | bool = True, cert:
src/anthropic/_vendor/httpx_aiohttp/client.py:46
Method
_init_transport
( self, verify: ssl.SSLContext | str | bool = True, cert: t.Union[str, t.Tuple[str, st
src/anthropic/_vendor/httpx_aiohttp/client.py:21
Method
_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:266
Method
_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1463
Method
_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1558
Function
_isolate_environment
Ambient first-party / google-cloud env vars must not leak into these tests.
tests/lib/test_google_cloud.py:30
Method
_iter
()
tests/lib/tools/memory_sync/test_memory_sync.py:668
Method
_iter
()
tests/lib/tools/memory_sync/_fake_anthropic.py:107
Method
_iterator
(self)
src/anthropic/_streaming.py:48
Method
_iterator
(self)
src/anthropic/_streaming.py:176
Method
_iterator
(self)
src/anthropic/_decoders/jsonl.py:38
Method
_iterator
(self)
src/anthropic/_decoders/jsonl.py:99
Function
_json_default
(value: Any)
src/anthropic/lib/credentials/_secrets.py:89
Method
_kill_after_exit
(self, watchdog: subprocess.Popen[bytes] | None)
src/anthropic/lib/tools/agent_toolset.py:659
Method
_last_reply
The most recent reply the history records.
src/anthropic/lib/threads/_thread_state.py:127
Function
_lazy
(**kwargs: Any)
src/anthropic/lib/tools/_beta_functions.py:585
Function
_leave_tools_alone
(runner: Any)
tests/lib/tools/test_runners.py:1677
Method
_load_config
(self)
src/anthropic/lib/credentials/_providers.py:877
Function
_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_client.py:54
Function
_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_middleware.py:51
Function
_make_dir_and_ancestors
(path: Path)
src/anthropic/lib/tools/_file_store.py:297
Function
_make_dirs_below_root
(root: Path, directory: Path)
src/anthropic/lib/tools/_file_store.py:308
Method
_make_sse_decoder
(self, options: FinalRequestOptions | None = None)
src/anthropic/lib/bedrock/_client.py:146
Function
_md_match
(match: Match[str])
scripts/utils/ruffen-docs.py:64
Method
_mkstemp_enospc
(*_args: Any, **_kwargs: Any)
tests/lib/test_credentials.py:5512
Function
_mtime_or_zero
(p: Path)
src/anthropic/lib/tools/agent_toolset.py:1071
Function
_new_system_with_a_rewritten_history
(runner: Any)
tests/lib/threads/helpers.py:876
Function
_new_system_without_the_reply
(runner: Any)
tests/lib/threads/helpers.py:871
Function
_no_retry_delay
(*_args: Any, **_kwargs: Any)
tests/test_prepare.py:129
Function
_not_a_bool
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:45
Method
_observer
(self)
src/anthropic/_streaming.py:54
Method
_observer
(self)
src/anthropic/_streaming.py:182
Method
_open_stream
( self, messages: Iterable[BetaMessageParam | BetaMessage], overrides: TurnOverrides )
src/anthropic/lib/threads/_beta_threads.py:531
Method
_params
The thread's `params` that a request takes: the request fields, with `tools` as the definitions sent, and the whole history, `messages` includ
src/anthropic/lib/tools/_beta_runner.py:242
Method
_parsed_docstring
(self)
src/anthropic/lib/tools/_beta_functions.py:212
Method
_parser
(resp: AsyncPageT)
src/anthropic/_base_client.py:352
Method
_parser
(resp: SyncPageT)
src/anthropic/_base_client.py:1581
Method
_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/_client.py:810
← previous
next →
3,001–3,100 of 13,873, ranked by callers