anthropics / anthropic-sdk-python
File Churn

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 241 files with 23,553 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 2 files changed 51-100 times (1,949 lines of code)
    • 4 files changed 21-50 times (1,769 lines of code)
    • 40 files changed 6-20 times (10,063 lines of code)
    • 195 files changed 1-5 times (9,772 lines of code)
0% | 8% | 7% | 42% | 41%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 241 files with 23,553 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 1 file changed by 11-25 contributors (1,947 lines of code)
    • 6 files changed by 6-10 contributors (4,300 lines of code)
    • 73 files changed by 2-5 contributors (10,847 lines of code)
    • 161 files changed by 1 contributor (6,459 lines of code)
0% | 8% | 18% | 46% | 27%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
py, json, md, txt, yaml, gitignore, toml, sh
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
py0% | 8% | 7% | 42% | 41%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
src0% | 8% | 7% | 42% | 41%
scripts0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
_version.py
in src/anthropic
2 - 2023-06-26 2025-06-11 61 5 +78 / -74 jenan@anthropic.com michaelcohen@anthropic.com
_base_client.py
in src/anthropic
1947 107 2023-06-26 2026-06-17 56 12 +2861 / -639 jenan@anthropic.com craigie@anthropic.com
_client.py
in src/anthropic
720 62 2023-06-26 2026-06-17 35 8 +818 / -203 jenan@anthropic.com craigie@anthropic.com
_models.py
in src/anthropic
623 31 2023-06-26 2025-09-17 33 6 +884 / -111 jenan@anthropic.com dmeadows@stainless.com
completions.py
in src/anthropic/resources
277 12 2023-06-26 2024-10-08 29 5 +1545 / -663 jenan@anthropic.com robert@craigie.dev
_types.py
in src/anthropic
149 11 2023-06-26 2024-10-28 24 4 +431 / -208 jenan@anthropic.com dev+git@stainlessapi.com
_utils.py
in src/anthropic/_utils
261 34 2023-06-26 2024-08-06 20 4 +477 / -81 jenan@anthropic.com dev+git@stainlessapi.com
_messages.py
in src/anthropic/lib/streaming
372 24 2023-12-19 2026-04-29 20 5 +923 / -436 107565488+stainless-bot@use... dmeadows@stainless.com
__init__.py
in src/anthropic
136 - 2023-06-26 2026-04-01 19 5 +128 / -18 jenan@anthropic.com 246350779+cameron-mcateer@u...
messages.py
in src/anthropic/resources/beta/messages
1714 36 2024-10-08 2026-06-18 19 6 +2845 / -278 robert@craigie.dev dmeadows@anthropic.com
_client.py
in src/anthropic/lib/vertex
342 13 2024-01-23 2026-06-17 18 10 +562 / -141 107565488+stainless-bot@use... craigie@anthropic.com
_transform.py
in src/anthropic/_utils
259 11 2023-06-26 2026-03-26 15 4 +568 / -31 jenan@anthropic.com dmeadows@stainless.com
_client.py
in src/anthropic/lib/bedrock
362 13 2024-01-31 2026-06-17 15 9 +554 / -142 107565488+stainless-bot@use... craigie@anthropic.com
_response.py
in src/anthropic
492 45 2023-10-27 2025-01-15 15 4 +980 / -127 107565488+stainless-bot@use... robert@craigie.dev
message_create_params.py
in src/anthropic/types
54 - 2024-02-12 2025-02-24 14 4 +455 / -118 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/_utils
65 - 2023-06-26 2026-03-23 14 4 +175 / -121 jenan@anthropic.com dmeadows@stainless.com
completion_create_params.py
in src/anthropic/types
38 - 2023-06-26 2024-10-08 13 4 +425 / -292 jenan@anthropic.com robert@craigie.dev
__init__.py
in src/anthropic/resources
58 - 2023-06-26 2024-12-17 12 4 +107 / -46 jenan@anthropic.com robert@craigie.dev
_compat.py
in src/anthropic
152 24 2023-08-16 2024-11-25 12 2 +289 / -78 107565488+stainless-bot@use... dev+git@stainlessapi.com
_beta_runner.py
in src/anthropic/lib/tools
539 19 2025-09-17 2026-06-18 12 9 +573 / -92 dmeadows@stainless.com dmeadows@anthropic.com
beta.py
in src/anthropic/resources/beta
349 82 2023-12-19 2024-12-17 11 3 +335 / -221 107565488+stainless-bot@use... robert@craigie.dev
_streaming.py
in src/anthropic
409 29 2023-06-26 2024-05-22 11 4 +517 / -52 jenan@anthropic.com robert@craigie.dev
_constants.py
in src/anthropic
20 - 2023-06-26 2025-06-11 10 4 +27 / -9 jenan@anthropic.com dmeadows@stainless.com
_exceptions.py
in src/anthropic
85 5 2023-06-26 2026-03-19 10 5 +172 / -34 jenan@anthropic.com 92274156+karpetrosyan@users...
__init__.py
in src/anthropic/types
273 - 2023-06-26 2025-02-24 10 4 +87 / -1 jenan@anthropic.com robert@craigie.dev
_legacy_response.py
in src/anthropic
341 34 2024-01-15 2024-12-13 10 4 +542 / -46 107565488+stainless-bot@use... robert@craigie.dev
_beta_messages.py
in src/anthropic/lib/streaming
412 24 2025-01-13 2026-05-21 10 4 +521 / -17 robert@craigie.dev dmeadows@anthropic.com
__init__.py
in src/anthropic/types/beta
788 - 2023-12-19 2025-02-24 10 3 +73 / -22 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/resources/beta
187 - 2023-12-19 2024-12-17 9 3 +135 / -88 107565488+stainless-bot@use... robert@craigie.dev
messages.py
in src/anthropic/resources/messages
1011 24 2024-12-17 2026-06-18 9 4 +2641 / -75 robert@craigie.dev dmeadows@anthropic.com
_proxy.py
in src/anthropic/_utils
45 8 2023-09-14 2024-08-06 8 3 +89 / -27 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_create_params.py
in src/anthropic/types/beta
67 - 2023-12-19 2025-02-24 8 2 +497 / -201 107565488+stainless-bot@use... robert@craigie.dev
batches.py
in src/anthropic/resources/beta/messages
518 15 2024-10-08 2026-03-23 8 3 +826 / -46 robert@craigie.dev dmeadows@stainless.com
batch_create_params.py
in src/anthropic/types/beta/messages
14 - 2024-10-08 2026-04-23 7 5 +44 / -6 robert@craigie.dev 246350779+cameron-mcateer@u...
content_block.py
in src/anthropic/types
33 - 2024-02-12 2025-02-24 7 3 +28 / -12 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/lib/streaming
34 - 2023-12-19 2025-01-13 7 2 +40 / -14 107565488+stainless-bot@use... robert@craigie.dev
_auth.py
in src/anthropic/lib/bedrock
54 2 2024-01-31 2024-10-28 7 4 +80 / -8 107565488+stainless-bot@use... dev+git@stainlessapi.com
content_block_start_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 3 +24 / -16 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 4 +55 / -35 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_stream_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 3 +32 / -24 107565488+stainless-bot@use... dev+git@stainlessapi.com
usage.py
in src/anthropic/types
17 - 2024-02-12 2024-12-17 6 4 +23 / -3 107565488+stainless-bot@use... robert@craigie.dev
message.py
in src/anthropic/types
21 - 2024-02-12 2025-02-24 6 3 +148 / -27 107565488+stainless-bot@use... robert@craigie.dev
tool_param.py
in src/anthropic/types
26 - 2024-05-30 2026-03-05 6 2 +48 / -4 robert@craigie.dev dmeadows@stainless.com
_resource.py
in src/anthropic
28 3 2023-06-26 2024-03-19 6 3 +54 / -12 jenan@anthropic.com 107565488+stainless-bot@use...
message_param.py
in src/anthropic/types
51 - 2024-02-12 2025-02-24 6 3 +45 / -5 107565488+stainless-bot@use... robert@craigie.dev
_beta_functions.py
in src/anthropic/lib/tools
427 26 2025-09-17 2026-05-26 6 5 +624 / -247 dmeadows@stainless.com craigie@anthropic.com
message_start_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +19 / -11 107565488+stainless-bot@use... dev+git@stainlessapi.com
content_block_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +21 / -13 107565488+stainless-bot@use... dev+git@stainlessapi.com
content_block_stop_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +18 / -10 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_stop_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +16 / -8 107565488+stainless-bot@use... dev+git@stainlessapi.com
Files With Most Churn (Top 50)
Based on the number of lines added and deleted across all commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
_base_client.py
in src/anthropic
1947 107 2023-06-26 2026-06-17 56 12 +2861 / -639 jenan@anthropic.com craigie@anthropic.com
messages.py
in src/anthropic/resources/beta/messages
1714 36 2024-10-08 2026-06-18 19 6 +2845 / -278 robert@craigie.dev dmeadows@anthropic.com
messages.py
in src/anthropic/resources/messages
1011 24 2024-12-17 2026-06-18 9 4 +2641 / -75 robert@craigie.dev dmeadows@anthropic.com
completions.py
in src/anthropic/resources
277 12 2023-06-26 2024-10-08 29 5 +1545 / -663 jenan@anthropic.com robert@craigie.dev
_messages.py
in src/anthropic/lib/streaming
372 24 2023-12-19 2026-04-29 20 5 +923 / -436 107565488+stainless-bot@use... dmeadows@stainless.com
_response.py
in src/anthropic
492 45 2023-10-27 2025-01-15 15 4 +980 / -127 107565488+stainless-bot@use... robert@craigie.dev
_client.py
in src/anthropic
720 62 2023-06-26 2026-06-17 35 8 +818 / -203 jenan@anthropic.com craigie@anthropic.com
_models.py
in src/anthropic
623 31 2023-06-26 2025-09-17 33 6 +884 / -111 jenan@anthropic.com dmeadows@stainless.com
batches.py
in src/anthropic/resources/beta/messages
518 15 2024-10-08 2026-03-23 8 3 +826 / -46 robert@craigie.dev dmeadows@stainless.com
_beta_functions.py
in src/anthropic/lib/tools
427 26 2025-09-17 2026-05-26 6 5 +624 / -247 dmeadows@stainless.com craigie@anthropic.com
completion_create_params.py
in src/anthropic/types
38 - 2023-06-26 2024-10-08 13 4 +425 / -292 jenan@anthropic.com robert@craigie.dev
_client.py
in src/anthropic/lib/vertex
342 13 2024-01-23 2026-06-17 18 10 +562 / -141 107565488+stainless-bot@use... craigie@anthropic.com
message_create_params.py
in src/anthropic/types/beta
67 - 2023-12-19 2025-02-24 8 2 +497 / -201 107565488+stainless-bot@use... robert@craigie.dev
_client.py
in src/anthropic/lib/bedrock
362 13 2024-01-31 2026-06-17 15 9 +554 / -142 107565488+stainless-bot@use... craigie@anthropic.com
_beta_runner.py
in src/anthropic/lib/tools
539 19 2025-09-17 2026-06-18 12 9 +573 / -92 dmeadows@stainless.com dmeadows@anthropic.com
_beta_builtin_memory_tool.py
in src/anthropic/lib/tools
604 29 2026-03-17 2026-03-31 2 2 +646 / -16 92274156+karpetrosyan@users... dmeadows@stainless.com
batches.py
in src/anthropic/resources/messages
356 15 2024-12-17 2025-02-24 2 1 +654 / -0 robert@craigie.dev robert@craigie.dev
_types.py
in src/anthropic
149 11 2023-06-26 2024-10-28 24 4 +431 / -208 jenan@anthropic.com dev+git@stainlessapi.com
_transform.py
in src/anthropic/_utils
259 11 2023-06-26 2026-03-26 15 4 +568 / -31 jenan@anthropic.com dmeadows@stainless.com
foundry.py
in src/anthropic/lib
403 27 2025-11-18 2026-06-17 4 3 +553 / -43 robert@craigie.dev craigie@anthropic.com
_legacy_response.py
in src/anthropic
341 34 2024-01-15 2024-12-13 10 4 +542 / -46 107565488+stainless-bot@use... robert@craigie.dev
message_create_params.py
in src/anthropic/types
54 - 2024-02-12 2025-02-24 14 4 +455 / -118 107565488+stainless-bot@use... robert@craigie.dev
_streaming.py
in src/anthropic
409 29 2023-06-26 2024-05-22 11 4 +517 / -52 jenan@anthropic.com robert@craigie.dev
_utils.py
in src/anthropic/_utils
261 34 2023-06-26 2024-08-06 20 4 +477 / -81 jenan@anthropic.com dev+git@stainlessapi.com
beta.py
in src/anthropic/resources/beta
349 82 2023-12-19 2024-12-17 11 3 +335 / -221 107565488+stainless-bot@use... robert@craigie.dev
_beta_messages.py
in src/anthropic/lib/streaming
412 24 2025-01-13 2026-05-21 10 4 +521 / -17 robert@craigie.dev dmeadows@anthropic.com
mcp.py
in src/anthropic/lib/tools
271 11 2026-02-25 2026-02-25 1 1 +442 / -0 felix@anthropic.com felix@anthropic.com
_client.py
in src/anthropic/lib/aws
369 11 2026-04-01 2026-04-01 1 1 +401 / -0 246350779+cameron-mcateer@u... 246350779+cameron-mcateer@u...
_compat.py
in src/anthropic
152 24 2023-08-16 2024-11-25 12 2 +289 / -78 107565488+stainless-bot@use... dev+git@stainlessapi.com
models.py
in src/anthropic/resources
181 11 2024-12-17 2024-12-17 1 1 +300 / -0 robert@craigie.dev robert@craigie.dev
models.py
in src/anthropic/resources/beta
181 11 2024-12-17 2024-12-17 1 1 +300 / -0 robert@craigie.dev robert@craigie.dev
__init__.py
in src/anthropic/_utils
65 - 2023-06-26 2026-03-23 14 4 +175 / -121 jenan@anthropic.com dmeadows@stainless.com
__init__.py
in src/anthropic/resources/beta
187 - 2023-12-19 2024-12-17 9 3 +135 / -88 107565488+stainless-bot@use... robert@craigie.dev
message_count_tokens_params.py
in src/anthropic/types
21 - 2024-12-17 2025-02-24 2 1 +215 / -4 robert@craigie.dev robert@craigie.dev
_stainless_helpers.py
in src/anthropic/lib
80 7 2026-02-25 2026-06-18 2 2 +178 / -31 felix@anthropic.com dmeadows@anthropic.com
_exceptions.py
in src/anthropic
85 5 2023-06-26 2026-03-19 10 5 +172 / -34 jenan@anthropic.com 92274156+karpetrosyan@users...
message.py
in src/anthropic/types
21 - 2024-02-12 2025-02-24 6 3 +148 / -27 107565488+stainless-bot@use... robert@craigie.dev
ruffen-docs.py
in scripts/utils
135 8 2024-05-01 2024-05-01 1 1 +167 / -0 107565488+stainless-bot@use... 107565488+stainless-bot@use...
__init__.py
in src/anthropic/resources
58 - 2023-06-26 2024-12-17 12 4 +107 / -46 jenan@anthropic.com robert@craigie.dev
_version.py
in src/anthropic
2 - 2023-06-26 2025-06-11 61 5 +78 / -74 jenan@anthropic.com michaelcohen@anthropic.com
_qs.py
in src/anthropic
125 7 2023-06-26 2023-06-26 1 1 +150 / -0 jenan@anthropic.com jenan@anthropic.com
__init__.py
in src/anthropic
136 - 2023-06-26 2026-04-01 19 5 +128 / -18 jenan@anthropic.com 246350779+cameron-mcateer@u...
_files.py
in src/anthropic
107 10 2023-10-24 2024-08-06 3 3 +136 / -8 107565488+stainless-bot@use... dev+git@stainlessapi.com
_typing.py
in src/anthropic/_utils
75 11 2023-12-19 2026-02-25 5 2 +126 / -6 107565488+stainless-bot@use... felix@anthropic.com
_credentials.py
in src/anthropic/lib/aws
76 7 2026-04-01 2026-04-01 1 1 +129 / -0 246350779+cameron-mcateer@u... 246350779+cameron-mcateer@u...
_httpx.py
in src/anthropic/_utils
39 3 2025-06-10 2025-06-11 2 2 +128 / -0 92274156+karpetrosyan@users... michaelcohen@anthropic.com
_proxy.py
in src/anthropic/_utils
45 8 2023-09-14 2024-08-06 8 3 +89 / -27 107565488+stainless-bot@use... dev+git@stainlessapi.com
beta_message.py
in src/anthropic/types/beta
25 - 2024-10-08 2025-02-24 2 1 +112 / -0 robert@craigie.dev robert@craigie.dev
_stream_decoder.py
in src/anthropic/lib/bedrock
61 5 2024-01-31 2026-06-17 5 3 +98 / -14 107565488+stainless-bot@use... qing@anthropic.com
_beta_types.py
in src/anthropic/lib/streaming
67 1 2025-01-13 2026-05-21 5 2 +106 / -3 robert@craigie.dev dmeadows@anthropic.com
Files With Most Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
_base_client.py
in src/anthropic
1947 107 2023-06-26 2026-06-17 56 12 +2861 / -639 jenan@anthropic.com craigie@anthropic.com
_client.py
in src/anthropic/lib/vertex
342 13 2024-01-23 2026-06-17 18 10 +562 / -141 107565488+stainless-bot@use... craigie@anthropic.com
_client.py
in src/anthropic/lib/bedrock
362 13 2024-01-31 2026-06-17 15 9 +554 / -142 107565488+stainless-bot@use... craigie@anthropic.com
_beta_runner.py
in src/anthropic/lib/tools
539 19 2025-09-17 2026-06-18 12 9 +573 / -92 dmeadows@stainless.com dmeadows@anthropic.com
_client.py
in src/anthropic
720 62 2023-06-26 2026-06-17 35 8 +818 / -203 jenan@anthropic.com craigie@anthropic.com
_models.py
in src/anthropic
623 31 2023-06-26 2025-09-17 33 6 +884 / -111 jenan@anthropic.com dmeadows@stainless.com
messages.py
in src/anthropic/resources/beta/messages
1714 36 2024-10-08 2026-06-18 19 6 +2845 / -278 robert@craigie.dev dmeadows@anthropic.com
_version.py
in src/anthropic
2 - 2023-06-26 2025-06-11 61 5 +78 / -74 jenan@anthropic.com michaelcohen@anthropic.com
completions.py
in src/anthropic/resources
277 12 2023-06-26 2024-10-08 29 5 +1545 / -663 jenan@anthropic.com robert@craigie.dev
_messages.py
in src/anthropic/lib/streaming
372 24 2023-12-19 2026-04-29 20 5 +923 / -436 107565488+stainless-bot@use... dmeadows@stainless.com
__init__.py
in src/anthropic
136 - 2023-06-26 2026-04-01 19 5 +128 / -18 jenan@anthropic.com 246350779+cameron-mcateer@u...
_exceptions.py
in src/anthropic
85 5 2023-06-26 2026-03-19 10 5 +172 / -34 jenan@anthropic.com 92274156+karpetrosyan@users...
batch_create_params.py
in src/anthropic/types/beta/messages
14 - 2024-10-08 2026-04-23 7 5 +44 / -6 robert@craigie.dev 246350779+cameron-mcateer@u...
_beta_functions.py
in src/anthropic/lib/tools
427 26 2025-09-17 2026-05-26 6 5 +624 / -247 dmeadows@stainless.com craigie@anthropic.com
_types.py
in src/anthropic
149 11 2023-06-26 2024-10-28 24 4 +431 / -208 jenan@anthropic.com dev+git@stainlessapi.com
_utils.py
in src/anthropic/_utils
261 34 2023-06-26 2024-08-06 20 4 +477 / -81 jenan@anthropic.com dev+git@stainlessapi.com
_response.py
in src/anthropic
492 45 2023-10-27 2025-01-15 15 4 +980 / -127 107565488+stainless-bot@use... robert@craigie.dev
_transform.py
in src/anthropic/_utils
259 11 2023-06-26 2026-03-26 15 4 +568 / -31 jenan@anthropic.com dmeadows@stainless.com
message_create_params.py
in src/anthropic/types
54 - 2024-02-12 2025-02-24 14 4 +455 / -118 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/_utils
65 - 2023-06-26 2026-03-23 14 4 +175 / -121 jenan@anthropic.com dmeadows@stainless.com
completion_create_params.py
in src/anthropic/types
38 - 2023-06-26 2024-10-08 13 4 +425 / -292 jenan@anthropic.com robert@craigie.dev
__init__.py
in src/anthropic/resources
58 - 2023-06-26 2024-12-17 12 4 +107 / -46 jenan@anthropic.com robert@craigie.dev
_streaming.py
in src/anthropic
409 29 2023-06-26 2024-05-22 11 4 +517 / -52 jenan@anthropic.com robert@craigie.dev
_beta_messages.py
in src/anthropic/lib/streaming
412 24 2025-01-13 2026-05-21 10 4 +521 / -17 robert@craigie.dev dmeadows@anthropic.com
_constants.py
in src/anthropic
20 - 2023-06-26 2025-06-11 10 4 +27 / -9 jenan@anthropic.com dmeadows@stainless.com
__init__.py
in src/anthropic/types
273 - 2023-06-26 2025-02-24 10 4 +87 / -1 jenan@anthropic.com robert@craigie.dev
_legacy_response.py
in src/anthropic
341 34 2024-01-15 2024-12-13 10 4 +542 / -46 107565488+stainless-bot@use... robert@craigie.dev
messages.py
in src/anthropic/resources/messages
1011 24 2024-12-17 2026-06-18 9 4 +2641 / -75 robert@craigie.dev dmeadows@anthropic.com
_auth.py
in src/anthropic/lib/bedrock
54 2 2024-01-31 2024-10-28 7 4 +80 / -8 107565488+stainless-bot@use... dev+git@stainlessapi.com
usage.py
in src/anthropic/types
17 - 2024-02-12 2024-12-17 6 4 +23 / -3 107565488+stainless-bot@use... robert@craigie.dev
message_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 4 +55 / -35 107565488+stainless-bot@use... dev+git@stainlessapi.com
beta.py
in src/anthropic/resources/beta
349 82 2023-12-19 2024-12-17 11 3 +335 / -221 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/types/beta
788 - 2023-12-19 2025-02-24 10 3 +73 / -22 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/resources/beta
187 - 2023-12-19 2024-12-17 9 3 +135 / -88 107565488+stainless-bot@use... robert@craigie.dev
_proxy.py
in src/anthropic/_utils
45 8 2023-09-14 2024-08-06 8 3 +89 / -27 107565488+stainless-bot@use... dev+git@stainlessapi.com
batches.py
in src/anthropic/resources/beta/messages
518 15 2024-10-08 2026-03-23 8 3 +826 / -46 robert@craigie.dev dmeadows@stainless.com
content_block.py
in src/anthropic/types
33 - 2024-02-12 2025-02-24 7 3 +28 / -12 107565488+stainless-bot@use... robert@craigie.dev
_resource.py
in src/anthropic
28 3 2023-06-26 2024-03-19 6 3 +54 / -12 jenan@anthropic.com 107565488+stainless-bot@use...
message_param.py
in src/anthropic/types
51 - 2024-02-12 2025-02-24 6 3 +45 / -5 107565488+stainless-bot@use... robert@craigie.dev
message.py
in src/anthropic/types
21 - 2024-02-12 2025-02-24 6 3 +148 / -27 107565488+stainless-bot@use... robert@craigie.dev
message_stream_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 3 +32 / -24 107565488+stainless-bot@use... dev+git@stainlessapi.com
content_block_start_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 3 +24 / -16 107565488+stainless-bot@use... dev+git@stainlessapi.com
_stream_decoder.py
in src/anthropic/lib/bedrock
61 5 2024-01-31 2026-06-17 5 3 +98 / -14 107565488+stainless-bot@use... qing@anthropic.com
message_stop_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +16 / -8 107565488+stainless-bot@use... dev+git@stainlessapi.com
completion.py
in src/anthropic/types
11 - 2023-06-26 2024-03-19 5 3 +46 / -4 jenan@anthropic.com 107565488+stainless-bot@use...
content_block_stop_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +18 / -10 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_delta_usage.py
in src/anthropic/types
12 - 2024-02-12 2024-08-06 5 3 +13 / -3 107565488+stainless-bot@use... dev+git@stainlessapi.com
content_block_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +21 / -13 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_start_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 +19 / -11 107565488+stainless-bot@use... dev+git@stainlessapi.com
foundry.py
in src/anthropic/lib
403 27 2025-11-18 2026-06-17 4 3 +553 / -43 robert@craigie.dev craigie@anthropic.com
Files With Least Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
deployments.py
in src/anthropic/resources/beta
757 17
credentials.py
in src/anthropic/resources/beta/vaults
692 16
sessions.py
in src/anthropic/resources/beta/sessions
678 33
memory_stores.py
in src/anthropic/resources/beta/memory_stores
598 27
memories.py
in src/anthropic/resources/beta/memory_stores
590 14
environments.py
in src/anthropic/resources/beta/environments
580 21
agents.py
in src/anthropic/resources/beta/agents
570 20
vaults.py
in src/anthropic/resources/beta/vaults
555 21
_providers.py
in src/anthropic/lib/credentials
533 32
resources.py
in src/anthropic/resources/beta/sessions
529 14
versions.py
in src/anthropic/resources/beta/skills
493 14
user_profiles.py
in src/anthropic/resources/beta
478 14
skills.py
in src/anthropic/resources/beta/skills
414 19
memory_versions.py
in src/anthropic/resources/beta/memory_stores
366 12
events.py
in src/anthropic/resources/beta/sessions
354 13
threads.py
in src/anthropic/resources/beta/sessions/threads
334 18
__init__.py
in src/anthropic/types/beta/sessions
264 -
events.py
in src/anthropic/resources/beta/sessions/threads
256 11
deployment_runs.py
in src/anthropic/resources/beta
236 11
_workload.py
in src/anthropic/lib/credentials
233 14
_poller.py
in src/anthropic/lib/environments
194 7
_skills.py
in src/anthropic/lib/tools
146 6
versions.py
in src/anthropic/resources/beta/agents
140 10
_constants.py
in src/anthropic/lib/credentials
120 13
_cache.py
in src/anthropic/lib/credentials
107 5
__init__.py
in src/anthropic/types/beta/vaults
94 -
_chain.py
in src/anthropic/lib/credentials
89 2
_request.py
in src/anthropic
84 10
_datetime_parse.py
in src/anthropic/_utils
84 5
beta_managed_agents_stream_session_events.py
in src/anthropic/types/beta/sessions
83 -
beta_managed_agents_stream_session_thread_events.py
in src/anthropic/types/beta/sessions
83 -
beta_managed_agents_session_event.py
in src/anthropic/types/beta/sessions
83 -
_middleware.py
in src/anthropic
75 5
_auth.py
in src/anthropic/lib/credentials
65 7
65 -
parsed_beta_message.py
in src/anthropic/types/beta
64 1
_response.py
in src/anthropic/lib/_parse
61 3
__init__.py
in src/anthropic/resources/beta/sessions
58 -
beta_managed_agents_deployment_run.py
in src/anthropic/types/beta
57 -
56 3
beta_webhook_event_data.py
in src/anthropic/types/beta
55 -
parsed_message.py
in src/anthropic/types
54 1
_path.py
in src/anthropic/_utils
53 5
webhooks.py
in src/anthropic/resources/beta
52 2
__init__.py
in src/anthropic/resources/beta/memory_stores
44 -
__init__.py
in src/anthropic/lib/credentials
38 -
beta_managed_agents_agent.py
in src/anthropic/types/beta
37 -
beta_managed_agents_session_agent.py
in src/anthropic/types/beta
32 -
beta_managed_agents_session_error_event.py
in src/anthropic/types/beta/sessions
32 -
__init__.py
in src/anthropic/lib/environments
31 -
Correlations

