anthropics / anthropic-sdk-python
File Change Frequency

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

Overview
File Change Frequency Overall
  • There are 217 files with 12,050 lines of code.
    • 1 file changed more than 100 times (187 lines of code)
    • 1 file changed 51-100 times (2 lines of code)
    • 5 files changed 21-50 times (2,918 lines of code)
    • 34 files changed 6-20 times (4,789 lines of code)
    • 176 files changed 1-5 times (4,154 lines of code)
1% | <1% | 24% | 39% | 34%
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 217 files with 12,050 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 1 file changed by 11-25 contributors (187 lines of code)
    • 4 files changed by 6-10 contributors (2,629 lines of code)
    • 55 files changed by 2-5 contributors (5,215 lines of code)
    • 157 files changed by 1 contributor (4,019 lines of code)
0% | 1% | 21% | 43% | 33%
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, md, yaml, json, txt, ini, gitignore, toml
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
toml100% | 0% | 0% | 0% | 0%
py0% | <1% | 24% | 40% | 35%
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
ROOT96% | 0% | 0% | 0% | 3%
src0% | <1% | 24% | 40% | 34%
scripts0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
187 - 2023-02-09 2025-03-25 101 12 mike.lambert@anthropic.com robert@craigie.dev
_version.py
in src/anthropic
2 - 2023-06-26 2024-06-14 60 4 jenan@anthropic.com 107565488+stainless-bot@use...
_base_client.py
in src/anthropic
1548 92 2023-06-26 2025-05-06 50 7 jenan@anthropic.com ksaurabh.02@gmail.com
_client.py
in src/anthropic
469 50 2023-06-26 2025-02-19 32 6 jenan@anthropic.com 101757907+andjsmi@users.nor...
_models.py
in src/anthropic
508 25 2023-06-26 2024-11-08 31 5 jenan@anthropic.com robert@craigie.dev
completions.py
in src/anthropic/resources
277 12 2023-06-26 2024-10-08 29 5 jenan@anthropic.com robert@craigie.dev
_types.py
in src/anthropic
116 5 2023-06-26 2024-10-28 24 4 jenan@anthropic.com dev+git@stainlessapi.com
_utils.py
in src/anthropic/_utils
250 34 2023-06-26 2024-08-06 20 4 jenan@anthropic.com dev+git@stainlessapi.com
_messages.py
in src/anthropic/lib/streaming
327 24 2023-12-19 2025-05-07 17 5 107565488+stainless-bot@use... dmeadows@stainless.com
__init__.py
in src/anthropic
95 - 2023-06-26 2024-04-08 16 2 jenan@anthropic.com 107565488+stainless-bot@use...
_response.py
in src/anthropic
489 45 2023-10-27 2025-01-15 15 4 107565488+stainless-bot@use... robert@craigie.dev
message_create_params.py
in src/anthropic/types
46 - 2024-02-12 2025-02-24 14 4 107565488+stainless-bot@use... robert@craigie.dev
_transform.py
in src/anthropic/_utils
249 11 2023-06-26 2024-03-11 14 3 jenan@anthropic.com 107565488+stainless-bot@use...
completion_create_params.py
in src/anthropic/types
37 - 2023-06-26 2024-10-08 13 4 jenan@anthropic.com robert@craigie.dev
__init__.py
in src/anthropic/_utils
57 - 2023-06-26 2024-04-17 13 3 jenan@anthropic.com 107565488+stainless-bot@use...
_client.py
in src/anthropic/lib/vertex
314 11 2024-01-23 2025-02-19 13 6 107565488+stainless-bot@use... 101757907+andjsmi@users.nor...
__init__.py
in src/anthropic/resources
58 - 2023-06-26 2024-12-17 12 4 jenan@anthropic.com robert@craigie.dev
_compat.py
in src/anthropic
142 23 2023-08-16 2024-11-25 12 2 107565488+stainless-bot@use... dev+git@stainlessapi.com
_client.py
in src/anthropic/lib/bedrock
298 10 2024-01-31 2025-02-19 12 6 107565488+stainless-bot@use... 101757907+andjsmi@users.nor...
_streaming.py
in src/anthropic
309 26 2023-06-26 2024-05-22 11 4 jenan@anthropic.com robert@craigie.dev
__init__.py
in src/anthropic/types
124 - 2023-06-26 2025-02-24 10 4 jenan@anthropic.com robert@craigie.dev
_legacy_response.py
in src/anthropic
338 34 2024-01-15 2024-12-13 10 4 107565488+stainless-bot@use... robert@craigie.dev
_constants.py
in src/anthropic
10 - 2023-06-26 2025-02-24 9 3 jenan@anthropic.com robert@craigie.dev
beta.py
in src/anthropic/resources/beta
82 20 2023-12-19 2024-12-17 9 3 107565488+stainless-bot@use... robert@craigie.dev
_proxy.py
in src/anthropic/_utils
42 8 2023-09-14 2024-08-06 8 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
_exceptions.py
in src/anthropic
70 5 2023-06-26 2025-02-19 8 3 jenan@anthropic.com 101757907+andjsmi@users.nor...
__init__.py
in src/anthropic/types/beta
101 - 2023-12-19 2025-02-24 8 3 107565488+stainless-bot@use... robert@craigie.dev
content_block.py
in src/anthropic/types
14 - 2024-02-12 2025-02-24 7 3 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/lib/streaming
26 - 2023-12-19 2025-01-13 7 2 107565488+stainless-bot@use... robert@craigie.dev
message_create_params.py
in src/anthropic/types/beta
32 - 2023-12-19 2025-02-24 7 2 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/resources/beta
44 - 2023-12-19 2024-12-17 7 3 107565488+stainless-bot@use... robert@craigie.dev
_auth.py
in src/anthropic/lib/bedrock
54 2 2024-01-31 2024-10-28 7 4 107565488+stainless-bot@use... dev+git@stainlessapi.com
messages.py
in src/anthropic/resources/beta/messages
580 21 2024-10-08 2025-02-25 7 1 robert@craigie.dev robert@craigie.dev
message_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 4 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 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 107565488+stainless-bot@use... dev+git@stainlessapi.com
usage.py
in src/anthropic/types
10 - 2024-02-12 2024-12-17 6 4 107565488+stainless-bot@use... robert@craigie.dev
message.py
in src/anthropic/types
17 - 2024-02-12 2025-02-24 6 3 107565488+stainless-bot@use... robert@craigie.dev
_resource.py
in src/anthropic
28 3 2023-06-26 2024-03-19 6 3 jenan@anthropic.com 107565488+stainless-bot@use...
message_param.py
in src/anthropic/types
35 - 2024-02-12 2025-02-24 6 3 107565488+stainless-bot@use... robert@craigie.dev
batches.py
in src/anthropic/resources/beta/messages
502 15 2024-10-08 2025-02-24 6 2 robert@craigie.dev robert@craigie.dev
message_stop_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 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 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 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 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_delta_usage.py
in src/anthropic/types
10 - 2024-02-12 2024-08-06 5 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
completion.py
in src/anthropic/types
11 - 2023-06-26 2024-03-19 5 3 jenan@anthropic.com 107565488+stainless-bot@use...
tool_param.py
in src/anthropic/types
17 - 2024-05-30 2025-02-24 5 1 robert@craigie.dev robert@craigie.dev
_types.py
in src/anthropic/lib/streaming
56 - 2024-05-28 2025-02-24 5 1 robert@craigie.dev robert@craigie.dev
_beta_messages.py
in src/anthropic/lib/streaming
327 24 2025-01-13 2025-05-07 5 2 robert@craigie.dev dmeadows@stainless.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)
# contributorsfirst
contributor
latest
contributor
187 - 2023-02-09 2025-03-25 101 12 mike.lambert@anthropic.com robert@craigie.dev
_base_client.py
in src/anthropic
1548 92 2023-06-26 2025-05-06 50 7 jenan@anthropic.com ksaurabh.02@gmail.com
_client.py
in src/anthropic
469 50 2023-06-26 2025-02-19 32 6 jenan@anthropic.com 101757907+andjsmi@users.nor...
_client.py
in src/anthropic/lib/vertex
314 11 2024-01-23 2025-02-19 13 6 107565488+stainless-bot@use... 101757907+andjsmi@users.nor...
_client.py
in src/anthropic/lib/bedrock
298 10 2024-01-31 2025-02-19 12 6 107565488+stainless-bot@use... 101757907+andjsmi@users.nor...
_models.py
in src/anthropic
508 25 2023-06-26 2024-11-08 31 5 jenan@anthropic.com robert@craigie.dev
completions.py
in src/anthropic/resources
277 12 2023-06-26 2024-10-08 29 5 jenan@anthropic.com robert@craigie.dev
_messages.py
in src/anthropic/lib/streaming
327 24 2023-12-19 2025-05-07 17 5 107565488+stainless-bot@use... dmeadows@stainless.com
_version.py
in src/anthropic
2 - 2023-06-26 2024-06-14 60 4 jenan@anthropic.com 107565488+stainless-bot@use...
_types.py
in src/anthropic
116 5 2023-06-26 2024-10-28 24 4 jenan@anthropic.com dev+git@stainlessapi.com
_utils.py
in src/anthropic/_utils
250 34 2023-06-26 2024-08-06 20 4 jenan@anthropic.com dev+git@stainlessapi.com
_response.py
in src/anthropic
489 45 2023-10-27 2025-01-15 15 4 107565488+stainless-bot@use... robert@craigie.dev
message_create_params.py
in src/anthropic/types
46 - 2024-02-12 2025-02-24 14 4 107565488+stainless-bot@use... robert@craigie.dev
completion_create_params.py
in src/anthropic/types
37 - 2023-06-26 2024-10-08 13 4 jenan@anthropic.com robert@craigie.dev
__init__.py
in src/anthropic/resources
58 - 2023-06-26 2024-12-17 12 4 jenan@anthropic.com robert@craigie.dev
_streaming.py
in src/anthropic
309 26 2023-06-26 2024-05-22 11 4 jenan@anthropic.com robert@craigie.dev
_legacy_response.py
in src/anthropic
338 34 2024-01-15 2024-12-13 10 4 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/types
124 - 2023-06-26 2025-02-24 10 4 jenan@anthropic.com robert@craigie.dev
_auth.py
in src/anthropic/lib/bedrock
54 2 2024-01-31 2024-10-28 7 4 107565488+stainless-bot@use... dev+git@stainlessapi.com
usage.py
in src/anthropic/types
10 - 2024-02-12 2024-12-17 6 4 107565488+stainless-bot@use... robert@craigie.dev
message_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 4 107565488+stainless-bot@use... dev+git@stainlessapi.com
_transform.py
in src/anthropic/_utils
249 11 2023-06-26 2024-03-11 14 3 jenan@anthropic.com 107565488+stainless-bot@use...
__init__.py
in src/anthropic/_utils
57 - 2023-06-26 2024-04-17 13 3 jenan@anthropic.com 107565488+stainless-bot@use...
_constants.py
in src/anthropic
10 - 2023-06-26 2025-02-24 9 3 jenan@anthropic.com robert@craigie.dev
beta.py
in src/anthropic/resources/beta
82 20 2023-12-19 2024-12-17 9 3 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/types/beta
101 - 2023-12-19 2025-02-24 8 3 107565488+stainless-bot@use... robert@craigie.dev
_proxy.py
in src/anthropic/_utils
42 8 2023-09-14 2024-08-06 8 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
_exceptions.py
in src/anthropic
70 5 2023-06-26 2025-02-19 8 3 jenan@anthropic.com 101757907+andjsmi@users.nor...
__init__.py
in src/anthropic/resources/beta
44 - 2023-12-19 2024-12-17 7 3 107565488+stainless-bot@use... robert@craigie.dev
content_block.py
in src/anthropic/types
14 - 2024-02-12 2025-02-24 7 3 107565488+stainless-bot@use... robert@craigie.dev
message_param.py
in src/anthropic/types
35 - 2024-02-12 2025-02-24 6 3 107565488+stainless-bot@use... robert@craigie.dev
message_stream_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
message.py
in src/anthropic/types
17 - 2024-02-12 2025-02-24 6 3 107565488+stainless-bot@use... robert@craigie.dev
content_block_start_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 6 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
_resource.py
in src/anthropic
28 3 2023-06-26 2024-03-19 6 3 jenan@anthropic.com 107565488+stainless-bot@use...
message_delta_usage.py
in src/anthropic/types
10 - 2024-02-12 2024-08-06 5 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
completion.py
in src/anthropic/types
11 - 2023-06-26 2024-03-19 5 3 jenan@anthropic.com 107565488+stainless-bot@use...
content_block_delta_event.py
in src/anthropic/types
3 - 2024-02-12 2024-08-06 5 3 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 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 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 107565488+stainless-bot@use... dev+git@stainlessapi.com
image_block_param.py
in src/anthropic/types
12 - 2024-03-04 2024-12-17 4 3 ejlangev@users.noreply.gith... robert@craigie.dev
input_json_delta.py
in src/anthropic/types
7 - 2024-05-30 2024-08-06 3 3 robert@craigie.dev dev+git@stainlessapi.com
_files.py
in src/anthropic
83 8 2023-10-24 2024-08-06 3 3 107565488+stainless-bot@use... dev+git@stainlessapi.com
__init__.py
in src/anthropic
95 - 2023-06-26 2024-04-08 16 2 jenan@anthropic.com 107565488+stainless-bot@use...
_compat.py
in src/anthropic
142 23 2023-08-16 2024-11-25 12 2 107565488+stainless-bot@use... dev+git@stainlessapi.com
message_create_params.py
in src/anthropic/types/beta
32 - 2023-12-19 2025-02-24 7 2 107565488+stainless-bot@use... robert@craigie.dev
__init__.py
in src/anthropic/lib/streaming
26 - 2023-12-19 2025-01-13 7 2 107565488+stainless-bot@use... robert@craigie.dev
batches.py
in src/anthropic/resources/beta/messages
502 15 2024-10-08 2025-02-24 6 2 robert@craigie.dev robert@craigie.dev
_beta_messages.py
in src/anthropic/lib/streaming
327 24 2025-01-13 2025-05-07 5 2 robert@craigie.dev dmeadows@stainless.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)
# contributorsfirst
contributor
latest
contributor
beta_citations_delta.py
in src/anthropic/types/beta
21 -
beta_base64_pdf_block_param.py
in src/anthropic/types/beta
20 -
web_search_tool_20250305_param.py
in src/anthropic/types
19 -
beta_web_search_tool_20250305_param.py
in src/anthropic/types/beta
19 -
beta_text_citation.py
in src/anthropic/types/beta
17 -
citations_delta.py
in src/anthropic/types
16 -
text_citation_param.py
in src/anthropic/types
14 -
beta_text_citation_param.py
in src/anthropic/types/beta
14 -
beta_raw_content_block_delta.py
in src/anthropic/types/beta
13 -
text_citation.py
in src/anthropic/types
12 -
base64_image_source_param.py
in src/anthropic/types
12 -
beta_base64_image_source_param.py
in src/anthropic/types/beta
12 -
beta_base64_pdf_source_param.py
in src/anthropic/types/beta
12 -
raw_content_block_delta.py
in src/anthropic/types
12 -
server_tool_use_block_param.py
in src/anthropic/types
11 -
citation_char_location_param.py
in src/anthropic/types
11 -
citation_page_location_param.py
in src/anthropic/types
11 -
citation_char_location.py
in src/anthropic/types
11 -
11 -
11 -
11 -
beta_citation_char_location_param.py
in src/anthropic/types/beta
11 -
beta_citation_char_location.py
in src/anthropic/types/beta
11 -
beta_citation_page_location_param.py
in src/anthropic/types/beta
11 -
beta_citation_page_location.py
in src/anthropic/types/beta
11 -
beta_citation_content_block_location.py
in src/anthropic/types/beta
11 -
beta_server_tool_use_block_param.py
in src/anthropic/types/beta
11 -
11 -
11 -
citation_page_location.py
in src/anthropic/types
11 -
10 -
10 -
web_search_result_block.py
in src/anthropic/types
10 -
10 -
beta_web_search_result_block_param.py
in src/anthropic/types/beta
10 -
beta_web_search_result_block.py
in src/anthropic/types/beta
10 -
10 -
web_search_result_block_param.py
in src/anthropic/types
10 -
9 -
9 -
content_block_source_param.py
in src/anthropic/types
8 -
8 -
server_tool_use_block.py
in src/anthropic/types
8 -
web_search_tool_result_block.py
in src/anthropic/types
8 -
beta_server_tool_use_block.py
in src/anthropic/types/beta
8 -
beta_content_block_source_param.py
in src/anthropic/types/beta
8 -
beta_web_search_tool_result_block.py
in src/anthropic/types/beta
8 -
8 -
7 -
7 -