aws / sagemaker-core
File Size

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

Intro
Learn more...
File Size Overall
13% | 63% | 13% | 4% | 5%
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
py30% | 21% | 29% | 9% | 9%
ipynb0% | 100% | 0% | 0% | 0%
toml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src30% | 21% | 30% | 9% | 8%
example_notebooks0% | 100% | 0% | 0% | 0%
integ0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
workflow_helper0% | 0% | 0% | 0% | 100%
tst0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
resources_codegen.py
in src/sagemaker_core/tools
1329 44
953 -
941 -
config_schema.py
in src/sagemaker_core/main
925 -
788 -
get_started.ipynb
in example_notebooks
709 -
sagemaker_core_overview.ipynb
in example_notebooks
595 -
582 -
540 -
session_helper.py
in src/sagemaker_core/helper
385 20
utils.py
in src/sagemaker_core/main
278 30
shapes_extractor.py
in src/sagemaker_core/tools
213 10
resources_extractor.py
in src/sagemaker_core/tools
209 9
templates.py
in src/sagemaker_core/tools
208 4
shapes_codegen.py
in src/sagemaker_core/tools
149 10
intelligent_defaults_helper.py
in src/sagemaker_core/main
136 7
codec.py
in src/sagemaker_core/main/code_injection
117 7
logs.py
in src/sagemaker_core/main
96 6
59 7
constants.py
in src/sagemaker_core/tools
55 -
data_extractor.py
in src/sagemaker_core/tools
54 4
47 -
exceptions.py
in src/sagemaker_core/main
41 10
user_agent.py
in src/sagemaker_core/main
30 3
base.py
in src/sagemaker_core/main/code_injection
23 1
method.py
in src/sagemaker_core/tools
20 2
codegen.py
in src/sagemaker_core/tools
18 1
constants.py
in src/sagemaker_core/main/code_injection
12 -
8 1
8 1
cfg
setup.cfg
in root
5 -
__init__.py
in src/sagemaker_core
2 -
_version.py
in src/sagemaker_core
2 -
__init__.py
in src/sagemaker_core/main
1 -
__init__.py
in src/sagemaker_core/main/code_injection
1 -
__init__.py
in src/sagemaker_core/tools
1 -
__init__.py
in src/sagemaker_core/resources
1 -
__init__.py
in src/sagemaker_core/shapes
1 -
__init__.py
in src/sagemaker_core/helper
1 -
__init__.py
in tst/tools
1 -
1 -
__init__.py
in workflow_helper
1 -
Files With Most Units (Top 19)
File# lines# units
resources_codegen.py
in src/sagemaker_core/tools
1329 44
utils.py
in src/sagemaker_core/main
278 30
session_helper.py
in src/sagemaker_core/helper
385 20
exceptions.py
in src/sagemaker_core/main
41 10
shapes_codegen.py
in src/sagemaker_core/tools
149 10
shapes_extractor.py
in src/sagemaker_core/tools
213 10
resources_extractor.py
in src/sagemaker_core/tools
209 9
59 7
codec.py
in src/sagemaker_core/main/code_injection
117 7
intelligent_defaults_helper.py
in src/sagemaker_core/main
136 7
logs.py
in src/sagemaker_core/main
96 6
templates.py
in src/sagemaker_core/tools
208 4
data_extractor.py
in src/sagemaker_core/tools
54 4
user_agent.py
in src/sagemaker_core/main
30 3
method.py
in src/sagemaker_core/tools
20 2
base.py
in src/sagemaker_core/main/code_injection
23 1
codegen.py
in src/sagemaker_core/tools
18 1
8 1
8 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 139 long lines.

File# lines# units# long lines
get_started.ipynb
in example_notebooks
709 - 30
sagemaker_core_overview.ipynb
in example_notebooks
595 - 25
788 - 22
582 - 21
540 - 18
953 - 9
941 - 7
resources_codegen.py
in src/sagemaker_core/tools
1329 44 4
exceptions.py
in src/sagemaker_core/main
41 10 2
shapes_extractor.py
in src/sagemaker_core/tools
213 10 1
Correlations

