anthropics / anthropic-sdk-python
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
12% | 16% | 31% | 10% | 29%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py12% | 17% | 31% | 8% | 29%
toml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src12% | 17% | 32% | 7% | 30%
ROOT0% | 0% | 0% | 96% | 3%
scripts0% | 0% | 0% | 100% | 0%
Longest Files (Top 50)
File# lines# units
_base_client.py
in src/anthropic
1548 92
messages.py
in src/anthropic/resources/beta/messages
580 21
messages.py
in src/anthropic/resources/messages
556 21
_models.py
in src/anthropic
508 25
batches.py
in src/anthropic/resources/beta/messages
502 15
_response.py
in src/anthropic
489 45
_client.py
in src/anthropic
469 50
batches.py
in src/anthropic/resources/messages
356 15
_legacy_response.py
in src/anthropic
338 34
_beta_messages.py
in src/anthropic/lib/streaming
327 24
_messages.py
in src/anthropic/lib/streaming
327 24
_client.py
in src/anthropic/lib/vertex
314 11
_streaming.py
in src/anthropic
309 26
_client.py
in src/anthropic/lib/bedrock
298 10
completions.py
in src/anthropic/resources
277 12
_utils.py
in src/anthropic/_utils
250 34
_transform.py
in src/anthropic/_utils
249 11
187 -
models.py
in src/anthropic/resources/beta
181 11
models.py
in src/anthropic/resources
181 11
_compat.py
in src/anthropic
142 23
ruffen-docs.py
in scripts/utils
135 8
_qs.py
in src/anthropic
124 7
__init__.py
in src/anthropic/types
124 -
_types.py
in src/anthropic
116 5
__init__.py
in src/anthropic/types/beta
101 -
__init__.py
in src/anthropic
95 -
_files.py
in src/anthropic
83 8
beta.py
in src/anthropic/resources/beta
82 20
jsonl.py
in src/anthropic/_decoders
80 6
_typing.py
in src/anthropic/_utils
72 10
_exceptions.py
in src/anthropic
70 5
pagination.py
in src/anthropic
61 6
__init__.py
in src/anthropic/resources
58 -
__init__.py
in src/anthropic/_utils
57 -
_beta.py
in src/anthropic/lib/vertex
56 14
_types.py
in src/anthropic/lib/streaming
56 -
_beta_types.py
in src/anthropic/lib/streaming
56 -
_beta.py
in src/anthropic/lib/bedrock
56 14
_auth.py
in src/anthropic/lib/bedrock
54 2
_beta_messages.py
in src/anthropic/lib/vertex
47 8
_beta_messages.py
in src/anthropic/lib/bedrock
47 8
message_create_params.py
in src/anthropic/types
46 -
_stream_decoder.py
in src/anthropic/lib/bedrock
46 4
__init__.py
in src/anthropic/resources/beta
44 -
_proxy.py
in src/anthropic/_utils
42 8
completion_create_params.py
in src/anthropic/types
37 -
message_count_tokens_params.py
in src/anthropic/types/beta
37 -
message_param.py
in src/anthropic/types
35 -
_sync.py
in src/anthropic/_utils
34 1
Files With Most Units (Top 46)
File# lines# units
_base_client.py
in src/anthropic
1548 92
_client.py
in src/anthropic
469 50
_response.py
in src/anthropic
489 45
_legacy_response.py
in src/anthropic
338 34
_utils.py
in src/anthropic/_utils
250 34
_streaming.py
in src/anthropic
309 26
_models.py
in src/anthropic
508 25
_beta_messages.py
in src/anthropic/lib/streaming
327 24
_messages.py
in src/anthropic/lib/streaming
327 24
_compat.py
in src/anthropic
142 23
messages.py
in src/anthropic/resources/messages
556 21
messages.py
in src/anthropic/resources/beta/messages
580 21
beta.py
in src/anthropic/resources/beta
82 20
batches.py
in src/anthropic/resources/messages
356 15
batches.py
in src/anthropic/resources/beta/messages
502 15
_beta.py
in src/anthropic/lib/vertex
56 14
_beta.py
in src/anthropic/lib/bedrock
56 14
completions.py
in src/anthropic/resources
277 12
models.py
in src/anthropic/resources/beta
181 11
models.py
in src/anthropic/resources
181 11
_transform.py
in src/anthropic/_utils
249 11
_client.py
in src/anthropic/lib/vertex
314 11
_typing.py
in src/anthropic/_utils
72 10
_client.py
in src/anthropic/lib/bedrock
298 10
ruffen-docs.py
in scripts/utils
135 8
_proxy.py
in src/anthropic/_utils
42 8
_beta_messages.py
in src/anthropic/lib/vertex
47 8
_beta_messages.py
in src/anthropic/lib/bedrock
47 8
_files.py
in src/anthropic
83 8
_qs.py
in src/anthropic
124 7
pagination.py
in src/anthropic
61 6
jsonl.py
in src/anthropic/_decoders
80 6
_types.py
in src/anthropic
116 5
_exceptions.py
in src/anthropic
70 5
_stream_decoder.py
in src/anthropic/lib/bedrock
46 4
_resource.py
in src/anthropic
28 3
_reflection.py
in src/anthropic/_utils
29 2
_logs.py
in src/anthropic/_utils
19 2
_auth.py
in src/anthropic/lib/vertex
25 2
_stream.py
in src/anthropic/lib/bedrock
27 2
_auth.py
in src/anthropic/lib/bedrock
54 2
_sync.py
in src/anthropic/_utils
34 1
_streams.py
in src/anthropic/_utils
8 1
_google_auth.py
in src/anthropic/lib/_extras
19 1
_common.py
in src/anthropic/lib/_extras
5 1
noxfile.py
in root
6 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 31 long lines.

File# lines# units# long lines
_legacy_response.py
in src/anthropic
338 34 6
messages.py
in src/anthropic/resources/messages
556 21 4
_response.py
in src/anthropic
489 45 4
_client.py
in src/anthropic/lib/vertex
314 11 4
_base_client.py
in src/anthropic
1548 92 3
messages.py
in src/anthropic/resources/beta/messages
580 21 2
_client.py
in src/anthropic
469 50 2
_streaming.py
in src/anthropic
309 26 2
_transform.py
in src/anthropic/_utils
249 11 1
_reflection.py
in src/anthropic/_utils
29 2 1
_auth.py
in src/anthropic/lib/vertex
25 2 1
187 - 1