MCPcopy Create free account

hub / github.com/anthropics/anthropic-sdk-python / functions

Functions1,183 in github.com/anthropics/anthropic-sdk-python

Method__init__
(self, batches: Batches)
src/anthropic/resources/messages/batches.py:601
Method__init__
(self, batches: AsyncBatches)
src/anthropic/resources/messages/batches.py:622
Method__init__
(self, batches: Batches)
src/anthropic/resources/messages/batches.py:643
Method__init__
(self, batches: AsyncBatches)
src/anthropic/resources/messages/batches.py:664
Method__init__
(self, messages: Messages)
src/anthropic/resources/messages/messages.py:2361
Method__init__
(self, messages: AsyncMessages)
src/anthropic/resources/messages/messages.py:2377
Method__init__
(self, messages: Messages)
src/anthropic/resources/messages/messages.py:2393
Method__init__
(self, messages: AsyncMessages)
src/anthropic/resources/messages/messages.py:2409
Method__init__
( self, *, alias: str | None = None, format: PropertyFormat | None = None,
src/anthropic/_utils/_transform.py:56
Method__init__
(self, beta: Beta)
src/anthropic/lib/bedrock/_beta.py:70
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/bedrock/_beta.py:79
Method__init__
(self, beta: Beta)
src/anthropic/lib/bedrock/_beta.py:88
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/bedrock/_beta.py:97
Method__init__
(self, messages: Messages)
src/anthropic/lib/bedrock/_beta_messages.py:61
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/bedrock/_beta_messages.py:70
Method__init__
(self, messages: Messages)
src/anthropic/lib/bedrock/_beta_messages.py:79
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/bedrock/_beta_messages.py:88
Method__init__
( self, *, cast_to: type[_T], response: httpx.Response, client: AsyncA
src/anthropic/lib/bedrock/_stream.py:28
Method__init__
( self, aws_secret_key: str | None = None, aws_access_key: str | None = None,
src/anthropic/lib/bedrock/_client.py:251
Method__init__
(self)
src/anthropic/lib/bedrock/_stream_decoder.py:25
Method__init__
(self, *, library: str, extra: str)
src/anthropic/lib/_extras/_common.py:12
Method__init__
(self, raw_stream: Stream[BetaRawMessageStreamEvent])
src/anthropic/lib/streaming/_beta_messages.py:35
Method__init__
( self, api_request: Callable[[], Stream[BetaRawMessageStreamEvent]], )
src/anthropic/lib/streaming/_beta_messages.py:139
Method__init__
(self, raw_stream: AsyncStream[BetaRawMessageStreamEvent])
src/anthropic/lib/streaming/_beta_messages.py:172
Method__init__
( self, api_request: Awaitable[AsyncStream[BetaRawMessageStreamEvent]], )
src/anthropic/lib/streaming/_beta_messages.py:278
Method__init__
(self, raw_stream: Stream[RawMessageStreamEvent])
src/anthropic/lib/streaming/_messages.py:35
Method__init__
( self, api_request: Callable[[], Stream[RawMessageStreamEvent]], )
src/anthropic/lib/streaming/_messages.py:139
Method__init__
(self, raw_stream: AsyncStream[RawMessageStreamEvent])
src/anthropic/lib/streaming/_messages.py:172
Method__init__
( self, api_request: Awaitable[AsyncStream[RawMessageStreamEvent]], )
src/anthropic/lib/streaming/_messages.py:278
Method__init__
(self, beta: Beta)
src/anthropic/lib/vertex/_beta.py:70
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/vertex/_beta.py:79
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:61
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:70
Method__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:79
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:88
Method__init__
( self, *, region: str | NotGiven = NOT_GIVEN, project_id: str | NotGiven = NO
src/anthropic/lib/vertex/_client.py:230
Method__init__
( self, *, raw_iterator: AsyncIterator[bytes], line_type: type[_T], http_response: httpx.Response | No
src/anthropic/_decoders/jsonl.py:68
Method__instancecheck__
(self, instance: Any)
src/anthropic/_streaming.py:25
Method__instancecheck__
(self, instance: Any)
src/anthropic/_streaming.py:142
Method__iter__
(self)
src/anthropic/_base_client.py:223
Method__iter__
(self)
src/anthropic/_streaming.py:67
Method__iter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:52
Method__iter__
(self)
src/anthropic/lib/streaming/_messages.py:52
Method__iter__
(self)
src/anthropic/_decoders/jsonl.py:54
Method__load__
(self)
src/anthropic/lib/_extras/_google_auth.py:19
Method__load__
(self)
tests/test_utils/test_proxy.py:10
Method__next__
(self)
src/anthropic/_streaming.py:64
Method__next__
(self)
src/anthropic/lib/streaming/_beta_messages.py:49
Method__next__
(self)
src/anthropic/lib/streaming/_messages.py:49
Method__next__
(self)
src/anthropic/_decoders/jsonl.py:51
Method__repr__
(self)
src/anthropic/_response.py:124
Method__repr__
(self)
src/anthropic/_legacy_response.py:364
Method__repr__
(self)
src/anthropic/_types.py:128
Method__repr__
(self)
src/anthropic/_base_client.py:148
Method__repr__
(self)
src/anthropic/_streaming.py:295
Method__repr__
(self)
src/anthropic/_utils/_proxy.py:26
Method__repr__
(self)
src/anthropic/_utils/_transform.py:70
Method__set__
(self, instance: object, value: _T)
src/anthropic/_compat.py:215
Method__set_name__
(self, owner: type[Any], name: str)
src/anthropic/_compat.py:212
Method__str__
(self)
src/anthropic/_models.py:189
Method__str__
(self)
src/anthropic/_base_client.py:1947
Method__str__
(self)
src/anthropic/_base_client.py:2025
Method__str__
(self)
src/anthropic/_utils/_proxy.py:33
Method_api_key_auth
(self)
src/anthropic/_client.py:145
Method_api_key_auth
(self)
src/anthropic/_client.py:365
Method_bearer_auth
(self)
src/anthropic/_client.py:152
Method_bearer_auth
(self)
src/anthropic/_client.py:372
Method_get_page_items
(self)
src/anthropic/pagination.py:20
Method_get_page_items
(self)
src/anthropic/pagination.py:49
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_client.py:49
Method_make_sse_decoder
(self)
src/anthropic/lib/bedrock/_client.py:163
Method_make_sse_decoder
(self)
src/anthropic/lib/bedrock/_client.py:307
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response, )
src/anthropic/_client.py:458
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response, )
src/anthropic/lib/bedrock/_client.py:69
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response, )
src/anthropic/lib/vertex/_client.py:51
Function_md_match
(match: Match[str])
scripts/utils/ruffen-docs.py:45
Function_md_pycon_match
(match: Match[str])
scripts/utils/ruffen-docs.py:97
Method_parser
(resp: AsyncPageT)
src/anthropic/_base_client.py:265
Method_parser
(resp: SyncPageT)
src/anthropic/_base_client.py:1172
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/bedrock/_client.py:167
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/bedrock/_client.py:311
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/vertex/_client.py:138
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/vertex/_client.py:280
Method_prepare_request
(self, request: httpx.Request)
src/anthropic/lib/bedrock/_client.py:171
Method_prepare_request
(self, request: httpx.Request)
src/anthropic/lib/bedrock/_client.py:315
Method_prepare_request
(self, request: httpx.Request)
src/anthropic/lib/vertex/_client.py:142
Method_prepare_request
(self, request: httpx.Request)
src/anthropic/lib/vertex/_client.py:284
Method_set_private_attributes
( self, model: Type[_T], client: AsyncAPIClient, options: FinalRequestOptions,
src/anthropic/_base_client.py:290
Method_sleep
(self, seconds: float)
src/anthropic/_resource.py:24
Method_sleep
(self, seconds: float)
src/anthropic/_resource.py:40
Method_validate_headers
(self, headers: Headers, custom_headers: Headers)
src/anthropic/_client.py:169
Method_validate_headers
(self, headers: Headers, custom_headers: Headers)
src/anthropic/_client.py:389
Methodadd_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:218
Methodadd_leak
(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.StatisticDiff)
tests/test_client.py:1083
Methodaiter_bytes
Given an async iterator that yields raw binary data, iterate over it & yield every event encountered
src/anthropic/_streaming.py:410
Methodaiter_bytes
Given an async iterator that yields lines, iterate over it & yield every event encountered
src/anthropic/lib/bedrock/_stream_decoder.py:42
Methodaiter_raw
(self, chunk_size: int | None = None)
src/anthropic/_legacy_response.py:493
Functionassert_signatures_in_sync
Ensure that the signature of the second function matches the first.
src/anthropic/_utils/_reflection.py:13
← previousnext →401–500 of 1,183, ranked by callers