File Size vs. Number of Changes: 241 points

src/anthropic/lib/_stainless_helpers.py x: 80 lines of code y: 2 # changes src/anthropic/lib/middleware/_fallbacks.py x: 1029 lines of code y: 1 # changes src/anthropic/lib/_scoped_client.py x: 21 lines of code y: 1 # changes src/anthropic/lib/tools/_beta_runner.py x: 539 lines of code y: 12 # changes src/anthropic/lib/tools/_beta_session_runner.py x: 380 lines of code y: 3 # changes src/anthropic/resources/beta/messages/messages.py x: 1714 lines of code y: 19 # changes src/anthropic/resources/messages/messages.py x: 1011 lines of code y: 9 # changes src/anthropic/_base_client.py x: 1947 lines of code y: 56 # changes src/anthropic/_client.py x: 720 lines of code y: 35 # changes src/anthropic/lib/bedrock/_client.py x: 362 lines of code y: 15 # changes src/anthropic/lib/bedrock/_mantle.py x: 434 lines of code y: 2 # changes src/anthropic/lib/foundry.py x: 403 lines of code y: 4 # changes src/anthropic/lib/vertex/_client.py x: 342 lines of code y: 18 # changes src/anthropic/resources/beta/files.py x: 462 lines of code y: 2 # changes src/anthropic/lib/bedrock/_stream_decoder.py x: 61 lines of code y: 5 # changes src/anthropic/lib/_parse/_transform.py x: 110 lines of code y: 3 # changes src/anthropic/lib/environments/_worker.py x: 213 lines of code y: 1 # changes src/anthropic/lib/tools/agent_toolset.py x: 449 lines of code y: 1 # changes src/anthropic/resources/beta/environments/work.py x: 847 lines of code y: 1 # changes src/anthropic/lib/tools/__init__.py x: 28 lines of code y: 4 # changes src/anthropic/lib/tools/_beta_functions.py x: 427 lines of code y: 6 # changes src/anthropic/lib/streaming/_beta_messages.py x: 412 lines of code y: 10 # changes src/anthropic/lib/streaming/_beta_types.py x: 67 lines of code y: 5 # changes src/anthropic/lib/streaming/_messages.py x: 372 lines of code y: 20 # changes src/anthropic/types/beta/messages/batch_create_params.py x: 14 lines of code y: 7 # changes src/anthropic/lib/tools/_beta_compaction_control.py x: 9 lines of code y: 2 # changes src/anthropic/__init__.py x: 136 lines of code y: 19 # changes src/anthropic/lib/aws/__init__.py x: 1 lines of code y: 1 # changes src/anthropic/lib/aws/_auth.py x: 54 lines of code y: 1 # changes src/anthropic/lib/aws/_client.py x: 369 lines of code y: 1 # changes src/anthropic/lib/aws/_credentials.py x: 76 lines of code y: 1 # changes src/anthropic/lib/tools/_beta_builtin_memory_tool.py x: 604 lines of code y: 2 # changes src/anthropic/_utils/__init__.py x: 65 lines of code y: 14 # changes src/anthropic/_utils/_reflection.py x: 58 lines of code y: 2 # changes src/anthropic/resources/beta/messages/batches.py x: 518 lines of code y: 8 # changes src/anthropic/_exceptions.py x: 85 lines of code y: 10 # changes src/anthropic/_utils/_transform.py x: 259 lines of code y: 15 # changes src/anthropic/tools/memory.py x: 12 lines of code y: 1 # changes src/anthropic/types/beta/beta_tool_param.py x: 24 lines of code y: 4 # changes src/anthropic/types/tool_param.py x: 26 lines of code y: 6 # changes src/anthropic/_utils/_typing.py x: 75 lines of code y: 5 # changes src/anthropic/lib/tools/mcp.py x: 271 lines of code y: 1 # changes src/anthropic/types/messages/batch_create_params.py x: 10 lines of code y: 4 # changes src/anthropic/lib/_files.py x: 27 lines of code y: 1 # changes src/anthropic/_models.py x: 623 lines of code y: 33 # changes src/anthropic/types/beta/beta_content_block_param.py x: 52 lines of code y: 3 # changes src/anthropic/lib/vertex/_beta_messages.py x: 51 lines of code y: 2 # changes src/anthropic/_constants.py x: 20 lines of code y: 10 # changes src/anthropic/_utils/_httpx.py x: 39 lines of code y: 2 # changes src/anthropic/_version.py x: 2 lines of code y: 61 # changes src/anthropic/lib/streaming/_types.py x: 86 lines of code y: 5 # changes src/anthropic/resources/messages/batches.py x: 356 lines of code y: 2 # changes src/anthropic/types/__init__.py x: 273 lines of code y: 10 # changes src/anthropic/types/anthropic_beta_param.py x: 37 lines of code y: 4 # changes src/anthropic/types/beta/__init__.py x: 788 lines of code y: 10 # changes src/anthropic/types/beta/beta_content_block.py x: 43 lines of code y: 2 # changes src/anthropic/types/beta/beta_message.py x: 25 lines of code y: 2 # changes src/anthropic/types/beta/beta_raw_content_block_delta_event.py x: 8 lines of code y: 3 # changes src/anthropic/types/beta/beta_raw_content_block_start_event.py x: 48 lines of code y: 2 # changes src/anthropic/types/beta/beta_raw_message_delta_event.py x: 19 lines of code y: 2 # changes src/anthropic/types/beta/beta_redacted_thinking_block.py x: 6 lines of code y: 1 # changes src/anthropic/types/beta/beta_thinking_config_enabled_param.py x: 8 lines of code y: 1 # changes src/anthropic/types/beta/beta_tool_bash_20250124_param.py x: 15 lines of code y: 1 # changes src/anthropic/types/beta/beta_tool_union_param.py x: 54 lines of code y: 2 # changes src/anthropic/types/beta/message_count_tokens_params.py x: 80 lines of code y: 1 # changes src/anthropic/types/beta/message_create_params.py x: 67 lines of code y: 8 # changes src/anthropic/types/content_block.py x: 33 lines of code y: 7 # changes src/anthropic/types/message.py x: 21 lines of code y: 6 # changes src/anthropic/types/message_count_tokens_tool_param.py x: 40 lines of code y: 1 # changes src/anthropic/types/message_create_params.py x: 54 lines of code y: 14 # changes src/anthropic/types/message_param.py x: 51 lines of code y: 6 # changes src/anthropic/types/model.py x: 23 lines of code y: 3 # changes src/anthropic/types/raw_content_block_start_event.py x: 38 lines of code y: 2 # changes src/anthropic/types/raw_message_delta_event.py x: 17 lines of code y: 2 # changes src/anthropic/_response.py x: 492 lines of code y: 15 # changes src/anthropic/resources/__init__.py x: 58 lines of code y: 12 # changes src/anthropic/resources/beta/__init__.py x: 187 lines of code y: 9 # changes src/anthropic/resources/beta/beta.py x: 349 lines of code y: 11 # changes src/anthropic/resources/beta/models.py x: 181 lines of code y: 1 # changes src/anthropic/resources/messages/__init__.py x: 32 lines of code y: 1 # changes src/anthropic/types/beta/messages/batch_list_params.py x: 11 lines of code y: 2 # changes src/anthropic/types/image_block_param.py x: 12 lines of code y: 4 # changes src/anthropic/types/usage.py x: 17 lines of code y: 6 # changes src/anthropic/_legacy_response.py x: 341 lines of code y: 10 # changes src/anthropic/_compat.py x: 152 lines of code y: 12 # changes src/anthropic/_types.py x: 149 lines of code y: 24 # changes src/anthropic/lib/bedrock/_auth.py x: 54 lines of code y: 7 # changes src/anthropic/lib/bedrock/_beta_messages.py x: 47 lines of code y: 1 # changes src/anthropic/types/beta/messages/beta_message_batch_individual_response.py x: 6 lines of code y: 2 # changes src/anthropic/pagination.py x: 135 lines of code y: 3 # changes src/anthropic/resources/beta/messages/__init__.py x: 30 lines of code y: 1 # changes src/anthropic/types/beta/beta_tool_result_block_param.py x: 23 lines of code y: 1 # changes src/anthropic/resources/completions.py x: 277 lines of code y: 29 # changes src/anthropic/types/completion_create_params.py x: 38 lines of code y: 13 # changes src/anthropic/_files.py x: 107 lines of code y: 3 # changes src/anthropic/_utils/_proxy.py x: 45 lines of code y: 8 # changes src/anthropic/_utils/_utils.py x: 261 lines of code y: 20 # changes src/anthropic/types/content_block_delta_event.py x: 3 lines of code y: 5 # changes src/anthropic/types/content_block_start_event.py x: 3 lines of code y: 6 # changes src/anthropic/types/input_json_delta.py x: 7 lines of code y: 3 # changes src/anthropic/types/message_delta_usage.py x: 12 lines of code y: 5 # changes src/anthropic/_streaming.py x: 409 lines of code y: 11 # changes scripts/utils/ruffen-docs.py x: 135 lines of code y: 1 # changes src/anthropic/lib/bedrock/_stream.py x: 27 lines of code y: 3 # changes src/anthropic/_qs.py x: 125 lines of code y: 1 # changes
61.0
# changes
  min: 1.0
  average: 4.02
  25th percentile: 1.0
  median: 1.0
  75th percentile: 4.0
  max: 61.0
