Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
4,447 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
4,447
◇
Types & classes
1,509
↳
Endpoints
24
Method
__init__
(self, beta: Beta)
src/anthropic/lib/vertex/_beta.py:88
Method
__init__
(self, beta: AsyncBeta)
src/anthropic/lib/vertex/_beta.py:97
Method
__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:65
Method
__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:74
Method
__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:83
Method
__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:92
Method
__init__
( self, *, region: str | NotGiven = NOT_GIVEN, project_id: str | NotGiven = NO
src/anthropic/lib/vertex/_client.py:260
Method
__init__
( self, *, raw_iterator: AsyncIterator[bytes], line_type: type[_T], ht
src/anthropic/_decoders/jsonl.py:79
Method
__init__
( self, handler: Callable[[httpx.Request], httpx.Response] | Callable[[httpx.Request],
tests/test_client.py:63
Method
__init__
(self, name: str = "middleware", events: "list[str] | None" = None)
tests/test_middleware.py:90
Method
__init__
(self, **changes: object)
tests/test_middleware.py:116
Method
__init__
(self, fallback_model: str)
tests/test_middleware.py:134
Method
__init__
(self, max_tokens: int)
tests/test_middleware.py:158
Method
__init__
(self, message: Message)
tests/test_middleware.py:182
Method
__init__
(self)
tests/test_middleware.py:200
Method
__init__
(self)
tests/test_middleware.py:257
Method
__init__
(self)
tests/test_middleware.py:276
Method
__init__
(self)
tests/test_middleware.py:295
Method
__init__
(self)
tests/test_middleware.py:306
Method
__init__
(self)
tests/test_middleware.py:337
Method
__init__
(self, now: float = 1000.0)
tests/lib/test_credentials.py:1347
Method
__init__
(self, tokens: List[AccessToken])
tests/lib/test_credentials.py:1355
Method
__init__
(self, *, id: str = "work_1")
tests/lib/environments/test_poller_method.py:31
Method
__init__
(self, poll_script: list[Any])
tests/lib/environments/test_poller_method.py:48
Method
__init__
(self, poll_script: list[Any])
tests/lib/environments/test_poller_method.py:71
Method
__init__
(self, *, heartbeat_state: str = "stopping")
tests/lib/environments/test_worker.py:37
Method
__init__
(self)
tests/lib/environments/test_worker.py:76
Method
__init__
(self, type: str, **kw: Any)
tests/lib/tools/test_session_runner.py:65
Method
__init__
( self, events: list[_StubEvent], *, raise_after: int | None = None, r
tests/lib/tools/test_session_runner.py:123
Method
__init__
( self, *, streams: list[_FakeStream | BaseException] | None = None, stream_ev
tests/lib/tools/test_session_runner.py:157
Method
__init__
( self, name: str, fn: Callable[[dict[str, Any]], Awaitable[Any]], *,
tests/lib/tools/test_session_runner.py:212
Method
__init__
(self, events: FakeAsyncEvents)
tests/lib/tools/test_session_runner.py:232
Method
__init__
(self, message: str = "Thinking")
examples/memory/basic.py:45
Method
__instancecheck__
(self, instance: Any)
src/anthropic/_streaming.py:26
Method
__instancecheck__
(self, instance: Any)
src/anthropic/_streaming.py:194
Method
__iter__
(self)
src/anthropic/_types.py:270
Method
__iter__
(self)
src/anthropic/_base_client.py:273
Method
__iter__
(self)
src/anthropic/_streaming.py:70
Method
__iter__
(self)
src/anthropic/lib/tools/_beta_runner.py:168
Method
__iter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1546
Method
__iter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:69
Method
__iter__
(self)
src/anthropic/lib/streaming/_messages.py:66
Method
__iter__
(self)
src/anthropic/_decoders/jsonl.py:65
Method
__len__
(self)
src/anthropic/_types.py:269
Method
__load__
(self)
src/anthropic/_utils/_resources_proxy.py:17
Method
__load__
(self)
src/anthropic/lib/_extras/_google_auth.py:19
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:67
Method
__next__
(self)
src/anthropic/lib/tools/_beta_runner.py:165
Method
__next__
(self)
src/anthropic/lib/streaming/_beta_messages.py:66
Method
__next__
(self)
src/anthropic/lib/streaming/_messages.py:63
Method
__next__
(self)
src/anthropic/_decoders/jsonl.py:62
Method
__repr__
(self)
src/anthropic/_response.py:124
Method
__repr__
(self)
src/anthropic/_legacy_response.py:367
Method
__repr__
(self)
src/anthropic/_types.py:155
Method
__repr__
(self)
src/anthropic/_request.py:113
Method
__repr__
(self)
src/anthropic/_base_client.py:180
Method
__repr__
(self)
src/anthropic/_streaming.py:409
Method
__repr__
(self)
src/anthropic/_utils/_proxy.py:26
Method
__repr__
(self)
src/anthropic/_utils/_transform.py:74
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:271
Method
__set__
(self, instance: object, value: _T)
src/anthropic/_compat.py:228
Method
__set_name__
(self, owner: type[Any], name: str)
src/anthropic/_compat.py:225
Method
__str__
(self)
src/anthropic/_models.py:213
Method
__str__
(self)
src/anthropic/_base_client.py:2417
Method
__str__
(self)
src/anthropic/_base_client.py:2495
Method
__str__
(self)
src/anthropic/_utils/_proxy.py:33
Method
__str__
(self)
src/anthropic/lib/credentials/_workload.py:119
Function
_ack
(_work_id: str, **_kwargs: Any)
tests/lib/environments/test_poller_method.py:205
Function
_aclose
()
tests/lib/tools/test_session_runner.py:627
Method
_adapter
(self)
src/anthropic/lib/tools/_beta_functions.py:261
Method
_api_key_auth
(self)
src/anthropic/_client.py:338
Method
_api_key_auth
(self)
src/anthropic/_client.py:755
Method
_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:132
Method
_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:331
Function
_async_noop
(_seconds: float)
tests/lib/environments/test_poller_method.py:106
Method
_base_url
(self)
src/anthropic/lib/credentials/_workload.py:190
Method
_bearer_auth
(self)
src/anthropic/_client.py:345
Method
_bearer_auth
(self)
src/anthropic/_client.py:762
Method
_build_workload_delegate
(self, auth: Dict[str, Any])
src/anthropic/lib/credentials/_providers.py:801
Function
_close
()
tests/lib/tools/test_session_runner.py:609
Method
_dispatch_loop
(self)
src/anthropic/lib/tools/_beta_session_runner.py:555
Function
_empty_headers
()
src/anthropic/lib/credentials/_types.py:7
Function
_empty_skill_dirs
()
src/anthropic/lib/tools/agent_toolset.py:147
Function
_exc_func
(*_: Any, **__: Any)
src/anthropic/_models.py:908
Method
_gen
()
tests/lib/tools/test_session_runner.py:194
Method
_get_page_items
(self)
src/anthropic/pagination.py:29
Method
_get_page_items
(self)
src/anthropic/pagination.py:66
Method
_get_page_items
(self)
src/anthropic/pagination.py:102
Method
_get_page_items
(self)
src/anthropic/pagination.py:131
Method
_get_page_items
(self)
src/anthropic/pagination.py:159
Method
_get_page_items
(self)
src/anthropic/pagination.py:179
Method
_get_page_items
(self)
src/anthropic/pagination.py:200
Method
_get_page_items
(self)
src/anthropic/pagination.py:221
Method
_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:400
Method
_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:409
Method
_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:689
← previous
next →
1,101–1,200 of 4,447, ranked by callers