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.
| Owner | Files | Commits | Bar | Most-changed |
|---|---|---|---|---|
| Sebastián Ramírez | 577 | 1,302 | docs_src/bigger_applications/app/routers/users.pydocs_src/query_params_str_validations/tutorial005.pydocs_src/query_params_str_validations/tutorial005_non_an.pyand 574 more | |
| Yurii Motov | 97 | 98 | tests/test_top_level_security_scheme_in_openapi.pydocs_src/additional_responses/__init__.pydocs_src/additional_status_codes/__init__.pyand 94 more | |
| Alejandra | 2 | 3 | docs_src/generate_clients/tutorial004.js.github/DISCUSSION_TEMPLATE/translations.yml | |
| Felix Böhm | 2 | 2 | docs_src/async_tests/__init__.pytests/test_tutorial/test_async_tests/__init__.py | |
| [object Object] | 2 | 2 | tests/forward_reference_type.pytests/test_wrapped_method_forward_reference.py | |
| alexmitelman | 2 | 2 | tests/test_tutorial/test_metadata/__init__.pytests/test_tutorial/test_settings/__init__.py | |
| Albin Skott | 1 | 1 | tests/test_dependency_pep695.py | |
| Austin Orr | 1 | 1 | tests/test_tutorial/test_schema_extra_example/__init__.py | |
| Ben Dayan | 1 | 1 | tests/test_tutorial/test_openapi_callbacks/__init__.py | |
| David Montague | 1 | 1 | tests/test_tutorial/test_custom_request_and_route/__init__.py | |
| 18 other owners | 18 | 18 |
The 100 most-changed of 704 single-owner files
| File | Sole owner | Commits |
|---|---|---|
| docs_src/bigger_applications/app/routers/users.py | Sebastián Ramírez | 11 |
| docs_src/query_params_str_validations/tutorial005.py | Sebastián Ramírez | 10 |
| docs_src/query_params_str_validations/tutorial005_non_an.py | Sebastián Ramírez | 10 |
| docs_src/path_params_numeric_validations/tutorial006_non_an.py | Sebastián Ramírez | 9 |
| docs_src/python_types/tutorial008.py | Sebastián Ramírez | 9 |
| docs_src/header_params/tutorial003.py | Sebastián Ramírez | 8 |
| docs_src/request_files/tutorial002.py | Sebastián Ramírez | 8 |
| docs_src/body_updates/tutorial001.py | Sebastián Ramírez | 7 |
| docs_src/python_types/tutorial006.py | Sebastián Ramírez | 7 |
| docs_src/query_params_str_validations/tutorial011.py | Sebastián Ramírez | 7 |
| docs_src/query_params_str_validations/tutorial012.py | Sebastián Ramírez | 7 |
| tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py | Sebastián Ramírez | 7 |
| tests/test_tutorial/test_response_model/test_tutorial003_03.py | Sebastián Ramírez | 7 |
| scripts/deploy_docs_status.py | Sebastián Ramírez | 7 |
| tests/test_dependency_overrides.py | Sebastián Ramírez | 7 |
| docs_src/bigger_applications/app/__init__.py | Sebastián Ramírez | 6 |
| tests/test_tutorial/test_testing/test_tutorial003.py | Sebastián Ramírez | 6 |
| tests/test_union_form_normalization.py | Sebastián Ramírez | 6 |
| scripts/sponsors.py | Sebastián Ramírez | 6 |
| docs_src/body_nested_models/tutorial009.py | Sebastián Ramírez | 5 |
| docs_src/extra_models/tutorial004.py | Sebastián Ramírez | 5 |
| docs_src/extra_models/tutorial005.py | Sebastián Ramírez | 5 |
| docs_src/query_params_str_validations/tutorial004_non_an.py | Sebastián Ramírez | 5 |
| docs_src/query_params_str_validations/tutorial006.py | Sebastián Ramírez | 5 |
| docs_src/query_params_str_validations/tutorial010_non_an.py | Sebastián Ramírez | 5 |
| docs_src/request_files/tutorial003.py | Sebastián Ramírez | 5 |
| docs_src/schema_extra_example/tutorial004_non_an.py | Sebastián Ramírez | 5 |
| docs_src/settings/tutorial001.py | Sebastián Ramírez | 5 |
| tests/test_tutorial/test_custom_response/test_tutorial009.py | Sebastián Ramírez | 5 |
| tests/test_tutorial/test_custom_response/test_tutorial009b.py | Sebastián Ramírez | 5 |
| tests/test_tutorial/test_testing/test_tutorial002.py | Sebastián Ramírez | 5 |
| tests/test_router_include_context.py | Sebastián Ramírez | 5 |
| tests/test_duplicate_models_openapi.py | Sebastián Ramírez | 5 |
| tests/test_read_with_orm_mode.py | Sebastián Ramírez | 5 |
| docs_src/bigger_applications/app/internal/__init__.py | Sebastián Ramírez | 4 |
| docs_src/bigger_applications/app/internal/admin.py | Sebastián Ramírez | 4 |
| docs_src/extra_models/tutorial003.py | Sebastián Ramírez | 4 |
| docs_src/generate_clients/tutorial001.py | Sebastián Ramírez | 4 |
| docs_src/generate_clients/tutorial002.py | Sebastián Ramírez | 4 |
| docs_src/generate_clients/tutorial003.py | Sebastián Ramírez | 4 |
| docs_src/header_param_models/tutorial001.py | Sebastián Ramírez | 4 |
| docs_src/header_param_models/tutorial002.py | Sebastián Ramírez | 4 |
| docs_src/header_param_models/tutorial003.py | Sebastián Ramírez | 4 |
| docs_src/python_types/tutorial013.py | Sebastián Ramírez | 4 |
| docs_src/query_param_models/tutorial001.py | Sebastián Ramírez | 4 |
| docs_src/query_param_models/tutorial002.py | Sebastián Ramírez | 4 |
| docs_src/query_params_str_validations/tutorial004.py | Sebastián Ramírez | 4 |
| docs_src/query_params_str_validations/tutorial006_non_an.py | Sebastián Ramírez | 4 |
| docs_src/query_params_str_validations/tutorial008_non_an.py | Sebastián Ramírez | 4 |
| docs_src/query_params_str_validations/tutorial010.py | Sebastián Ramírez | 4 |
| docs_src/query_params_str_validations/tutorial013.py | Sebastián Ramírez | 4 |
| docs_src/schema_extra_example/tutorial001.py | Sebastián Ramírez | 4 |
| docs_src/schema_extra_example/tutorial002.py | Sebastián Ramírez | 4 |
| docs_src/schema_extra_example/tutorial003_non_an.py | Sebastián Ramírez | 4 |
| docs_src/schema_extra_example/tutorial004.py | Sebastián Ramírez | 4 |
| docs_src/separate_openapi_schemas/tutorial001.py | Sebastián Ramírez | 4 |
| docs_src/separate_openapi_schemas/tutorial002.py | Sebastián Ramírez | 4 |
| docs_src/sql_databases/tutorial001.py | Sebastián Ramírez | 4 |
| docs_src/sql_databases/tutorial002.py | Sebastián Ramírez | 4 |
| tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py | Sebastián Ramírez | 4 |
| tests/test_tutorial/test_dependencies/test_tutorial008e.py | Sebastián Ramírez | 4 |
| tests/test_callable_endpoint.py | Sebastián Ramírez | 4 |
| tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py | Sebastián Ramírez | 4 |
| tests/benchmarks/test_general_performance.py | Sebastián Ramírez | 4 |
| fastapi/middleware/asyncexitstack.py | Sebastián Ramírez | 4 |
| tests/test_dependency_yield_except_httpexception.py | Sebastián Ramírez | 4 |
| scripts/playwright/request_form_models/image01.py | Sebastián Ramírez | 4 |
| .github/ISSUE_TEMPLATE/config.yml | Sebastián Ramírez | 4 |
| fastapi/security/base.py | Sebastián Ramírez | 4 |
| docs_src/path_params/tutorial005.py | Sebastián Ramírez | 3 |
| docs_src/app_testing/app_a/__init__.py | Sebastián Ramírez | 3 |
| docs_src/behind_a_proxy/tutorial003.py | Sebastián Ramírez | 3 |
| docs_src/behind_a_proxy/tutorial004.py | Sebastián Ramírez | 3 |
| docs_src/body_fields/tutorial001_non_an.py | Sebastián Ramírez | 3 |
| docs_src/body_multiple_params/tutorial001_non_an.py | Sebastián Ramírez | 3 |
| docs_src/body_multiple_params/tutorial003_non_an.py | Sebastián Ramírez | 3 |
| docs_src/body_multiple_params/tutorial004_non_an.py | Sebastián Ramírez | 3 |
| docs_src/body_multiple_params/tutorial005_non_an.py | Sebastián Ramírez | 3 |
| docs_src/cookie_params/tutorial001_non_an.py | Sebastián Ramírez | 3 |
| docs_src/custom_response/tutorial010.py | Sebastián Ramírez | 3 |
| docs_src/dependencies/tutorial005_non_an.py | Sebastián Ramírez | 3 |
| docs_src/extra_models/tutorial001.py | Sebastián Ramírez | 3 |
| docs_src/extra_models/tutorial002.py | Sebastián Ramírez | 3 |
| docs_src/header_params/tutorial001_non_an.py | Sebastián Ramírez | 3 |
| docs_src/header_params/tutorial003_non_an.py | Sebastián Ramírez | 3 |
| docs_src/path_operation_advanced_configuration/tutorial002.py | Sebastián Ramírez | 3 |
| docs_src/path_params_numeric_validations/tutorial001_non_an.py | Sebastián Ramírez | 3 |
| docs_src/path_params_numeric_validations/tutorial006.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial002_non_an.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial003_non_an.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial006c.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial006c_non_an.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial008.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial009_non_an.py | Sebastián Ramírez | 3 |
| docs_src/query_params_str_validations/tutorial011_non_an.py | Sebastián Ramírez | 3 |
| docs_src/request_files/tutorial001_02_non_an.py | Sebastián Ramírez | 3 |
| docs_src/schema_extra_example/tutorial003.py | Sebastián Ramírez | 3 |
| docs_src/stream_data/tutorial002.py | Sebastián Ramírez | 3 |
| tests/test_tutorial/test_request_form_models/test_tutorial003.py | Sebastián Ramírez | 3 |
| tests/test_tutorial/test_request_form_models/test_tutorial004.py | Sebastián Ramírez | 3 |
Ownership by author
Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.
| Author | Files owned | Solely owned | Files touched |
|---|---|---|---|
| Sebastián Ramírez | 1,093 | 577 | 1,144 |
| Yurii Motov | 136 | 97 | 362 |
| Yurii Karabas | 3 | 0 | 14 |
| Alejandra | 2 | 2 | 56 |
| Sofie Van Landeghem | 2 | 0 | 39 |
| alexmitelman | 2 | 2 | 6 |
| Steinthor Palsson | 2 | 0 | 5 |
| Felix Böhm | 2 | 2 | 4 |
| Valentyn | 2 | 0 | 4 |
| [object Object] | 2 | 2 | 3 |
| Jonathan Fulton | 1 | 1 | 179 |
| David Montague | 1 | 1 | 64 |
| Jonathan Ehwald | 1 | 1 | 15 |
| James Kaplan | 1 | 1 | 14 |
| Nadav Zingerman | 1 | 1 | 13 |
| Ben Dayan | 1 | 1 | 12 |
| Thomas Grainger | 1 | 0 | 9 |
| Nik | 1 | 1 | 7 |
| Mix | 1 | 1 | 7 |
| toppk | 1 | 0 | 6 |
| Austin Orr | 1 | 1 | 6 |
| Kabir Khan | 1 | 1 | 4 |
| Ingmar Steen | 1 | 1 | 4 |
| Zamir Amir | 1 | 0 | 4 |
| Mickaël Guérin | 1 | 1 | 4 |
Most shared files
Files touched by the most people — shared code where changes are most likely to need coordination.
| File | Contributors | Primary owner | Owner share |
|---|---|---|---|
| fastapi/routing.py | 52 | Sebastián Ramírez | 60.9% |
| fastapi/dependencies/utils.py | 50 | Sebastián Ramírez | 63.9% |
| pyproject.toml | 49 | Sebastián Ramírez | 61.3% |
| fastapi/applications.py | 42 | Sebastián Ramírez | 53.6% |
| fastapi/openapi/utils.py | 33 | Sebastián Ramírez | 58.9% |
| fastapi/encoders.py | 28 | Sebastián Ramírez | 46.6% |
| fastapi/utils.py | 27 | Sebastián Ramírez | 55.2% |
| fastapi/security/oauth2.py | 22 | Sebastián Ramírez | 52.1% |
| fastapi/openapi/docs.py | 18 | Sebastián Ramírez | 41.9% |
| tests/test_jsonable_encoder.py | 17 | Sebastián Ramírez | 46.7% |
| fastapi/security/http.py | 15 | Sebastián Ramírez | 56.2% |
| tests/test_application.py | 14 | Sebastián Ramírez | 48.0% |
| .github/workflows/test.yml | 13 | Sebastián Ramírez | 67.1% |
| fastapi/openapi/models.py | 13 | Sebastián Ramírez | 65.2% |
| fastapi/params.py | 13 | Sebastián Ramírez | 70.0% |
| tests/test_tutorial/test_security/test_tutorial005.py | 12 | Sebastián Ramírez | 59.3% |
| docs_src/security/tutorial005.py | 11 | Sebastián Ramírez | 46.7% |
| tests/test_tutorial/test_body/test_tutorial001.py | 11 | Sebastián Ramírez | 65.5% |
| fastapi/exceptions.py | 11 | Sebastián Ramírez | 57.1% |
| fastapi/security/api_key.py | 11 | Sebastián Ramírez | 57.7% |
How FastAPI compares with other Python open source projects →
How FastAPI ranks among Python open source projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
The smallest workflow
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true