Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
14,068 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
14,068
◇
Types & classes
4,501
↳
Endpoints
96
Function
shielded
(runner: SessionToolRunner)
tests/lib/tools/test_session_runner.py:1973
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/test_open_telemetry.py:200
Method
should_sample
(self, *args: Any, **kwargs: Any)
tests/lib/tools/test_open_telemetry.py:1023
Method
sign_out
Sign a member out of Claude everywhere, without removing them from the organization. This ends their sign-in sessions and removes the
src/anthropic/resources/beta/organization/users.py:601
Method
simple_add
Add two numbers together.
tests/lib/tools/test_functions.py:421
Method
simple_func
A simple function.
tests/lib/tools/test_functions.py:172
Method
simple_function
A simple function with basic parameter types.
tests/lib/tools/test_functions.py:46
Method
size
(parts: list[Part])
tests/test_open_telemetry.py:6348
Method
skills
(self)
src/anthropic/_client.py:309
Method
skills
(self)
src/anthropic/_client.py:713
Method
skills
(self)
src/anthropic/_client.py:962
Method
skills
(self)
src/anthropic/_client.py:1014
Method
skills
(self)
src/anthropic/_client.py:1066
Method
skills
(self)
src/anthropic/_client.py:1118
Method
skills
(self)
src/anthropic/resources/beta/beta.py:180
Method
skills
(self)
src/anthropic/resources/beta/beta.py:272
Method
skills
(self)
src/anthropic/resources/beta/beta.py:367
Method
skills
(self)
src/anthropic/resources/beta/beta.py:439
Method
skills
(self)
src/anthropic/resources/beta/beta.py:511
Method
skills
(self)
src/anthropic/resources/beta/beta.py:583
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:147
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:224
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:304
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:365
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:426
Method
skills
(self)
src/anthropic/resources/beta/organization/analytics/analytics.py:487
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:87
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:136
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:188
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:221
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:254
Method
skills
(self)
src/anthropic/resources/organization/analytics/analytics.py:287
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:35
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:68
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:104
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:121
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:138
Method
slack_channels
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:155
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:39
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:72
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:108
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:125
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:142
Method
slack_workspaces
(self)
src/anthropic/resources/beta/organization/claude_tag/claude_tag.py:159
Function
sleep
(seconds: float)
tests/lib/environments/_schedules.py:191
Function
slow
(_input: object)
tests/lib/tools/test_session_runner.py:1565
Function
slow_close
(stream: AsyncStream[Any])
tests/lib/tools/test_open_telemetry.py:239
Function
slow_load
()
tests/lib/test_google_cloud.py:615
Method
slow_provider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:1790
Function
snapshot_client
( is_recording: bool, http_snapshot_serializer_options: SnapshotSerializerOptions, http_snapshot:
tests/conftest.py:98
Method
some_function
Original description.
tests/lib/tools/test_functions.py:123
Method
some_of
(parts: list[Part])
tests/test_open_telemetry.py:6556
Function
spans
()
tests/test_open_telemetry.py:164
Function
spans
()
tests/lib/tools/test_open_telemetry.py:149
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:238
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:371
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:511
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:604
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:697
Method
spend_limits
(self)
src/anthropic/resources/beta/organization/organization.py:790
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:166
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:266
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:373
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:434
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:495
Method
spend_limits
(self)
src/anthropic/resources/organization/organization.py:556
Function
spy
(fn: Any)
tests/lib/test_google_cloud.py:462
Function
spy
(path: str)
tests/lib/tools/toolsets/test_security.py:141
Function
stainless_helper_header_from_file
Build x-stainless-helper header dict from a file object.
src/anthropic/lib/_stainless_helpers.py:162
Method
started
(self)
tests/lib/environments/_fake_work_api.py:165
Method
started
(self)
tests/lib/tools/_fake_sessions_api.py:153
Method
started_at
(self)
tests/lib/tools/_fake_sessions_api.py:157
Method
stats
Get statistics about the work queue for an environment. Args: betas: Optional header to specify the beta version(s) you wa
src/anthropic/resources/beta/environments/work.py:1152
Method
status_code
(self)
src/anthropic/_response.py:100
Method
step
(number: int)
tests/lib/tools/test_open_telemetry.py:1343
Function
stop
Returns its error instead of raising it, because it runs in `finally` blocks.
src/anthropic/lib/environments/_poller.py:216
Method
stop
Stop a work item, initiating graceful or forced shutdown. Args: force: If true, immediately stop work without graceful shu
src/anthropic/resources/beta/environments/work.py:590
Method
stop
Stop a work item, initiating graceful or forced shutdown. Args: force: If true, immediately stop work without graceful shu
src/anthropic/resources/beta/environments/work.py:1220
Function
stop_at_the_first_call
(runner: SessionToolRunner)
tests/lib/tools/test_session_runner.py:133
Method
stop_from_outside
(self, force: bool = False)
tests/lib/environments/_fake_work_api.py:254
Function
store
(tmp_path: Path)
tests/lib/tools/test_file_store.py:38
Method
str_replace
(self, command: BetaMemoryTool20250818StrReplaceCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:507
Method
str_replace
(self, command: BetaMemoryTool20250818StrReplaceCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:805
Function
stream
(request: Request)
tests/utils.py:329
Function
stream
(client: AnthropicBedrockMantle, user_profile_id: str | Omit, extra_body: object)
tests/lib/test_bedrock_mantle.py:467
Function
stream
(http: httpx2.AsyncClient)
tests/lib/tools/test_fake_sessions_api.py:69
Method
stream
Stream Events Args: event_deltas: When set, this connection also receives streaming deltas (`event_start`, `
src/anthropic/resources/beta/sessions/events.py:233
Method
stream
Stream Events Args: event_deltas: When set, this connection also receives streaming deltas (`event_start`, `
src/anthropic/resources/beta/sessions/events.py:508
Method
stream
Stream Session Thread Events Args: event_deltas: When set, this connection also receives streaming deltas (`event_start`,
src/anthropic/resources/beta/sessions/threads/events.py:129
Method
stream
Stream Session Thread Events Args: event_deltas: When set, this connection also receives streaming deltas (`event_start`,
src/anthropic/resources/beta/sessions/threads/events.py:314
Method
stream
Stream Events Args: session_id: Session ID to stream events from. event_deltas: When set, this connection also
src/anthropic/resources/beta/bedrock/sessions/events.py:243
Method
stream
Stream Events Args: session_id: Session ID to stream events from. event_deltas: When set, this connection also
src/anthropic/resources/beta/bedrock/sessions/events.py:520
Method
stream
Stream Session Thread Events Args: session_id: Unique identifier of the session the thread belongs to. thread_i
src/anthropic/resources/beta/bedrock/sessions/threads/events.py:133
Method
stream
Stream Session Thread Events Args: session_id: Unique identifier of the session the thread belongs to. thread_i
src/anthropic/resources/beta/bedrock/sessions/threads/events.py:318
Method
stream
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:2006
Method
stream
( self, *, max_tokens: int, messages: Iterable[BetaMessageParam], mode
src/anthropic/resources/beta/messages/messages.py:4381
Method
stream
Create a Message stream
src/anthropic/resources/messages/messages.py:3137
Method
stream
Like `send()`, and returns the reply's stream. The turn is in progress until the stream ends or is closed.
src/anthropic/lib/threads/_beta_threads.py:439
Method
stream_closed
(self, session: FakeSession, stream: Connection)
tests/lib/tools/test_session_runner_properties.py:389
Method
stream_to_file
Streams the output to the given file. Accepts a filename or any path-like object, e.g. pathlib.Path
src/anthropic/_response.py:599
← previous
next →
5,501–5,600 of 14,068, ranked by callers