File Size vs. Commits (all time): 42 points

src/sagemaker_core/tools/constants.py x: 8 commits (all time) y: 55 lines of code src/sagemaker_core/main/utils.py x: 9 commits (all time) y: 278 lines of code src/sagemaker_core/tools/resources_codegen.py x: 29 commits (all time) y: 1329 lines of code src/sagemaker_core/tools/shapes_codegen.py x: 6 commits (all time) y: 149 lines of code src/sagemaker_core/tools/shapes_extractor.py x: 5 commits (all time) y: 213 lines of code src/sagemaker_core/tools/templates.py x: 27 commits (all time) y: 208 lines of code pyproject.toml x: 13 commits (all time) y: 47 lines of code src/sagemaker_core/_version.py x: 3 commits (all time) y: 2 lines of code src/sagemaker_core/main/config_schema.py x: 8 commits (all time) y: 925 lines of code src/sagemaker_core/main/user_agent.py x: 2 commits (all time) y: 30 lines of code src/sagemaker_core/main/code_injection/codec.py x: 2 commits (all time) y: 117 lines of code src/sagemaker_core/tools/method.py x: 5 commits (all time) y: 20 lines of code example_notebooks/sagemaker_core_overview.ipynb x: 11 commits (all time) y: 595 lines of code src/sagemaker_core/main/logs.py x: 1 commits (all time) y: 96 lines of code example_notebooks/track_local_pytorch_experiment.ipynb x: 2 commits (all time) y: 540 lines of code src/sagemaker_core/tools/data_extractor.py x: 2 commits (all time) y: 54 lines of code src/sagemaker_core/tools/resources_extractor.py x: 9 commits (all time) y: 209 lines of code workflow_helper/compute_boto_api_coverage.py x: 4 commits (all time) y: 8 lines of code example_notebooks/get_started.ipynb x: 1 commits (all time) y: 709 lines of code example_notebooks/inference_and_resource_chaining.ipynb x: 9 commits (all time) y: 788 lines of code example_notebooks/intelligent_defaults_and_logging.ipynb x: 9 commits (all time) y: 582 lines of code example_notebooks/sagemaker-core-llama-3-8B-speculative-decoding.ipynb x: 2 commits (all time) y: 953 lines of code example_notebooks/sagemaker-core-llama-3-8B.ipynb x: 2 commits (all time) y: 941 lines of code src/sagemaker_core/tools/codegen.py x: 3 commits (all time) y: 18 lines of code src/sagemaker_core/helper/session_helper.py x: 2 commits (all time) y: 385 lines of code src/sagemaker_core/resources/__init__.py x: 2 commits (all time) y: 1 lines of code integ/sagemaker_cleaner.py x: 3 commits (all time) y: 59 lines of code src/sagemaker_core/main/__init__.py x: 1 commits (all time) y: 1 lines of code src/sagemaker_core/main/code_injection/base.py x: 1 commits (all time) y: 23 lines of code src/sagemaker_core/main/code_injection/constants.py x: 1 commits (all time) y: 12 lines of code src/sagemaker_core/main/exceptions.py x: 1 commits (all time) y: 41 lines of code src/sagemaker_core/main/intelligent_defaults_helper.py x: 1 commits (all time) y: 136 lines of code workflow_helper/compute_resource_coverage.py x: 3 commits (all time) y: 8 lines of code
1329.0
lines of code
  min: 1.0
  average: 227.29
  25th percentile: 2.0
  median: 50.5
  75th percentile: 304.75
  max: 1329.0
0 29.0
commits (all time)
min: 1.0 | average: 4.76 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 6.5 | max: 29.0

File Size vs. Contributors (all time): 42 points