0 1947.0
lines of code
min: 1.0 | average: 97.73 | 25th percentile: 6.0 | median: 15.0 | 75th percentile: 54.0 | max: 1947.0

Number of Contributors vs. Number of Changes: 241 points

src/anthropic/lib/_stainless_helpers.py x: 2 # contributors y: 2 # changes src/anthropic/lib/middleware/_fallbacks.py x: 1 # contributors y: 1 # changes src/anthropic/lib/tools/_beta_runner.py x: 9 # contributors y: 12 # changes src/anthropic/lib/tools/_beta_session_runner.py x: 3 # contributors y: 3 # changes src/anthropic/resources/beta/messages/messages.py x: 6 # contributors y: 19 # changes src/anthropic/resources/messages/messages.py x: 4 # contributors y: 9 # changes src/anthropic/_base_client.py x: 12 # contributors y: 56 # changes src/anthropic/_client.py x: 8 # contributors y: 35 # changes src/anthropic/lib/bedrock/_client.py x: 9 # contributors y: 15 # changes src/anthropic/lib/foundry.py x: 3 # contributors y: 4 # changes src/anthropic/lib/vertex/_client.py x: 10 # contributors y: 18 # changes src/anthropic/lib/bedrock/_stream_decoder.py x: 3 # contributors y: 5 # changes src/anthropic/lib/tools/_beta_functions.py x: 5 # contributors y: 6 # changes src/anthropic/lib/streaming/_beta_messages.py x: 4 # contributors y: 10 # changes src/anthropic/lib/streaming/_beta_types.py x: 2 # contributors y: 5 # changes src/anthropic/lib/streaming/_messages.py x: 5 # contributors y: 20 # changes src/anthropic/types/beta/messages/batch_create_params.py x: 5 # contributors y: 7 # changes src/anthropic/__init__.py x: 5 # contributors y: 19 # changes src/anthropic/_utils/__init__.py x: 4 # contributors y: 14 # changes src/anthropic/resources/beta/messages/batches.py x: 3 # contributors y: 8 # changes src/anthropic/_exceptions.py x: 5 # contributors y: 10 # changes src/anthropic/_utils/_transform.py x: 4 # contributors y: 15 # changes src/anthropic/types/beta/beta_tool_param.py x: 2 # contributors y: 4 # changes src/anthropic/types/tool_param.py x: 2 # contributors y: 6 # changes src/anthropic/_models.py x: 6 # contributors y: 33 # changes src/anthropic/types/beta/beta_content_block_param.py x: 1 # contributors y: 3 # changes src/anthropic/lib/vertex/_beta_messages.py x: 1 # contributors y: 2 # changes src/anthropic/_version.py x: 5 # contributors y: 61 # changes src/anthropic/lib/streaming/_types.py x: 1 # contributors y: 5 # changes src/anthropic/types/anthropic_beta_param.py x: 1 # contributors y: 4 # changes src/anthropic/types/beta/__init__.py x: 3 # contributors y: 10 # changes src/anthropic/types/beta/message_create_params.py x: 2 # contributors y: 8 # changes src/anthropic/types/content_block.py x: 3 # contributors y: 7 # changes src/anthropic/types/message.py x: 3 # contributors y: 6 # changes src/anthropic/types/model.py x: 2 # contributors y: 3 # changes src/anthropic/lib/streaming/__init__.py x: 2 # contributors y: 7 # changes src/anthropic/resources/__init__.py x: 4 # contributors y: 12 # changes src/anthropic/resources/beta/__init__.py x: 3 # contributors y: 9 # changes src/anthropic/resources/beta/beta.py x: 3 # contributors y: 11 # changes src/anthropic/types/usage.py x: 4 # contributors y: 6 # changes src/anthropic/_compat.py x: 2 # contributors y: 12 # changes src/anthropic/_types.py x: 4 # contributors y: 24 # changes src/anthropic/lib/bedrock/_auth.py x: 4 # contributors y: 7 # changes src/anthropic/resources/completions.py x: 5 # contributors y: 29 # changes src/anthropic/types/completion_create_params.py x: 4 # contributors y: 13 # changes src/anthropic/_utils/_utils.py x: 4 # contributors y: 20 # changes src/anthropic/_streaming.py x: 4 # contributors y: 11 # changes
61.0
# changes
  min: 1.0
  average: 4.02
  25th percentile: 1.0
  median: 1.0
  75th percentile: 4.0
  max: 61.0
