Code Ownership

Ownership is measured by how many commits each author made to each file of code in the current tree, its tests included, and to the same file under the names it had before. Documentation, vendored and generated files are left out. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.

Files Tracked
1,274
of code in the current tree
Bus Factor
1
Sebastián Ramírez is primary owner of 1,093 of 1,274 files
Single-Owner Files
704
55.3% of tracked files
Contributors
287
authors who changed files

Bus factor risk — single-owner files

Files only one author has ever changed, grouped by that author: if they left, no one else would have worked on them. The more a file has changed, the more knowledge is at risk. Sebastián Ramírez is the only one to have changed 577 of the 704.

The 100 most-changed of 704 single-owner files
FileSole ownerCommits
docs_src/bigger_applications/app/routers/users.pySebastián Ramírez11
docs_src/query_params_str_validations/tutorial005.pySebastián Ramírez10
docs_src/query_params_str_validations/tutorial005_non_an.pySebastián Ramírez10
docs_src/path_params_numeric_validations/tutorial006_non_an.pySebastián Ramírez9
docs_src/python_types/tutorial008.pySebastián Ramírez9
docs_src/header_params/tutorial003.pySebastián Ramírez8
docs_src/request_files/tutorial002.pySebastián Ramírez8
docs_src/body_updates/tutorial001.pySebastián Ramírez7
docs_src/python_types/tutorial006.pySebastián Ramírez7
docs_src/query_params_str_validations/tutorial011.pySebastián Ramírez7
docs_src/query_params_str_validations/tutorial012.pySebastián Ramírez7
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.pySebastián Ramírez7
tests/test_tutorial/test_response_model/test_tutorial003_03.pySebastián Ramírez7
scripts/deploy_docs_status.pySebastián Ramírez7
tests/test_dependency_overrides.pySebastián Ramírez7
docs_src/bigger_applications/app/__init__.pySebastián Ramírez6
tests/test_tutorial/test_testing/test_tutorial003.pySebastián Ramírez6
tests/test_union_form_normalization.pySebastián Ramírez6
scripts/sponsors.pySebastián Ramírez6
docs_src/body_nested_models/tutorial009.pySebastián Ramírez5
docs_src/extra_models/tutorial004.pySebastián Ramírez5
docs_src/extra_models/tutorial005.pySebastián Ramírez5
docs_src/query_params_str_validations/tutorial004_non_an.pySebastián Ramírez5
docs_src/query_params_str_validations/tutorial006.pySebastián Ramírez5
docs_src/query_params_str_validations/tutorial010_non_an.pySebastián Ramírez5
docs_src/request_files/tutorial003.pySebastián Ramírez5
docs_src/schema_extra_example/tutorial004_non_an.pySebastián Ramírez5
docs_src/settings/tutorial001.pySebastián Ramírez5
tests/test_tutorial/test_custom_response/test_tutorial009.pySebastián Ramírez5
tests/test_tutorial/test_custom_response/test_tutorial009b.pySebastián Ramírez5
tests/test_tutorial/test_testing/test_tutorial002.pySebastián Ramírez5
tests/test_router_include_context.pySebastián Ramírez5
tests/test_duplicate_models_openapi.pySebastián Ramírez5
tests/test_read_with_orm_mode.pySebastián Ramírez5
docs_src/bigger_applications/app/internal/__init__.pySebastián Ramírez4
docs_src/bigger_applications/app/internal/admin.pySebastián Ramírez4
docs_src/extra_models/tutorial003.pySebastián Ramírez4
docs_src/generate_clients/tutorial001.pySebastián Ramírez4
docs_src/generate_clients/tutorial002.pySebastián Ramírez4
docs_src/generate_clients/tutorial003.pySebastián Ramírez4
docs_src/header_param_models/tutorial001.pySebastián Ramírez4
docs_src/header_param_models/tutorial002.pySebastián Ramírez4
docs_src/header_param_models/tutorial003.pySebastián Ramírez4
docs_src/python_types/tutorial013.pySebastián Ramírez4
docs_src/query_param_models/tutorial001.pySebastián Ramírez4
docs_src/query_param_models/tutorial002.pySebastián Ramírez4
docs_src/query_params_str_validations/tutorial004.pySebastián Ramírez4
docs_src/query_params_str_validations/tutorial006_non_an.pySebastián Ramírez4
docs_src/query_params_str_validations/tutorial008_non_an.pySebastián Ramírez4
docs_src/query_params_str_validations/tutorial010.pySebastián Ramírez4
docs_src/query_params_str_validations/tutorial013.pySebastián Ramírez4
docs_src/schema_extra_example/tutorial001.pySebastián Ramírez4
docs_src/schema_extra_example/tutorial002.pySebastián Ramírez4
docs_src/schema_extra_example/tutorial003_non_an.pySebastián Ramírez4
docs_src/schema_extra_example/tutorial004.pySebastián Ramírez4
docs_src/separate_openapi_schemas/tutorial001.pySebastián Ramírez4
docs_src/separate_openapi_schemas/tutorial002.pySebastián Ramírez4
docs_src/sql_databases/tutorial001.pySebastián Ramírez4
docs_src/sql_databases/tutorial002.pySebastián Ramírez4
tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.pySebastián Ramírez4
tests/test_tutorial/test_dependencies/test_tutorial008e.pySebastián Ramírez4
tests/test_callable_endpoint.pySebastián Ramírez4
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.pySebastián Ramírez4
tests/benchmarks/test_general_performance.pySebastián Ramírez4
fastapi/middleware/asyncexitstack.pySebastián Ramírez4
tests/test_dependency_yield_except_httpexception.pySebastián Ramírez4
scripts/playwright/request_form_models/image01.pySebastián Ramírez4
.github/ISSUE_TEMPLATE/config.ymlSebastián Ramírez4
fastapi/security/base.pySebastián Ramírez4
docs_src/path_params/tutorial005.pySebastián Ramírez3
docs_src/app_testing/app_a/__init__.pySebastián Ramírez3
docs_src/behind_a_proxy/tutorial003.pySebastián Ramírez3
docs_src/behind_a_proxy/tutorial004.pySebastián Ramírez3
docs_src/body_fields/tutorial001_non_an.pySebastián Ramírez3
docs_src/body_multiple_params/tutorial001_non_an.pySebastián Ramírez3
docs_src/body_multiple_params/tutorial003_non_an.pySebastián Ramírez3
docs_src/body_multiple_params/tutorial004_non_an.pySebastián Ramírez3
docs_src/body_multiple_params/tutorial005_non_an.pySebastián Ramírez3
docs_src/cookie_params/tutorial001_non_an.pySebastián Ramírez3
docs_src/custom_response/tutorial010.pySebastián Ramírez3
docs_src/dependencies/tutorial005_non_an.pySebastián Ramírez3
docs_src/extra_models/tutorial001.pySebastián Ramírez3
docs_src/extra_models/tutorial002.pySebastián Ramírez3
docs_src/header_params/tutorial001_non_an.pySebastián Ramírez3
docs_src/header_params/tutorial003_non_an.pySebastián Ramírez3
docs_src/path_operation_advanced_configuration/tutorial002.pySebastián Ramírez3
docs_src/path_params_numeric_validations/tutorial001_non_an.pySebastián Ramírez3
docs_src/path_params_numeric_validations/tutorial006.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial002_non_an.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial003_non_an.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial006c.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial006c_non_an.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial008.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial009_non_an.pySebastián Ramírez3
docs_src/query_params_str_validations/tutorial011_non_an.pySebastián Ramírez3
docs_src/request_files/tutorial001_02_non_an.pySebastián Ramírez3
docs_src/schema_extra_example/tutorial003.pySebastián Ramírez3
docs_src/stream_data/tutorial002.pySebastián Ramírez3
tests/test_tutorial/test_request_form_models/test_tutorial003.pySebastián Ramírez3
tests/test_tutorial/test_request_form_models/test_tutorial004.pySebastián Ramírez3

