├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── feature_request.md └── workflows │ └── ci.yaml ├── .gitignore ├── AGENTS.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── cookiecutter.json ├── docs └── example │ └── cookiecutter-fastapi-cli.svg ├── sample └── pregnancy-model │ ├── .env.example │ ├── .github │ └── workflows │ │ └── ci.yaml │ ├── .gitignore │ ├── .pylintrc │ ├── Dockerfile │ ├── Makefile │ ├── README.md │ ├── app │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ └── routes │ │ │ ├── __init__.py │ │ │ ├── api.py │ │ │ └── predictor.py │ ├── core │ │ ├── __init__.py │ │ ├── config.py │ │ ├── errors.py │ │ ├── events.py │ │ ├── logging.py │ │ └── paginator.py │ ├── main.py │ ├── models │ │ └── prediction.py │ └── services │ │ └── predict.py │ ├── compare.sh │ ├── docker-compose.yml │ ├── ml │ ├── __init__.py │ ├── data │ │ ├── __init__.py │ │ └── make_dataset.py │ ├── features │ │ ├── __init__.py │ │ └── build_features.py │ └── model │ │ ├── examples │ │ └── example.json │ │ └── pregnancy_model.py │ ├── notebooks │ └── .gitkeep │ ├── pyproject.toml │ ├── tests │ ├── __init__.py │ └── test_pagination_behavior.py │ └── uv.lock ├── setup.py └── {{cookiecutter.project_slug}} ├── .env.example ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── .pylintrc ├── Dockerfile ├── Makefile ├── README.md ├── app ├── __init__.py ├── api │ ├── __init__.py │ └── routes │ │ ├── __init__.py │ │ ├── api.py │ │ └── predictor.py ├── core │ ├── __init__.py │ ├── config.py │ ├── errors.py │ ├── events.py │ ├── logging.py │ └── paginator.py ├── db.py ├── main.py ├── models │ ├── log.py │ └── prediction.py └── services │ └── predict.py ├── docker-compose.yml ├── ml ├── __init__.py ├── data │ ├── __init__.py │ └── make_dataset.py ├── features │ ├── __init__.py │ └── build_features.py └── model │ ├── .gitkeep │ └── examples │ └── example.json ├── notebooks └── .gitkeep ├── pyproject.toml └── tests ├── __init__.py ├── test_api_predictor.py ├── test_config_and_errors.py ├── test_events_and_main.py ├── test_pagination_behavior.py ├── test_predict_service.py ├── test_predictor.py └── test_request_logging.py /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/.gitignore -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/AGENTS.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/README.md -------------------------------------------------------------------------------- /cookiecutter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/cookiecutter.json -------------------------------------------------------------------------------- /docs/example/cookiecutter-fastapi-cli.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/docs/example/cookiecutter-fastapi-cli.svg -------------------------------------------------------------------------------- /sample/pregnancy-model/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/.env.example -------------------------------------------------------------------------------- /sample/pregnancy-model/.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /sample/pregnancy-model/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/.gitignore -------------------------------------------------------------------------------- /sample/pregnancy-model/.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/.pylintrc -------------------------------------------------------------------------------- /sample/pregnancy-model/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/Dockerfile -------------------------------------------------------------------------------- /sample/pregnancy-model/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/Makefile -------------------------------------------------------------------------------- /sample/pregnancy-model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/README.md -------------------------------------------------------------------------------- /sample/pregnancy-model/app/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.1.0" 2 | -------------------------------------------------------------------------------- /sample/pregnancy-model/app/api/__init__.py: -------------------------------------------------------------------------------- 1 | # mpmqtcc -------------------------------------------------------------------------------- /sample/pregnancy-model/app/api/routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/app/api/routes/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/api/routes/api.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/api/routes/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/api/routes/predictor.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/core/config.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/core/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/core/errors.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/core/events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/core/events.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/core/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/core/logging.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/core/paginator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/core/paginator.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/main.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/models/prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/models/prediction.py -------------------------------------------------------------------------------- /sample/pregnancy-model/app/services/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/app/services/predict.py -------------------------------------------------------------------------------- /sample/pregnancy-model/compare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/compare.sh -------------------------------------------------------------------------------- /sample/pregnancy-model/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/docker-compose.yml -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/data/make_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/ml/data/make_dataset.py -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/features/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/features/build_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/ml/features/build_features.py -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/model/examples/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/ml/model/examples/example.json -------------------------------------------------------------------------------- /sample/pregnancy-model/ml/model/pregnancy_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/ml/model/pregnancy_model.py -------------------------------------------------------------------------------- /sample/pregnancy-model/notebooks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/pyproject.toml -------------------------------------------------------------------------------- /sample/pregnancy-model/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sample/pregnancy-model/tests/test_pagination_behavior.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/tests/test_pagination_behavior.py -------------------------------------------------------------------------------- /sample/pregnancy-model/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/sample/pregnancy-model/uv.lock -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/setup.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/.env.example -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/.gitignore -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/.pylintrc -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/Dockerfile -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/Makefile -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/README.md -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/__init__.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/api/__init__.py: -------------------------------------------------------------------------------- 1 | # mpmqtcc 2 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/api/routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/api/routes/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/api/routes/api.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/api/routes/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/api/routes/predictor.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/core/config.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/core/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/core/errors.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/core/events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/core/events.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/core/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/core/logging.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/core/paginator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/core/paginator.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/db.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/main.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/models/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/models/log.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/models/prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/models/prediction.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/app/services/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/app/services/predict.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/docker-compose.yml -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/data/make_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/ml/data/make_dataset.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/features/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/features/build_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/ml/features/build_features.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/model/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/ml/model/examples/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/ml/model/examples/example.json -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/notebooks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/pyproject.toml -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/__init__.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_api_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_api_predictor.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_config_and_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_config_and_errors.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_events_and_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_events_and_main.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_pagination_behavior.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_pagination_behavior.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_predict_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_predict_service.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_predictor.py -------------------------------------------------------------------------------- /{{cookiecutter.project_slug}}/tests/test_request_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arthurhenrique/cookiecutter-fastapi/HEAD/{{cookiecutter.project_slug}}/tests/test_request_logging.py --------------------------------------------------------------------------------