0 12.0
# contributors
min: 1.0 | average: 1.86 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 12.0

Number of Contributors vs. File Size: 241 points

src/anthropic/lib/_stainless_helpers.py x: 2 # contributors y: 80 lines of code src/anthropic/lib/middleware/_fallbacks.py x: 1 # contributors y: 1029 lines of code src/anthropic/lib/_scoped_client.py x: 1 # contributors y: 21 lines of code src/anthropic/lib/tools/_beta_runner.py x: 9 # contributors y: 539 lines of code src/anthropic/lib/tools/_beta_session_runner.py x: 3 # contributors y: 380 lines of code src/anthropic/resources/beta/messages/messages.py x: 6 # contributors y: 1714 lines of code src/anthropic/resources/messages/messages.py x: 4 # contributors y: 1011 lines of code src/anthropic/_base_client.py x: 12 # contributors y: 1947 lines of code src/anthropic/_client.py x: 8 # contributors y: 720 lines of code src/anthropic/lib/bedrock/_client.py x: 9 # contributors y: 362 lines of code src/anthropic/lib/bedrock/_mantle.py x: 2 # contributors y: 434 lines of code src/anthropic/lib/foundry.py x: 3 # contributors y: 403 lines of code src/anthropic/lib/vertex/_client.py x: 10 # contributors y: 342 lines of code src/anthropic/resources/beta/files.py x: 2 # contributors y: 462 lines of code src/anthropic/lib/bedrock/_stream_decoder.py x: 3 # contributors y: 61 lines of code src/anthropic/lib/_parse/_transform.py x: 3 # contributors y: 110 lines of code src/anthropic/lib/environments/_worker.py x: 1 # contributors y: 213 lines of code src/anthropic/lib/tools/agent_toolset.py x: 1 # contributors y: 449 lines of code src/anthropic/resources/beta/environments/work.py x: 1 # contributors y: 847 lines of code src/anthropic/lib/tools/__init__.py x: 3 # contributors y: 28 lines of code src/anthropic/lib/tools/_beta_functions.py x: 5 # contributors y: 427 lines of code src/anthropic/lib/streaming/_beta_messages.py x: 4 # contributors y: 412 lines of code src/anthropic/lib/streaming/_beta_types.py x: 2 # contributors y: 67 lines of code src/anthropic/lib/streaming/_messages.py x: 5 # contributors y: 372 lines of code src/anthropic/types/beta/messages/batch_create_params.py x: 5 # contributors y: 14 lines of code src/anthropic/lib/tools/_beta_compaction_control.py x: 2 # contributors y: 9 lines of code src/anthropic/__init__.py x: 5 # contributors y: 136 lines of code src/anthropic/lib/aws/__init__.py x: 1 # contributors y: 1 lines of code src/anthropic/lib/aws/_auth.py x: 1 # contributors y: 54 lines of code src/anthropic/lib/aws/_client.py x: 1 # contributors y: 369 lines of code src/anthropic/lib/aws/_credentials.py x: 1 # contributors y: 76 lines of code src/anthropic/lib/tools/_beta_builtin_memory_tool.py x: 2 # contributors y: 604 lines of code src/anthropic/_utils/__init__.py x: 4 # contributors y: 65 lines of code src/anthropic/_utils/_reflection.py x: 2 # contributors y: 58 lines of code src/anthropic/resources/beta/messages/batches.py x: 3 # contributors y: 518 lines of code src/anthropic/_exceptions.py x: 5 # contributors y: 85 lines of code src/anthropic/_utils/_transform.py x: 4 # contributors y: 259 lines of code src/anthropic/tools/memory.py x: 1 # contributors y: 12 lines of code src/anthropic/types/beta/beta_tool_param.py x: 2 # contributors y: 24 lines of code src/anthropic/_utils/_typing.py x: 2 # contributors y: 75 lines of code src/anthropic/lib/tools/mcp.py x: 1 # contributors y: 271 lines of code src/anthropic/types/messages/batch_create_params.py x: 3 # contributors y: 10 lines of code src/anthropic/lib/_files.py x: 1 # contributors y: 27 lines of code src/anthropic/_models.py x: 6 # contributors y: 623 lines of code src/anthropic/types/beta/beta_content_block_param.py x: 1 # contributors y: 52 lines of code src/anthropic/_constants.py x: 4 # contributors y: 20 lines of code src/anthropic/_utils/_httpx.py x: 2 # contributors y: 39 lines of code src/anthropic/_version.py x: 5 # contributors y: 2 lines of code src/anthropic/lib/streaming/_types.py x: 1 # contributors y: 86 lines of code src/anthropic/resources/messages/batches.py x: 1 # contributors y: 356 lines of code src/anthropic/types/__init__.py x: 4 # contributors y: 273 lines of code src/anthropic/types/anthropic_beta_param.py x: 1 # contributors y: 37 lines of code src/anthropic/types/beta/__init__.py x: 3 # contributors y: 788 lines of code src/anthropic/types/beta/beta_content_block.py x: 1 # contributors y: 43 lines of code src/anthropic/types/beta/message_count_tokens_params.py x: 1 # contributors y: 80 lines of code src/anthropic/types/content_block.py x: 3 # contributors y: 33 lines of code src/anthropic/types/message.py x: 3 # contributors y: 21 lines of code src/anthropic/types/message_create_params.py x: 4 # contributors y: 54 lines of code src/anthropic/types/message_param.py x: 3 # contributors y: 51 lines of code src/anthropic/types/raw_content_block_start_event.py x: 2 # contributors y: 38 lines of code src/anthropic/types/raw_message_delta_event.py x: 2 # contributors y: 17 lines of code src/anthropic/_response.py x: 4 # contributors y: 492 lines of code src/anthropic/resources/beta/__init__.py x: 3 # contributors y: 187 lines of code src/anthropic/resources/beta/beta.py x: 3 # contributors y: 349 lines of code src/anthropic/resources/beta/models.py x: 1 # contributors y: 181 lines of code src/anthropic/_legacy_response.py x: 4 # contributors y: 341 lines of code src/anthropic/_compat.py x: 2 # contributors y: 152 lines of code src/anthropic/_types.py x: 4 # contributors y: 149 lines of code src/anthropic/pagination.py x: 3 # contributors y: 135 lines of code src/anthropic/resources/completions.py x: 5 # contributors y: 277 lines of code src/anthropic/types/completion_create_params.py x: 4 # contributors y: 38 lines of code src/anthropic/_files.py x: 3 # contributors y: 107 lines of code src/anthropic/_utils/_proxy.py x: 3 # contributors y: 45 lines of code src/anthropic/_utils/_utils.py x: 4 # contributors y: 261 lines of code src/anthropic/types/content_block_delta_event.py x: 3 # contributors y: 3 lines of code src/anthropic/types/message_delta_event.py x: 4 # contributors y: 3 lines of code scripts/utils/ruffen-docs.py x: 1 # contributors y: 135 lines of code src/anthropic/_qs.py x: 1 # contributors y: 125 lines of code
1947.0
lines of code
  min: 1.0
  average: 97.73
  25th percentile: 6.0
  median: 15.0
  75th percentile: 54.0
  max: 1947.0