src/sagemaker_core/tools/constants.py x: 5 contributors (all time) y: 55 lines of code src/sagemaker_core/main/utils.py x: 5 contributors (all time) y: 278 lines of code src/sagemaker_core/tools/resources_codegen.py x: 5 contributors (all time) y: 1329 lines of code src/sagemaker_core/tools/shapes_codegen.py x: 5 contributors (all time) y: 149 lines of code src/sagemaker_core/tools/shapes_extractor.py x: 4 contributors (all time) y: 213 lines of code src/sagemaker_core/tools/templates.py x: 5 contributors (all time) y: 208 lines of code pyproject.toml x: 6 contributors (all time) y: 47 lines of code src/sagemaker_core/_version.py x: 3 contributors (all time) y: 2 lines of code src/sagemaker_core/main/config_schema.py x: 3 contributors (all time) y: 925 lines of code src/sagemaker_core/main/user_agent.py x: 2 contributors (all time) y: 30 lines of code src/sagemaker_core/main/code_injection/codec.py x: 2 contributors (all time) y: 117 lines of code src/sagemaker_core/tools/method.py x: 4 contributors (all time) y: 20 lines of code example_notebooks/sagemaker_core_overview.ipynb x: 4 contributors (all time) y: 595 lines of code src/sagemaker_core/main/logs.py x: 1 contributors (all time) y: 96 lines of code example_notebooks/track_local_pytorch_experiment.ipynb x: 1 contributors (all time) y: 540 lines of code src/sagemaker_core/tools/data_extractor.py x: 2 contributors (all time) y: 54 lines of code src/sagemaker_core/tools/resources_extractor.py x: 3 contributors (all time) y: 209 lines of code workflow_helper/compute_boto_api_coverage.py x: 3 contributors (all time) y: 8 lines of code example_notebooks/get_started.ipynb x: 1 contributors (all time) y: 709 lines of code example_notebooks/inference_and_resource_chaining.ipynb x: 3 contributors (all time) y: 788 lines of code example_notebooks/intelligent_defaults_and_logging.ipynb x: 3 contributors (all time) y: 582 lines of code example_notebooks/sagemaker-core-llama-3-8B-speculative-decoding.ipynb x: 2 contributors (all time) y: 953 lines of code example_notebooks/sagemaker-core-llama-3-8B.ipynb x: 2 contributors (all time) y: 941 lines of code src/sagemaker_core/tools/codegen.py x: 3 contributors (all time) y: 18 lines of code src/sagemaker_core/helper/session_helper.py x: 2 contributors (all time) y: 385 lines of code src/sagemaker_core/resources/__init__.py x: 2 contributors (all time) y: 1 lines of code integ/sagemaker_cleaner.py x: 2 contributors (all time) y: 59 lines of code src/sagemaker_core/main/__init__.py x: 1 contributors (all time) y: 1 lines of code src/sagemaker_core/main/code_injection/base.py x: 1 contributors (all time) y: 23 lines of code src/sagemaker_core/main/code_injection/constants.py x: 1 contributors (all time) y: 12 lines of code src/sagemaker_core/main/exceptions.py x: 1 contributors (all time) y: 41 lines of code src/sagemaker_core/main/intelligent_defaults_helper.py x: 1 contributors (all time) y: 136 lines of code workflow_helper/compute_resource_coverage.py x: 2 contributors (all time) y: 8 lines of code
1329.0
lines of code
  min: 1.0
  average: 227.29
  25th percentile: 2.0
  median: 50.5
  75th percentile: 304.75
  max: 1329.0
0 6.0
contributors (all time)
min: 1.0 | average: 2.45 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.0

File Size vs. Commits (30 days): 8 points