Ownership by author

Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.

AuthorFiles ownedSolely ownedFiles touched
Sebastián Ramírez1,0935771,144
Yurii Motov13697362
Yurii Karabas3014
Alejandra2256
Sofie Van Landeghem2039
alexmitelman226
Steinthor Palsson205
Felix Böhm224
Valentyn204
[object Object]223
Jonathan Fulton11179
David Montague1164
Jonathan Ehwald1115
James Kaplan1114
Nadav Zingerman1113
Ben Dayan1112
Thomas Grainger109
Nik117
Mix117
toppk106
Austin Orr116
Kabir Khan114
Ingmar Steen114
Zamir Amir104
Mickaël Guérin114

Showing top 25 of 287 contributors.

Most shared files

Files touched by the most people — shared code where changes are most likely to need coordination.

FileContributorsPrimary ownerOwner share
fastapi/routing.py52Sebastián Ramírez60.9%
fastapi/dependencies/utils.py50Sebastián Ramírez63.9%
pyproject.toml49Sebastián Ramírez61.3%
fastapi/applications.py42Sebastián Ramírez53.6%
fastapi/openapi/utils.py33Sebastián Ramírez58.9%
fastapi/encoders.py28Sebastián Ramírez46.6%
fastapi/utils.py27Sebastián Ramírez55.2%
fastapi/security/oauth2.py22Sebastián Ramírez52.1%
fastapi/openapi/docs.py18Sebastián Ramírez41.9%
tests/test_jsonable_encoder.py17Sebastián Ramírez46.7%
fastapi/security/http.py15Sebastián Ramírez56.2%
tests/test_application.py14Sebastián Ramírez48.0%
.github/workflows/test.yml13Sebastián Ramírez67.1%
fastapi/openapi/models.py13Sebastián Ramírez65.2%
fastapi/params.py13Sebastián Ramírez70.0%
tests/test_tutorial/test_security/test_tutorial005.py12Sebastián Ramírez59.3%
docs_src/security/tutorial005.py11Sebastián Ramírez46.7%
tests/test_tutorial/test_body/test_tutorial001.py11Sebastián Ramírez65.5%
fastapi/exceptions.py11Sebastián Ramírez57.1%
fastapi/security/api_key.py11Sebastián Ramírez57.7%