0 12.0
# contributors
min: 1.0 | average: 1.86 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 12.0

Number of Changes vs. Line Churn: 487 points

src/anthropic/lib/_stainless_helpers.py x: 2 # changes y: 209 line churn src/anthropic/lib/middleware/_fallbacks.py x: 1 # changes y: 24 line churn tests/lib/test_refusal_fallback.py x: 1 # changes y: 58 line churn tests/lib/test_stainless_helpers.py x: 1 # changes y: 138 line churn src/anthropic/lib/_scoped_client.py x: 1 # changes y: 16 line churn src/anthropic/lib/tools/_beta_runner.py x: 12 # changes y: 665 line churn src/anthropic/lib/tools/_beta_session_runner.py x: 3 # changes y: 77 line churn src/anthropic/resources/beta/messages/messages.py x: 19 # changes y: 3123 line churn src/anthropic/resources/messages/messages.py x: 9 # changes y: 2716 line churn src/anthropic/_base_client.py x: 56 # changes y: 3500 line churn src/anthropic/_client.py x: 35 # changes y: 1021 line churn src/anthropic/lib/bedrock/_client.py x: 15 # changes y: 696 line churn src/anthropic/lib/bedrock/_mantle.py x: 2 # changes y: 9 line churn src/anthropic/lib/foundry.py x: 4 # changes y: 596 line churn src/anthropic/lib/vertex/_client.py x: 18 # changes y: 703 line churn tests/lib/test_azure.py x: 4 # changes y: 239 line churn tests/lib/test_bedrock.py x: 7 # changes y: 329 line churn tests/lib/test_bedrock_mantle.py x: 2 # changes y: 24 line churn tests/lib/test_vertex.py x: 9 # changes y: 342 line churn tests/test_client.py x: 43 # changes y: 3018 line churn src/anthropic/lib/bedrock/_stream_decoder.py x: 5 # changes y: 112 line churn SECURITY.md x: 2 # changes y: 53 line churn src/anthropic/lib/_parse/_transform.py x: 3 # changes y: 19 line churn .github/workflows/create-releases.yml x: 13 # changes y: 107 line churn CHANGELOG.md x: 61 # changes y: 1105 line churn .github/workflows/ci.yml x: 12 # changes y: 150 line churn src/anthropic/lib/tools/__init__.py x: 4 # changes y: 30 line churn src/anthropic/lib/tools/_beta_functions.py x: 6 # changes y: 871 line churn tests/lib/tools/test_functions.py x: 3 # changes y: 593 line churn examples/managed-agents-private-sandbox-worker.py x: 1 # changes y: 172 line churn helpers.md x: 10 # changes y: 343 line churn src/anthropic/lib/streaming/_beta_messages.py x: 10 # changes y: 538 line churn src/anthropic/lib/streaming/_beta_types.py x: 5 # changes y: 109 line churn tests/lib/streaming/test_beta_messages.py x: 9 # changes y: 1056 line churn tests/lib/tools/test_session_runner.py x: 1 # changes y: 115 line churn examples/bedrock.py x: 4 # changes y: 98 line churn examples/text_completions_demo_async.py x: 3 # changes y: 44 line churn examples/text_completions_demo_sync.py x: 3 # changes y: 40 line churn examples/text_completions_streaming.py x: 3 # changes y: 120 line churn src/anthropic/lib/streaming/_messages.py x: 20 # changes y: 1359 line churn tests/lib/streaming/test_messages.py x: 19 # changes y: 847 line churn src/anthropic/types/beta/messages/batch_create_params.py x: 7 # changes y: 50 line churn .stats.yml x: 16 # changes y: 40 line churn examples/auto_compaction.py x: 1 # changes y: 77 line churn tests/lib/tools/test_runners.py x: 7 # changes y: 1095 line churn uv.lock x: 8 # changes y: 1652 line churn pyproject.toml x: 106 # changes y: 727 line churn src/anthropic/__init__.py x: 19 # changes y: 146 line churn src/anthropic/lib/aws/_client.py x: 1 # changes y: 401 line churn tests/lib/test_aws.py x: 1 # changes y: 372 line churn tests/lib/test_aws_auth.py x: 1 # changes y: 603 line churn src/anthropic/lib/tools/_beta_builtin_memory_tool.py x: 2 # changes y: 662 line churn tests/lib/tools/memory_tools/test_filesystem.py x: 2 # changes y: 1030 line churn src/anthropic/_utils/__init__.py x: 14 # changes y: 296 line churn src/anthropic/resources/beta/messages/batches.py x: 8 # changes y: 872 line churn src/anthropic/_exceptions.py x: 10 # changes y: 206 line churn tests/test_streaming.py x: 4 # changes y: 428 line churn src/anthropic/_utils/_transform.py x: 15 # changes y: 599 line churn examples/memory/basic.py x: 2 # changes y: 189 line churn tests/api_resources/beta/messages/test_batches.py x: 6 # changes y: 1896 line churn tests/api_resources/messages/test_batches.py x: 3 # changes y: 489 line churn src/anthropic/types/beta/beta_tool_param.py x: 4 # changes y: 54 line churn src/anthropic/types/tool_param.py x: 6 # changes y: 52 line churn tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools/092be1de-d3f8-4c22-a4ea-a7ad54689836.json x: 1 # changes y: 317 line churn scripts/test x: 5 # changes y: 73 line churn src/anthropic/_utils/_typing.py x: 5 # changes y: 132 line churn src/anthropic/lib/tools/mcp.py x: 1 # changes y: 442 line churn tools.md x: 2 # changes y: 102 line churn CONTRIBUTING.md x: 11 # changes y: 184 line churn README.md x: 64 # changes y: 2281 line churn tests/conftest.py x: 6 # changes y: 121 line churn tests/lib/_parse/__inline_snapshot__/test_beta_messages/TestAsyncMessages/d7092a7d-b723-4470-8fb0-da138cd103a1.json x: 1 # changes y: 103 line churn tests/lib/_parse/__inline_snapshot__/test_messages/TestAsyncParse/d743d628-16aa-4c9f-ae78-51deb578f746.json x: 1 # changes y: 354 line churn tests/lib/_parse/__inline_snapshot__/test_messages/TestAsyncStream/a8b7dbb8-2321-4624-abdb-7ba2136b5c38.json x: 1 # changes y: 210 line churn tests/lib/_parse/test_beta_messages.py x: 2 # changes y: 84 line churn tests/lib/snapshots.py x: 3 # changes y: 518 line churn tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools/10e53c1d-51be-4c64-b5bf-99adb3fa4719.json x: 1 # changes y: 250 line churn tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools/956fa2fe-8752-4f7c-8f9a-33735e62b898.json x: 1 # changes y: 187 line churn tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools/e075a6c2-de4d-4125-9709-f0e178058190.json x: 1 # changes y: 269 line churn .github/workflows/claude-code-review.yml x: 2 # changes y: 114 line churn requirements-dev.lock x: 29 # changes y: 476 line churn src/anthropic/_models.py x: 33 # changes y: 995 line churn examples/tools_stream.py x: 4 # changes y: 68 line churn examples/vertex.py x: 5 # changes y: 63 line churn tests/lib/streaming/test_partial_json.py x: 3 # changes y: 139 line churn api.md x: 19 # changes y: 436 line churn src/anthropic/_constants.py x: 10 # changes y: 36 line churn .release-please-manifest.json x: 58 # changes y: 143 line churn src/anthropic/_version.py x: 61 # changes y: 152 line churn .github/workflows/publish-pypi.yml x: 11 # changes y: 62 line churn .github/workflows/release-doctor.yml x: 6 # changes y: 32 line churn requirements.lock x: 15 # changes y: 299 line churn src/anthropic/resources/messages/batches.py x: 2 # changes y: 654 line churn src/anthropic/types/__init__.py x: 10 # changes y: 88 line churn src/anthropic/types/beta/message_create_params.py x: 8 # changes y: 698 line churn src/anthropic/types/content_block.py x: 7 # changes y: 40 line churn src/anthropic/types/message.py x: 6 # changes y: 175 line churn src/anthropic/types/message_count_tokens_params.py x: 2 # changes y: 219 line churn src/anthropic/types/message_create_params.py x: 14 # changes y: 573 line churn tests/api_resources/beta/test_messages.py x: 8 # changes y: 1832 line churn tests/api_resources/test_completions.py x: 14 # changes y: 416 line churn tests/api_resources/test_messages.py x: 11 # changes y: 1274 line churn src/anthropic/_response.py x: 15 # changes y: 1107 line churn src/anthropic/lib/streaming/_prompt_caching_beta_messages.py x: 2 # changes y: 846 line churn src/anthropic/resources/__init__.py x: 12 # changes y: 153 line churn src/anthropic/resources/beta/__init__.py x: 9 # changes y: 223 line churn src/anthropic/resources/beta/beta.py x: 11 # changes y: 556 line churn src/anthropic/resources/beta/models.py x: 1 # changes y: 300 line churn src/anthropic/resources/beta/prompt_caching/messages.py x: 9 # changes y: 3978 line churn src/anthropic/resources/messages.py x: 23 # changes y: 5541 line churn src/anthropic/types/beta/prompt_caching/message_create_params.py x: 6 # changes y: 699 line churn tests/api_resources/beta/prompt_caching/test_messages.py x: 4 # changes y: 1184 line churn src/anthropic/_legacy_response.py x: 10 # changes y: 588 line churn src/anthropic/_compat.py x: 12 # changes y: 367 line churn tests/test_response.py x: 5 # changes y: 249 line churn src/anthropic/_tokenizers.py x: 6 # changes y: 132 line churn tests/test_tokenizer.py x: 4 # changes y: 176 line churn src/anthropic/_types.py x: 24 # changes y: 639 line churn src/anthropic/lib/bedrock/_auth.py x: 7 # changes y: 88 line churn src/anthropic/resources/completions.py x: 29 # changes y: 2208 line churn src/anthropic/types/completion_create_params.py x: 13 # changes y: 717 line churn tests/api_resources/beta/__init__.py x: 5 # changes y: 5 line churn src/anthropic/_utils/_proxy.py x: 8 # changes y: 116 line churn src/anthropic/_utils/_utils.py x: 20 # changes y: 558 line churn src/anthropic/types/content_block_delta_event.py x: 5 # changes y: 34 line churn src/anthropic/types/message_delta_event.py x: 6 # changes y: 90 line churn src/anthropic/lib/streaming/beta/_tools.py x: 5 # changes y: 1414 line churn src/anthropic/resources/beta/tools/messages.py x: 7 # changes y: 4286 line churn src/anthropic/resources/beta/tools/tools.py x: 2 # changes y: 160 line churn src/anthropic/types/beta/tools/message_create_params.py x: 3 # changes y: 648 line churn tests/api_resources/beta/tools/test_messages.py x: 5 # changes y: 1072 line churn examples/messages_stream_handler.py x: 6 # changes y: 78 line churn .devcontainer/Dockerfile x: 7 # changes y: 67 line churn src/anthropic/_streaming.py x: 11 # changes y: 569 line churn tests/test_models.py x: 11 # changes y: 875 line churn tests/test_transform.py x: 7 # changes y: 825 line churn .gitignore x: 8 # changes y: 25 line churn bin/check-test-server x: 3 # changes y: 104 line churn bin/ruffen-docs.py x: 2 # changes y: 334 line churn tests/utils.py x: 8 # changes y: 187 line churn tests/api_resources/test_top_level.py x: 8 # changes y: 108 line churn src/anthropic/resources/beta/messages.py x: 9 # changes y: 2934 line churn bin/blacken-docs.py x: 2 # changes y: 502 line churn poetry.lock x: 13 # changes y: 3558 line churn src/anthropic/_base_exceptions.py x: 2 # changes y: 242 line churn anthropic/api.py x: 9 # changes y: 578 line churn anthropic/tokenizer.py x: 4 # changes y: 120 line churn
5541.0
line churn
  min: 1.0
  average: 217.06
  25th percentile: 16.0
  median: 40.0
  75th percentile: 130.0
  max: 5541.0