src/sagemaker_core/tools/constants.py x: 2 commits (30d) y: 55 lines of code src/sagemaker_core/main/utils.py x: 1 commits (30d) y: 278 lines of code src/sagemaker_core/tools/resources_codegen.py x: 1 commits (30d) y: 1329 lines of code src/sagemaker_core/tools/shapes_codegen.py x: 2 commits (30d) y: 149 lines of code src/sagemaker_core/tools/shapes_extractor.py x: 2 commits (30d) y: 213 lines of code src/sagemaker_core/tools/templates.py x: 1 commits (30d) y: 208 lines of code pyproject.toml x: 1 commits (30d) y: 47 lines of code src/sagemaker_core/_version.py x: 1 commits (30d) y: 2 lines of code
1329.0
lines of code
  min: 2.0
  average: 285.13
  25th percentile: 49.0
  median: 178.5
  75th percentile: 261.75
  max: 1329.0
0 2.0
commits (30d)
min: 1.0 | average: 1.38 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (30 days): 8 points

src/sagemaker_core/tools/constants.py x: 2 contributors (30d) y: 55 lines of code src/sagemaker_core/main/utils.py x: 1 contributors (30d) y: 278 lines of code src/sagemaker_core/tools/resources_codegen.py x: 1 contributors (30d) y: 1329 lines of code src/sagemaker_core/tools/shapes_codegen.py x: 2 contributors (30d) y: 149 lines of code src/sagemaker_core/tools/shapes_extractor.py x: 2 contributors (30d) y: 213 lines of code src/sagemaker_core/tools/templates.py x: 1 contributors (30d) y: 208 lines of code pyproject.toml x: 1 contributors (30d) y: 47 lines of code src/sagemaker_core/_version.py x: 1 contributors (30d) y: 2 lines of code
1329.0
lines of code
  min: 2.0
  average: 285.13
  25th percentile: 49.0
  median: 178.5
  75th percentile: 261.75
  max: 1329.0
0 2.0
contributors (30d)
min: 1.0 | average: 1.38 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 9 points

src/sagemaker_core/tools/constants.py x: 2 commits (90d) y: 55 lines of code src/sagemaker_core/main/utils.py x: 1 commits (90d) y: 278 lines of code src/sagemaker_core/tools/resources_codegen.py x: 1 commits (90d) y: 1329 lines of code src/sagemaker_core/tools/shapes_codegen.py x: 2 commits (90d) y: 149 lines of code src/sagemaker_core/tools/shapes_extractor.py x: 2 commits (90d) y: 213 lines of code src/sagemaker_core/tools/templates.py x: 1 commits (90d) y: 208 lines of code pyproject.toml x: 1 commits (90d) y: 47 lines of code src/sagemaker_core/_version.py x: 1 commits (90d) y: 2 lines of code src/sagemaker_core/main/config_schema.py x: 1 commits (90d) y: 925 lines of code
1329.0
lines of code
  min: 2.0
  average: 356.22
  25th percentile: 51.0
  median: 208.0
  75th percentile: 601.5
  max: 1329.0
0 2.0
commits (90d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (90 days): 9 points

src/sagemaker_core/tools/constants.py x: 2 contributors (90d) y: 55 lines of code src/sagemaker_core/main/utils.py x: 1 contributors (90d) y: 278 lines of code src/sagemaker_core/tools/resources_codegen.py x: 1 contributors (90d) y: 1329 lines of code src/sagemaker_core/tools/shapes_codegen.py x: 2 contributors (90d) y: 149 lines of code src/sagemaker_core/tools/shapes_extractor.py x: 2 contributors (90d) y: 213 lines of code src/sagemaker_core/tools/templates.py x: 1 contributors (90d) y: 208 lines of code pyproject.toml x: 1 contributors (90d) y: 47 lines of code src/sagemaker_core/_version.py x: 1 contributors (90d) y: 2 lines of code src/sagemaker_core/main/config_schema.py x: 1 contributors (90d) y: 925 lines of code
1329.0
lines of code
  min: 2.0
  average: 356.22
  25th percentile: 51.0
  median: 208.0
  75th percentile: 601.5
  max: 1329.0
0 2.0
contributors (90d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0