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
__aiter__
(self)
src/anthropic/lib/tools/_beta_session_runner.py:471
Method
__aiter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1655
Method
__aiter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:228
Method
__aiter__
(self)
src/anthropic/lib/streaming/_messages.py:224
Method
__aiter__
(self)
src/anthropic/_vendor/httpx_aiohttp/transport.py:71
Method
__aiter__
(self)
src/anthropic/_decoders/jsonl.py:121
Method
__aiter__
(self)
tests/lib/tools/test_session_runner.py:161
Method
__aiter__
(self)
tests/lib/tools/test_runner_eager_tools.py:990
Method
__anext__
(self)
src/anthropic/lib/tools/_beta_runner.py:819
Method
__anext__
(self)
src/anthropic/lib/streaming/_beta_messages.py:225
Method
__anext__
(self)
src/anthropic/lib/streaming/_messages.py:221
Method
__anext__
(self)
src/anthropic/_decoders/jsonl.py:118
Method
__await__
(self)
src/anthropic/_base_client.py:329
Method
__bool__
(self)
src/anthropic/_types.py:147
Method
__bool__
(self)
src/anthropic/_types.py:177
Method
__bool__
(self)
src/anthropic/_base_client.py:2382
Method
__bool__
(self)
tests/lib/tools/toolsets/test_pipeline.py:252
Method
__call__
(self)
src/anthropic/lib/tools/_beta_functions.py:188
Method
__call__
(self, *_args: Any, **_kwds: Any)
src/anthropic/lib/tools/_beta_functions.py:237
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_types.py:65
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_types.py:76
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_providers.py:124
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_providers.py:135
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_providers.py:505
Method
__call__
(self)
src/anthropic/lib/credentials/_providers.py:767
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_workload.py:249
Method
__call__
The JSON that `body` is sent as, or `None` when the request went out without content.
tests/test_prepare.py:72
Method
__call__
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:298
Method
__call__
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:309
Method
__call__
(self, *_args: Any, **_kwds: Any)
tests/test_utils/test_proxy.py:13
Method
__call__
(self)
tests/lib/test_credentials.py:1525
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1534
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1614
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1674
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1691
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1707
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3361
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3435
Method
__call__
(self, token: str, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3481
Method
__call__
(self)
tests/lib/test_credentials.py:3594
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:4010
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:4063
Method
__call__
(self, **kwargs: object)
tests/lib/test_bedrock_mantle.py:19
Method
__call__
( self, replies: list[Reply | EventByEvent], *, stream: bool = True, r
tests/lib/tools/test_runner_eager_tools.py:1098
Method
__call__
(self, context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:210
Method
__call__
(self)
tests/lib/tools/memory_sync/conftest.py:22
Method
__contains__
(self, value: object, /)
src/anthropic/_types.py:263
Method
__del__
(self)
src/anthropic/_base_client.py:990
Method
__del__
(self)
src/anthropic/_base_client.py:1710
Method
__dir__
(self)
src/anthropic/_utils/_proxy.py:40
Method
__enter__
(self)
src/anthropic/_response.py:657
Method
__enter__
(self: _T)
src/anthropic/_base_client.py:1080
Method
__enter__
(self)
src/anthropic/lib/credentials/_workload.py:238
Method
__enter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:81
Method
__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:78
Method
__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:175
Method
__enter__
(self)
src/anthropic/lib/streaming/_messages.py:75
Method
__enter__
(self)
src/anthropic/lib/streaming/_messages.py:171
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_response.py:661
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_base_client.py:1083
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_streaming.py:164
Method
__exit__
( self, exc_type: Optional[Type[BaseException]], exc: Optional[BaseException],
src/anthropic/lib/credentials/_workload.py:241
Method
__exit__
(self, *exc_info: object)
src/anthropic/lib/middleware/_fallbacks.py:86
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:81
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:180
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:78
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:176
Method
__fspath__
(self)
tests/test_prepare.py:167
Method
__fspath__
(self)
tests/test_prepare.py:211
Method
__get__
(self, instance: None, owner: type[Any] | None = None)
src/anthropic/_compat.py:212
Method
__get_pydantic_core_schema__
( cls, source_type: Any, handler: GetCoreSchemaHandler, )
src/anthropic/_models.py:444
Method
__getattr__
(self, attr: str)
src/anthropic/types/beta/beta_managed_agents_custom_tool_input_schema.py:28
Method
__getattr__
(self, attr: str)
src/anthropic/types/beta/beta_response_tool_input_schema.py:31
Method
__getattr__
(self, attr: str)
src/anthropic/_utils/_proxy.py:19
Method
__getattr__
(self, attr: str)
tests/test_models.py:1031
Method
__getitem__
(self, index: SupportsIndex, /)
src/anthropic/_types.py:260
Method
__getitem__
(self, index: Any)
tests/test_prepare.py:202
Method
__init__
(self)
src/anthropic/_response.py:607
Method
__init__
(self)
src/anthropic/_response.py:634
Method
__init__
(self, request_func: Callable[[], _APIResponseT])
src/anthropic/_response.py:653
Method
__init__
(self, api_request: Awaitable[_AsyncAPIResponseT])
src/anthropic/_response.py:677
Method
__init__
( self, *, options: FinalRequestOptions, cast_to: Any, stream: bool =
src/anthropic/_request.py:21
Method
__init__
(self, field_name: str)
src/anthropic/_models.py:718
Method
__init__
( self, *, mapping: dict[str, type], discriminator_field: str, discrim
src/anthropic/_models.py:771
Method
__init__
(self, response: httpx2.Response, body: object | None, *, message: str | None = None)
src/anthropic/_exceptions.py:61
Method
__init__
(self, message: str, *, response: httpx2.Response, body: object | None)
src/anthropic/_exceptions.py:81
Method
__init__
(self, *, message: str = "Connection error.", request: httpx2.Request)
src/anthropic/_exceptions.py:96
Method
__init__
(self, request: httpx2.Request)
src/anthropic/_exceptions.py:101
Method
__init__
(self, message: str, *, path: pathlib.Path | None = None)
src/anthropic/_exceptions.py:130
Method
__init__
( self, client: AsyncAPIClient, options: FinalRequestOptions, page_cls: Type[A
src/anthropic/_base_client.py:317
Method
__init__
( self, *, version: str, base_url: str | URL, _strict_response_validat
src/anthropic/_base_client.py:415
Method
__init__
(self, **kwargs: Any)
src/anthropic/_base_client.py:928
Method
__init__
( self, *, version: str, base_url: str | URL, max_retries: int = DEFAU
src/anthropic/_base_client.py:1006
Method
__init__
(self, **kwargs: Any)
src/anthropic/_base_client.py:1626
Method
__init__
(self, **_kwargs: Any)
src/anthropic/_base_client.py:1680
Method
__init__
( self, *, version: str, base_url: str | URL, _strict_response_validat
src/anthropic/_base_client.py:1727
Method
__init__
(self, name: str)
src/anthropic/_base_client.py:2387
Method
__init__
(self, name: str)
src/anthropic/_base_client.py:2464
Method
__init__
(self, func: Callable[[Any], _T])
src/anthropic/_compat.py:209
Method
__init__
(self, client: SyncAPIClient)
src/anthropic/_resource.py:13
← previous
next →
1,401–1,500 of 9,455, ranked by callers