0 106.0
# changes
min: 1.0 | average: 4.36 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 106.0

Number of Contributors vs. Line Churn: 240 points

src/anthropic/lib/_stainless_helpers.py x: 2 # contributors y: 209 line churn src/anthropic/lib/middleware/_fallbacks.py x: 1 # contributors y: 24 line churn src/anthropic/lib/tools/_beta_runner.py x: 9 # contributors y: 665 line churn src/anthropic/lib/tools/_beta_session_runner.py x: 3 # contributors y: 77 line churn src/anthropic/resources/beta/messages/messages.py x: 6 # contributors y: 3123 line churn src/anthropic/resources/messages/messages.py x: 4 # contributors y: 2716 line churn src/anthropic/_base_client.py x: 12 # contributors y: 3500 line churn src/anthropic/_client.py x: 8 # contributors y: 1021 line churn src/anthropic/lib/bedrock/_client.py x: 9 # contributors y: 696 line churn src/anthropic/lib/bedrock/_mantle.py x: 2 # contributors y: 9 line churn src/anthropic/lib/foundry.py x: 3 # contributors y: 596 line churn src/anthropic/lib/vertex/_client.py x: 10 # contributors y: 703 line churn src/anthropic/lib/bedrock/_stream_decoder.py x: 3 # contributors y: 112 line churn src/anthropic/lib/_parse/_transform.py x: 3 # contributors y: 19 line churn src/anthropic/lib/environments/_worker.py x: 1 # contributors y: 5 line churn src/anthropic/lib/tools/agent_toolset.py x: 1 # contributors y: 34 line churn src/anthropic/lib/tools/__init__.py x: 3 # contributors y: 30 line churn src/anthropic/lib/tools/_beta_functions.py x: 5 # contributors y: 871 line churn src/anthropic/lib/streaming/_beta_messages.py x: 4 # contributors y: 538 line churn src/anthropic/lib/streaming/_beta_types.py x: 2 # contributors y: 109 line churn src/anthropic/lib/streaming/_messages.py x: 5 # contributors y: 1359 line churn src/anthropic/types/beta/messages/batch_create_params.py x: 5 # contributors y: 50 line churn src/anthropic/__init__.py x: 5 # contributors y: 146 line churn src/anthropic/lib/aws/_auth.py x: 1 # contributors y: 72 line churn src/anthropic/lib/aws/_client.py x: 1 # contributors y: 401 line churn src/anthropic/lib/aws/_credentials.py x: 1 # contributors y: 129 line churn src/anthropic/lib/tools/_beta_builtin_memory_tool.py x: 2 # contributors y: 662 line churn src/anthropic/_utils/__init__.py x: 4 # contributors y: 296 line churn src/anthropic/_utils/_reflection.py x: 2 # contributors y: 40 line churn src/anthropic/resources/beta/messages/batches.py x: 3 # contributors y: 872 line churn src/anthropic/_exceptions.py x: 5 # contributors y: 206 line churn src/anthropic/_utils/_transform.py x: 4 # contributors y: 599 line churn src/anthropic/types/beta/beta_tool_param.py x: 2 # contributors y: 54 line churn src/anthropic/_utils/_typing.py x: 2 # contributors y: 132 line churn src/anthropic/lib/tools/mcp.py x: 1 # contributors y: 442 line churn src/anthropic/_models.py x: 6 # contributors y: 995 line churn src/anthropic/lib/vertex/_beta_messages.py x: 1 # contributors y: 97 line churn src/anthropic/_constants.py x: 4 # contributors y: 36 line churn src/anthropic/_version.py x: 5 # contributors y: 152 line churn src/anthropic/resources/messages/batches.py x: 1 # contributors y: 654 line churn src/anthropic/types/__init__.py x: 4 # contributors y: 88 line churn src/anthropic/types/beta/__init__.py x: 3 # contributors y: 95 line churn src/anthropic/types/beta/beta_message.py x: 1 # contributors y: 112 line churn src/anthropic/types/beta/message_create_params.py x: 2 # contributors y: 698 line churn src/anthropic/types/message.py x: 3 # contributors y: 175 line churn src/anthropic/types/message_count_tokens_params.py x: 1 # contributors y: 219 line churn src/anthropic/types/message_create_params.py x: 4 # contributors y: 573 line churn src/anthropic/types/message_param.py x: 3 # contributors y: 50 line churn src/anthropic/_response.py x: 4 # contributors y: 1107 line churn src/anthropic/resources/__init__.py x: 4 # contributors y: 153 line churn src/anthropic/resources/beta/__init__.py x: 3 # contributors y: 223 line churn src/anthropic/resources/beta/beta.py x: 3 # contributors y: 556 line churn src/anthropic/resources/beta/models.py x: 1 # contributors y: 300 line churn src/anthropic/types/image_block_param.py x: 3 # contributors y: 61 line churn src/anthropic/types/text_block_param.py x: 2 # contributors y: 22 line churn src/anthropic/types/usage.py x: 4 # contributors y: 26 line churn src/anthropic/_legacy_response.py x: 4 # contributors y: 588 line churn src/anthropic/_compat.py x: 2 # contributors y: 367 line churn src/anthropic/_types.py x: 4 # contributors y: 639 line churn src/anthropic/lib/bedrock/_beta_messages.py x: 1 # contributors y: 93 line churn src/anthropic/resources/completions.py x: 5 # contributors y: 2208 line churn src/anthropic/types/completion_create_params.py x: 4 # contributors y: 717 line churn src/anthropic/_files.py x: 3 # contributors y: 144 line churn src/anthropic/_utils/_utils.py x: 4 # contributors y: 558 line churn scripts/utils/ruffen-docs.py x: 1 # contributors y: 167 line churn src/anthropic/lib/bedrock/_stream.py x: 2 # contributors y: 93 line churn src/anthropic/_utils/_sync.py x: 1 # contributors y: 64 line churn src/anthropic/_qs.py x: 1 # contributors y: 150 line churn
3500.0
line churn
  min: 1.0
  average: 157.45
  25th percentile: 13.0
  median: 24.5
  75th percentile: 88.75
  max: 3500.0
0 12.0
# contributors
min: 1.0 | average: 1.87 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 12.0

File Size vs. Line Churn: 240 points

src/anthropic/lib/_stainless_helpers.py x: 80 lines of code y: 209 line churn src/anthropic/lib/middleware/_fallbacks.py x: 1029 lines of code y: 24 line churn src/anthropic/lib/_scoped_client.py x: 21 lines of code y: 16 line churn src/anthropic/lib/tools/_beta_runner.py x: 539 lines of code y: 665 line churn src/anthropic/lib/tools/_beta_session_runner.py x: 380 lines of code y: 77 line churn src/anthropic/resources/beta/messages/messages.py x: 1714 lines of code y: 3123 line churn src/anthropic/resources/messages/messages.py x: 1011 lines of code y: 2716 line churn src/anthropic/_base_client.py x: 1947 lines of code y: 3500 line churn src/anthropic/_client.py x: 720 lines of code y: 1021 line churn src/anthropic/lib/bedrock/_client.py x: 362 lines of code y: 696 line churn src/anthropic/lib/bedrock/_mantle.py x: 434 lines of code y: 9 line churn src/anthropic/lib/foundry.py x: 403 lines of code y: 596 line churn src/anthropic/lib/vertex/_client.py x: 342 lines of code y: 703 line churn src/anthropic/resources/beta/files.py x: 462 lines of code y: 13 line churn src/anthropic/lib/bedrock/_stream_decoder.py x: 61 lines of code y: 112 line churn src/anthropic/lib/_parse/_transform.py x: 110 lines of code y: 19 line churn src/anthropic/lib/environments/_worker.py x: 213 lines of code y: 5 line churn src/anthropic/lib/tools/agent_toolset.py x: 449 lines of code y: 34 line churn src/anthropic/resources/beta/environments/work.py x: 847 lines of code y: 6 line churn src/anthropic/lib/tools/__init__.py x: 28 lines of code y: 30 line churn src/anthropic/lib/tools/_beta_functions.py x: 427 lines of code y: 871 line churn src/anthropic/lib/streaming/_beta_messages.py x: 412 lines of code y: 538 line churn src/anthropic/lib/streaming/_beta_types.py x: 67 lines of code y: 109 line churn src/anthropic/lib/streaming/_messages.py x: 372 lines of code y: 1359 line churn src/anthropic/types/beta/messages/batch_create_params.py x: 14 lines of code y: 50 line churn src/anthropic/lib/tools/_beta_compaction_control.py x: 9 lines of code y: 9 line churn src/anthropic/__init__.py x: 136 lines of code y: 146 line churn src/anthropic/lib/aws/__init__.py x: 1 lines of code y: 1 line churn src/anthropic/lib/aws/_auth.py x: 54 lines of code y: 72 line churn src/anthropic/lib/aws/_client.py x: 369 lines of code y: 401 line churn src/anthropic/lib/aws/_credentials.py x: 76 lines of code y: 129 line churn src/anthropic/lib/tools/_beta_builtin_memory_tool.py x: 604 lines of code y: 662 line churn src/anthropic/_utils/__init__.py x: 65 lines of code y: 296 line churn src/anthropic/_utils/_reflection.py x: 58 lines of code y: 40 line churn src/anthropic/resources/beta/messages/batches.py x: 518 lines of code y: 872 line churn src/anthropic/_exceptions.py x: 85 lines of code y: 206 line churn src/anthropic/_utils/_transform.py x: 259 lines of code y: 599 line churn src/anthropic/tools/memory.py x: 12 lines of code y: 13 line churn src/anthropic/types/beta/beta_tool_param.py x: 24 lines of code y: 54 line churn src/anthropic/types/tool_param.py x: 26 lines of code y: 52 line churn src/anthropic/lib/tools/mcp.py x: 271 lines of code y: 442 line churn src/anthropic/types/messages/batch_create_params.py x: 10 lines of code y: 39 line churn src/anthropic/lib/_files.py x: 27 lines of code y: 4 line churn src/anthropic/_models.py x: 623 lines of code y: 995 line churn src/anthropic/types/beta/beta_content_block_param.py x: 52 lines of code y: 29 line churn src/anthropic/lib/vertex/_beta_messages.py x: 51 lines of code y: 97 line churn src/anthropic/_constants.py x: 20 lines of code y: 36 line churn src/anthropic/_utils/_httpx.py x: 39 lines of code y: 128 line churn src/anthropic/_version.py x: 2 lines of code y: 152 line churn src/anthropic/lib/streaming/_types.py x: 86 lines of code y: 106 line churn src/anthropic/resources/messages/batches.py x: 356 lines of code y: 654 line churn src/anthropic/types/__init__.py x: 273 lines of code y: 88 line churn src/anthropic/types/anthropic_beta_param.py x: 37 lines of code y: 25 line churn src/anthropic/types/beta/__init__.py x: 788 lines of code y: 95 line churn src/anthropic/types/beta/beta_content_block.py x: 43 lines of code y: 19 line churn src/anthropic/types/beta/beta_message.py x: 25 lines of code y: 112 line churn src/anthropic/types/beta/beta_raw_content_block_start_event.py x: 48 lines of code y: 28 line churn src/anthropic/types/beta/beta_redacted_thinking_block.py x: 6 lines of code y: 13 line churn src/anthropic/types/beta/beta_thinking_block.py x: 7 lines of code y: 15 line churn src/anthropic/types/beta/beta_thinking_config_enabled_param.py x: 8 lines of code y: 24 line churn src/anthropic/types/beta/beta_tool_bash_20250124_param.py x: 15 lines of code y: 22 line churn src/anthropic/types/beta/beta_tool_union_param.py x: 54 lines of code y: 28 line churn src/anthropic/types/beta/message_count_tokens_params.py x: 80 lines of code y: 29 line churn src/anthropic/types/beta/message_create_params.py x: 67 lines of code y: 698 line churn src/anthropic/types/content_block.py x: 33 lines of code y: 40 line churn src/anthropic/types/content_block_param.py x: 40 lines of code y: 15 line churn src/anthropic/types/message.py x: 21 lines of code y: 175 line churn src/anthropic/types/message_count_tokens_params.py x: 21 lines of code y: 219 line churn src/anthropic/types/message_create_params.py x: 54 lines of code y: 573 line churn src/anthropic/types/message_param.py x: 51 lines of code y: 50 line churn src/anthropic/types/model.py x: 23 lines of code y: 6 line churn src/anthropic/types/raw_content_block_start_event.py x: 38 lines of code y: 35 line churn src/anthropic/types/raw_message_delta_event.py x: 17 lines of code y: 41 line churn src/anthropic/_response.py x: 492 lines of code y: 1107 line churn src/anthropic/lib/streaming/__init__.py x: 34 lines of code y: 54 line churn src/anthropic/resources/__init__.py x: 58 lines of code y: 153 line churn src/anthropic/resources/beta/__init__.py x: 187 lines of code y: 223 line churn src/anthropic/resources/beta/beta.py x: 349 lines of code y: 556 line churn src/anthropic/resources/beta/models.py x: 181 lines of code y: 300 line churn src/anthropic/types/base64_pdf_source_param.py x: 12 lines of code y: 23 line churn src/anthropic/types/beta/messages/batch_list_params.py x: 11 lines of code y: 36 line churn src/anthropic/types/image_block_param.py x: 12 lines of code y: 61 line churn src/anthropic/types/messages/message_batch.py x: 17 lines of code y: 77 line churn src/anthropic/_legacy_response.py x: 341 lines of code y: 588 line churn src/anthropic/_compat.py x: 152 lines of code y: 367 line churn src/anthropic/_types.py x: 149 lines of code y: 639 line churn src/anthropic/lib/bedrock/_auth.py x: 54 lines of code y: 88 line churn src/anthropic/lib/vertex/_beta.py x: 56 lines of code y: 102 line churn src/anthropic/lib/bedrock/_beta_messages.py x: 47 lines of code y: 93 line churn src/anthropic/types/beta/messages/beta_message_batch.py x: 17 lines of code y: 89 line churn src/anthropic/types/beta/messages/beta_message_batch_individual_response.py x: 6 lines of code y: 28 line churn src/anthropic/_decoders/jsonl.py x: 80 lines of code y: 101 line churn src/anthropic/pagination.py x: 135 lines of code y: 82 line churn src/anthropic/resources/beta/messages/__init__.py x: 30 lines of code y: 33 line churn src/anthropic/types/beta/beta_tool_result_block_param.py x: 23 lines of code y: 26 line churn src/anthropic/resources/completions.py x: 277 lines of code y: 2208 line churn src/anthropic/types/completion_create_params.py x: 38 lines of code y: 717 line churn src/anthropic/_files.py x: 107 lines of code y: 144 line churn src/anthropic/_utils/_proxy.py x: 45 lines of code y: 116 line churn src/anthropic/_utils/_utils.py x: 261 lines of code y: 558 line churn src/anthropic/types/content_block_delta_event.py x: 3 lines of code y: 34 line churn src/anthropic/types/message_delta_event.py x: 3 lines of code y: 90 line churn src/anthropic/types/message_stop_event.py x: 3 lines of code y: 24 line churn src/anthropic/types/message_stream_event.py x: 3 lines of code y: 56 line churn src/anthropic/_streaming.py x: 409 lines of code y: 569 line churn scripts/utils/ruffen-docs.py x: 135 lines of code y: 167 line churn src/anthropic/_resource.py x: 28 lines of code y: 66 line churn src/anthropic/lib/bedrock/_stream.py x: 27 lines of code y: 93 line churn src/anthropic/_utils/_sync.py x: 22 lines of code y: 64 line churn src/anthropic/_qs.py x: 125 lines of code y: 150 line churn
3500.0
line churn
  min: 1.0
  average: 157.45
  25th percentile: 13.0
  median: 24.5
  75th percentile: 88.75
  max: 3500.0
0 1947.0
lines of code
min: 1.0 | average: 98.13 | 25th percentile: 6.0 | median: 15.0 | 75th percentile: 54.0 | max: 1947.0