├── .editorconfig ├── .github └── workflows │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── OpenSans-ExtraBold.ttf ├── cat.jpg └── coffee-shop.jpg ├── chapter02 ├── __init__.py ├── chapter02_asyncio_01.py ├── chapter02_asyncio_02.py ├── chapter02_asyncio_03.py ├── chapter02_basics_01.py ├── chapter02_basics_02.py ├── chapter02_basics_03.py ├── chapter02_basics_04.py ├── chapter02_basics_05.py ├── chapter02_basics_module.py ├── chapter02_classes_objects_01.py ├── chapter02_classes_objects_02.py ├── chapter02_classes_objects_03.py ├── chapter02_classes_objects_04.py ├── chapter02_classes_objects_05.py ├── chapter02_classes_objects_06.py ├── chapter02_classes_objects_07.py ├── chapter02_classes_objects_08.py ├── chapter02_classes_objects_09.py ├── chapter02_list_comprehensions_01.py ├── chapter02_list_comprehensions_02.py ├── chapter02_list_comprehensions_03.py ├── chapter02_list_comprehensions_04.py ├── chapter02_list_comprehensions_05.py ├── chapter02_list_comprehensions_06.py ├── chapter02_list_comprehensions_07.py ├── chapter02_type_hints_01.py ├── chapter02_type_hints_02.py ├── chapter02_type_hints_03.py ├── chapter02_type_hints_04.py ├── chapter02_type_hints_05.py ├── chapter02_type_hints_06.py ├── chapter02_type_hints_07.py ├── chapter02_type_hints_08.py └── chapter02_type_hints_09.py ├── chapter03 ├── __init__.py ├── chapter03_custom_response_01.py ├── chapter03_custom_response_02.py ├── chapter03_custom_response_03.py ├── chapter03_custom_response_04.py ├── chapter03_custom_response_05.py ├── chapter03_file_uploads_01.py ├── chapter03_file_uploads_02.py ├── chapter03_file_uploads_03.py ├── chapter03_first_endpoint_01.py ├── chapter03_form_data_01.py ├── chapter03_headers_cookies_01.py ├── chapter03_headers_cookies_02.py ├── chapter03_headers_cookies_03.py ├── chapter03_path_parameters_01.py ├── chapter03_path_parameters_02.py ├── chapter03_path_parameters_03.py ├── chapter03_path_parameters_04.py ├── chapter03_path_parameters_05.py ├── chapter03_path_parameters_06.py ├── chapter03_query_parameters_01.py ├── chapter03_query_parameters_02.py ├── chapter03_query_parameters_03.py ├── chapter03_raise_errors_01.py ├── chapter03_raise_errors_02.py ├── chapter03_request_body_01.py ├── chapter03_request_body_02.py ├── chapter03_request_body_03.py ├── chapter03_request_body_04.py ├── chapter03_request_object_01.py ├── chapter03_response_parameter_01.py ├── chapter03_response_parameter_02.py ├── chapter03_response_parameter_03.py ├── chapter03_response_path_parameters_01.py ├── chapter03_response_path_parameters_02.py ├── chapter03_response_path_parameters_03.py └── chapter03_response_path_parameters_04.py ├── chapter03_project ├── __init__.py ├── app.py ├── db.py ├── routers │ ├── __init__.py │ ├── posts.py │ └── users.py └── schemas │ ├── __init__.py │ ├── post.py │ └── user.py ├── chapter04 ├── __init__.py ├── chapter04_custom_validation_01.py ├── chapter04_custom_validation_02.py ├── chapter04_custom_validation_03.py ├── chapter04_fields_validation_01.py ├── chapter04_fields_validation_02.py ├── chapter04_model_inheritance_01.py ├── chapter04_model_inheritance_02.py ├── chapter04_model_inheritance_03.py ├── chapter04_optional_fields_default_values_01.py ├── chapter04_optional_fields_default_values_02.py ├── chapter04_pydantic_types_01.py ├── chapter04_standard_field_types_01.py ├── chapter04_standard_field_types_02.py ├── chapter04_standard_field_types_03.py ├── chapter04_working_pydantic_objects_01.py ├── chapter04_working_pydantic_objects_02.py ├── chapter04_working_pydantic_objects_03.py ├── chapter04_working_pydantic_objects_04.py └── chapter04_working_pydantic_objects_05.py ├── chapter05 ├── __init__.py ├── chapter05_class_dependency_01.py ├── chapter05_class_dependency_02.py ├── chapter05_function_dependency_01.py ├── chapter05_function_dependency_02.py ├── chapter05_function_dependency_03.py ├── chapter05_global_dependency_01.py ├── chapter05_path_dependency_01.py ├── chapter05_router_dependency_01.py ├── chapter05_router_dependency_02.py └── chapter05_what_is_dependency_injection_01.py ├── chapter06 ├── __init__.py ├── mongodb │ ├── __init__.py │ ├── app.py │ ├── database.py │ └── models.py ├── mongodb_relationship │ ├── __init__.py │ ├── app.py │ ├── database.py │ └── models.py ├── sqlalchemy │ ├── __init__.py │ ├── app.py │ ├── database.py │ ├── models.py │ └── schemas.py └── sqlalchemy_relationship │ ├── __init__.py │ ├── alembic.ini │ ├── alembic │ ├── README │ ├── env.py │ ├── script.py.mako │ └── versions │ │ └── eabd3f9c5b64_initial_migration.py │ ├── app.py │ ├── database.py │ ├── models.py │ └── schemas.py ├── chapter07 ├── __init__.py ├── authentication │ ├── __init__.py │ ├── app.py │ ├── authentication.py │ ├── database.py │ ├── models.py │ ├── password.py │ └── schemas.py ├── chapter07_api_key_header.py ├── chapter07_api_key_header_dependency.py ├── cors │ ├── __init__.py │ ├── app_with_cors.py │ ├── app_without_cors.py │ └── index.html └── csrf │ ├── __init__.py │ ├── app.py │ ├── authentication.py │ ├── database.py │ ├── index.html │ ├── models.py │ ├── password.py │ └── schemas.py ├── chapter08 ├── __init__.py ├── broadcast │ ├── __init__.py │ ├── app.py │ ├── index.html │ └── script.js ├── concurrency │ ├── __init__.py │ ├── app.py │ ├── index.html │ └── script.js ├── dependencies │ ├── __init__.py │ ├── app.py │ ├── index.html │ └── script.js └── echo │ ├── __init__.py │ ├── app.py │ ├── index.html │ └── script.js ├── chapter09 ├── __init__.py ├── chapter09_app.py ├── chapter09_app_external_api.py ├── chapter09_app_external_api_test.py ├── chapter09_app_post.py ├── chapter09_app_post_test.py ├── chapter09_app_test.py ├── chapter09_db_test.py ├── chapter09_introduction.py ├── chapter09_introduction_fixtures.py ├── chapter09_introduction_fixtures_test.py ├── chapter09_introduction_pytest.py ├── chapter09_introduction_pytest_parametrize.py ├── chapter09_introduction_unittest.py ├── chapter09_websocket.py └── chapter09_websocket_test.py ├── chapter10 └── project │ ├── .dockerignore │ ├── Dockerfile │ ├── alembic.ini │ ├── alembic │ ├── README │ ├── env.py │ ├── script.py.mako │ └── versions │ │ └── 8ec4a348eb4e_initial_migration.py │ ├── prestart.sh │ ├── project │ ├── __init__.py │ ├── app.py │ ├── database.py │ ├── models.py │ ├── schemas.py │ └── settings.py │ └── requirements.txt ├── chapter11 ├── __init__.py ├── chapter11_compare_operations.py ├── chapter11_cross_validation.py ├── chapter11_fit_predict.py ├── chapter11_load_digits.py ├── chapter11_pipelines.py └── museums.csv ├── chapter12 ├── __init__.py ├── chapter12_async_not_async.py ├── chapter12_caching.py ├── chapter12_dump_joblib.py ├── chapter12_load_joblib.py ├── chapter12_prediction_endpoint.py └── newsgroups_model.joblib ├── chapter13 ├── __init__.py ├── chapter13_api.py ├── chapter13_object_detection.py └── websocket_object_detection │ ├── __init__.py │ ├── app.py │ ├── assets │ └── script.js │ └── index.html ├── chapter14 ├── __init__.py ├── basic │ ├── __init__.py │ ├── api.py │ ├── text_to_image.py │ └── worker.py └── complete │ ├── __init__.py │ ├── api.py │ ├── database.py │ ├── models.py │ ├── schemas.py │ ├── settings.py │ ├── storage.py │ ├── text_to_image.py │ └── worker.py ├── chapter15 ├── __init__.py ├── agent-config.yaml ├── chapter15_logs_01.py ├── chapter15_logs_02.py ├── chapter15_logs_03.py ├── chapter15_logs_04.py ├── chapter15_logs_05.py ├── chapter15_logs_06.py ├── chapter15_metrics_01.py ├── chapter15_metrics_02.py ├── chapter15_metrics_03.py ├── chapter15_metrics_04.py ├── images │ ├── Figure 15.01.png │ ├── Figure 15.02.png │ ├── Figure 15.03.png │ ├── Figure 15.04.png │ ├── Figure 15.05.png │ ├── Figure 15.06.png │ ├── Figure 15.07.png │ ├── Figure 15.08.png │ ├── Figure 15.09.png │ ├── Figure 15.10.png │ ├── Figure 15.11.png │ ├── Figure 15.12.png │ ├── Figure 15.13.png │ ├── Figure 15.14.png │ ├── Figure 15.15.png │ ├── Figure 15.16.png │ └── Figure 15.17.png └── logger.py ├── justfile ├── pyproject.toml ├── requirements.txt └── tests ├── __init__.py ├── conftest.py ├── test_chapter02.py ├── test_chapter03.py ├── test_chapter03_project.py ├── test_chapter04.py ├── test_chapter05.py ├── test_chapter06_mongodb.py ├── test_chapter06_mongodb_relationship.py ├── test_chapter06_sqlalchemy.py ├── test_chapter06_sqlalchemy_relationship.py ├── test_chapter07.py ├── test_chapter07_authentication.py ├── test_chapter07_cors.py ├── test_chapter07_csrf.py ├── test_chapter08.py ├── test_chapter11.py ├── test_chapter12.py ├── test_chapter13.py ├── test_chapter14.py └── test_chapter15.py /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/README.md -------------------------------------------------------------------------------- /assets/OpenSans-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/assets/OpenSans-ExtraBold.ttf -------------------------------------------------------------------------------- /assets/cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/assets/cat.jpg -------------------------------------------------------------------------------- /assets/coffee-shop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/assets/coffee-shop.jpg -------------------------------------------------------------------------------- /chapter02/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter02/chapter02_asyncio_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_asyncio_01.py -------------------------------------------------------------------------------- /chapter02/chapter02_asyncio_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_asyncio_02.py -------------------------------------------------------------------------------- /chapter02/chapter02_asyncio_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_asyncio_03.py -------------------------------------------------------------------------------- /chapter02/chapter02_basics_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_basics_01.py -------------------------------------------------------------------------------- /chapter02/chapter02_basics_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_basics_02.py -------------------------------------------------------------------------------- /chapter02/chapter02_basics_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_basics_03.py -------------------------------------------------------------------------------- /chapter02/chapter02_basics_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_basics_04.py -------------------------------------------------------------------------------- /chapter02/chapter02_basics_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_basics_05.py -------------------------------------------------------------------------------- /chapter02/chapter02_basics_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_basics_module.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_01.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_02.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_03.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_04.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_05.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_06.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_06.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_07.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_07.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_08.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_08.py -------------------------------------------------------------------------------- /chapter02/chapter02_classes_objects_09.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_classes_objects_09.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_01.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_02.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_03.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_04.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_05.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_06.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_06.py -------------------------------------------------------------------------------- /chapter02/chapter02_list_comprehensions_07.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_list_comprehensions_07.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_01.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_02.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_03.py: -------------------------------------------------------------------------------- 1 | l: list[int | float] = [1, 2.5, 3.14, 5] 2 | -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_04.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_05.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_06.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_06.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_07.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_07.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_08.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_08.py -------------------------------------------------------------------------------- /chapter02/chapter02_type_hints_09.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter02/chapter02_type_hints_09.py -------------------------------------------------------------------------------- /chapter03/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter03/chapter03_custom_response_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_custom_response_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_custom_response_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_custom_response_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_custom_response_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_custom_response_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_custom_response_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_custom_response_04.py -------------------------------------------------------------------------------- /chapter03/chapter03_custom_response_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_custom_response_05.py -------------------------------------------------------------------------------- /chapter03/chapter03_file_uploads_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_file_uploads_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_file_uploads_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_file_uploads_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_file_uploads_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_file_uploads_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_first_endpoint_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_first_endpoint_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_form_data_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_form_data_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_headers_cookies_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_headers_cookies_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_headers_cookies_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_headers_cookies_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_headers_cookies_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_headers_cookies_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_path_parameters_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_path_parameters_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_path_parameters_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_path_parameters_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_path_parameters_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_path_parameters_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_path_parameters_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_path_parameters_04.py -------------------------------------------------------------------------------- /chapter03/chapter03_path_parameters_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_path_parameters_05.py -------------------------------------------------------------------------------- /chapter03/chapter03_path_parameters_06.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_path_parameters_06.py -------------------------------------------------------------------------------- /chapter03/chapter03_query_parameters_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_query_parameters_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_query_parameters_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_query_parameters_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_query_parameters_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_query_parameters_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_raise_errors_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_raise_errors_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_raise_errors_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_raise_errors_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_request_body_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_request_body_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_request_body_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_request_body_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_request_body_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_request_body_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_request_body_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_request_body_04.py -------------------------------------------------------------------------------- /chapter03/chapter03_request_object_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_request_object_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_parameter_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_parameter_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_parameter_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_parameter_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_parameter_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_parameter_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_path_parameters_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_path_parameters_01.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_path_parameters_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_path_parameters_02.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_path_parameters_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_path_parameters_03.py -------------------------------------------------------------------------------- /chapter03/chapter03_response_path_parameters_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03/chapter03_response_path_parameters_04.py -------------------------------------------------------------------------------- /chapter03_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter03_project/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03_project/app.py -------------------------------------------------------------------------------- /chapter03_project/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03_project/db.py -------------------------------------------------------------------------------- /chapter03_project/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter03_project/routers/posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03_project/routers/posts.py -------------------------------------------------------------------------------- /chapter03_project/routers/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03_project/routers/users.py -------------------------------------------------------------------------------- /chapter03_project/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter03_project/schemas/post.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03_project/schemas/post.py -------------------------------------------------------------------------------- /chapter03_project/schemas/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter03_project/schemas/user.py -------------------------------------------------------------------------------- /chapter04/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter04/chapter04_custom_validation_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_custom_validation_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_custom_validation_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_custom_validation_02.py -------------------------------------------------------------------------------- /chapter04/chapter04_custom_validation_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_custom_validation_03.py -------------------------------------------------------------------------------- /chapter04/chapter04_fields_validation_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_fields_validation_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_fields_validation_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_fields_validation_02.py -------------------------------------------------------------------------------- /chapter04/chapter04_model_inheritance_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_model_inheritance_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_model_inheritance_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_model_inheritance_02.py -------------------------------------------------------------------------------- /chapter04/chapter04_model_inheritance_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_model_inheritance_03.py -------------------------------------------------------------------------------- /chapter04/chapter04_optional_fields_default_values_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_optional_fields_default_values_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_optional_fields_default_values_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_optional_fields_default_values_02.py -------------------------------------------------------------------------------- /chapter04/chapter04_pydantic_types_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_pydantic_types_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_standard_field_types_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_standard_field_types_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_standard_field_types_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_standard_field_types_02.py -------------------------------------------------------------------------------- /chapter04/chapter04_standard_field_types_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_standard_field_types_03.py -------------------------------------------------------------------------------- /chapter04/chapter04_working_pydantic_objects_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_working_pydantic_objects_01.py -------------------------------------------------------------------------------- /chapter04/chapter04_working_pydantic_objects_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_working_pydantic_objects_02.py -------------------------------------------------------------------------------- /chapter04/chapter04_working_pydantic_objects_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_working_pydantic_objects_03.py -------------------------------------------------------------------------------- /chapter04/chapter04_working_pydantic_objects_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_working_pydantic_objects_04.py -------------------------------------------------------------------------------- /chapter04/chapter04_working_pydantic_objects_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter04/chapter04_working_pydantic_objects_05.py -------------------------------------------------------------------------------- /chapter05/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter05/chapter05_class_dependency_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_class_dependency_01.py -------------------------------------------------------------------------------- /chapter05/chapter05_class_dependency_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_class_dependency_02.py -------------------------------------------------------------------------------- /chapter05/chapter05_function_dependency_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_function_dependency_01.py -------------------------------------------------------------------------------- /chapter05/chapter05_function_dependency_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_function_dependency_02.py -------------------------------------------------------------------------------- /chapter05/chapter05_function_dependency_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_function_dependency_03.py -------------------------------------------------------------------------------- /chapter05/chapter05_global_dependency_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_global_dependency_01.py -------------------------------------------------------------------------------- /chapter05/chapter05_path_dependency_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_path_dependency_01.py -------------------------------------------------------------------------------- /chapter05/chapter05_router_dependency_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_router_dependency_01.py -------------------------------------------------------------------------------- /chapter05/chapter05_router_dependency_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_router_dependency_02.py -------------------------------------------------------------------------------- /chapter05/chapter05_what_is_dependency_injection_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter05/chapter05_what_is_dependency_injection_01.py -------------------------------------------------------------------------------- /chapter06/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter06/mongodb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter06/mongodb/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/mongodb/app.py -------------------------------------------------------------------------------- /chapter06/mongodb/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/mongodb/database.py -------------------------------------------------------------------------------- /chapter06/mongodb/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/mongodb/models.py -------------------------------------------------------------------------------- /chapter06/mongodb_relationship/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter06/mongodb_relationship/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/mongodb_relationship/app.py -------------------------------------------------------------------------------- /chapter06/mongodb_relationship/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/mongodb_relationship/database.py -------------------------------------------------------------------------------- /chapter06/mongodb_relationship/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/mongodb_relationship/models.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter06/sqlalchemy/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy/app.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy/database.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy/models.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy/schemas.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/alembic.ini -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/alembic/env.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/alembic/script.py.mako -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/alembic/versions/eabd3f9c5b64_initial_migration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/alembic/versions/eabd3f9c5b64_initial_migration.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/app.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/database.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/models.py -------------------------------------------------------------------------------- /chapter06/sqlalchemy_relationship/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter06/sqlalchemy_relationship/schemas.py -------------------------------------------------------------------------------- /chapter07/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter07/authentication/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter07/authentication/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/authentication/app.py -------------------------------------------------------------------------------- /chapter07/authentication/authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/authentication/authentication.py -------------------------------------------------------------------------------- /chapter07/authentication/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/authentication/database.py -------------------------------------------------------------------------------- /chapter07/authentication/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/authentication/models.py -------------------------------------------------------------------------------- /chapter07/authentication/password.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/authentication/password.py -------------------------------------------------------------------------------- /chapter07/authentication/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/authentication/schemas.py -------------------------------------------------------------------------------- /chapter07/chapter07_api_key_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/chapter07_api_key_header.py -------------------------------------------------------------------------------- /chapter07/chapter07_api_key_header_dependency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/chapter07_api_key_header_dependency.py -------------------------------------------------------------------------------- /chapter07/cors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter07/cors/app_with_cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/cors/app_with_cors.py -------------------------------------------------------------------------------- /chapter07/cors/app_without_cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/cors/app_without_cors.py -------------------------------------------------------------------------------- /chapter07/cors/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/cors/index.html -------------------------------------------------------------------------------- /chapter07/csrf/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter07/csrf/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/app.py -------------------------------------------------------------------------------- /chapter07/csrf/authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/authentication.py -------------------------------------------------------------------------------- /chapter07/csrf/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/database.py -------------------------------------------------------------------------------- /chapter07/csrf/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/index.html -------------------------------------------------------------------------------- /chapter07/csrf/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/models.py -------------------------------------------------------------------------------- /chapter07/csrf/password.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/password.py -------------------------------------------------------------------------------- /chapter07/csrf/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter07/csrf/schemas.py -------------------------------------------------------------------------------- /chapter08/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter08/broadcast/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter08/broadcast/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/broadcast/app.py -------------------------------------------------------------------------------- /chapter08/broadcast/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/broadcast/index.html -------------------------------------------------------------------------------- /chapter08/broadcast/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/broadcast/script.js -------------------------------------------------------------------------------- /chapter08/concurrency/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter08/concurrency/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/concurrency/app.py -------------------------------------------------------------------------------- /chapter08/concurrency/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/concurrency/index.html -------------------------------------------------------------------------------- /chapter08/concurrency/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/concurrency/script.js -------------------------------------------------------------------------------- /chapter08/dependencies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter08/dependencies/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/dependencies/app.py -------------------------------------------------------------------------------- /chapter08/dependencies/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/dependencies/index.html -------------------------------------------------------------------------------- /chapter08/dependencies/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/dependencies/script.js -------------------------------------------------------------------------------- /chapter08/echo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter08/echo/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/echo/app.py -------------------------------------------------------------------------------- /chapter08/echo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/echo/index.html -------------------------------------------------------------------------------- /chapter08/echo/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter08/echo/script.js -------------------------------------------------------------------------------- /chapter09/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter09/chapter09_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_app.py -------------------------------------------------------------------------------- /chapter09/chapter09_app_external_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_app_external_api.py -------------------------------------------------------------------------------- /chapter09/chapter09_app_external_api_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_app_external_api_test.py -------------------------------------------------------------------------------- /chapter09/chapter09_app_post.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_app_post.py -------------------------------------------------------------------------------- /chapter09/chapter09_app_post_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_app_post_test.py -------------------------------------------------------------------------------- /chapter09/chapter09_app_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_app_test.py -------------------------------------------------------------------------------- /chapter09/chapter09_db_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_db_test.py -------------------------------------------------------------------------------- /chapter09/chapter09_introduction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_introduction.py -------------------------------------------------------------------------------- /chapter09/chapter09_introduction_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_introduction_fixtures.py -------------------------------------------------------------------------------- /chapter09/chapter09_introduction_fixtures_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_introduction_fixtures_test.py -------------------------------------------------------------------------------- /chapter09/chapter09_introduction_pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_introduction_pytest.py -------------------------------------------------------------------------------- /chapter09/chapter09_introduction_pytest_parametrize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_introduction_pytest_parametrize.py -------------------------------------------------------------------------------- /chapter09/chapter09_introduction_unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_introduction_unittest.py -------------------------------------------------------------------------------- /chapter09/chapter09_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_websocket.py -------------------------------------------------------------------------------- /chapter09/chapter09_websocket_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter09/chapter09_websocket_test.py -------------------------------------------------------------------------------- /chapter10/project/.dockerignore: -------------------------------------------------------------------------------- 1 | .env 2 | .DS_Store 3 | *.db 4 | -------------------------------------------------------------------------------- /chapter10/project/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/Dockerfile -------------------------------------------------------------------------------- /chapter10/project/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/alembic.ini -------------------------------------------------------------------------------- /chapter10/project/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /chapter10/project/alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/alembic/env.py -------------------------------------------------------------------------------- /chapter10/project/alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/alembic/script.py.mako -------------------------------------------------------------------------------- /chapter10/project/alembic/versions/8ec4a348eb4e_initial_migration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/alembic/versions/8ec4a348eb4e_initial_migration.py -------------------------------------------------------------------------------- /chapter10/project/prestart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/prestart.sh -------------------------------------------------------------------------------- /chapter10/project/project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter10/project/project/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/project/app.py -------------------------------------------------------------------------------- /chapter10/project/project/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/project/database.py -------------------------------------------------------------------------------- /chapter10/project/project/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/project/models.py -------------------------------------------------------------------------------- /chapter10/project/project/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/project/schemas.py -------------------------------------------------------------------------------- /chapter10/project/project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/project/settings.py -------------------------------------------------------------------------------- /chapter10/project/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter10/project/requirements.txt -------------------------------------------------------------------------------- /chapter11/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter11/chapter11_compare_operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter11/chapter11_compare_operations.py -------------------------------------------------------------------------------- /chapter11/chapter11_cross_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter11/chapter11_cross_validation.py -------------------------------------------------------------------------------- /chapter11/chapter11_fit_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter11/chapter11_fit_predict.py -------------------------------------------------------------------------------- /chapter11/chapter11_load_digits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter11/chapter11_load_digits.py -------------------------------------------------------------------------------- /chapter11/chapter11_pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter11/chapter11_pipelines.py -------------------------------------------------------------------------------- /chapter11/museums.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter11/museums.csv -------------------------------------------------------------------------------- /chapter12/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter12/chapter12_async_not_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter12/chapter12_async_not_async.py -------------------------------------------------------------------------------- /chapter12/chapter12_caching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter12/chapter12_caching.py -------------------------------------------------------------------------------- /chapter12/chapter12_dump_joblib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter12/chapter12_dump_joblib.py -------------------------------------------------------------------------------- /chapter12/chapter12_load_joblib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter12/chapter12_load_joblib.py -------------------------------------------------------------------------------- /chapter12/chapter12_prediction_endpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter12/chapter12_prediction_endpoint.py -------------------------------------------------------------------------------- /chapter12/newsgroups_model.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter12/newsgroups_model.joblib -------------------------------------------------------------------------------- /chapter13/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter13/chapter13_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter13/chapter13_api.py -------------------------------------------------------------------------------- /chapter13/chapter13_object_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter13/chapter13_object_detection.py -------------------------------------------------------------------------------- /chapter13/websocket_object_detection/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter13/websocket_object_detection/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter13/websocket_object_detection/app.py -------------------------------------------------------------------------------- /chapter13/websocket_object_detection/assets/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter13/websocket_object_detection/assets/script.js -------------------------------------------------------------------------------- /chapter13/websocket_object_detection/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter13/websocket_object_detection/index.html -------------------------------------------------------------------------------- /chapter14/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter14/basic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter14/basic/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/basic/api.py -------------------------------------------------------------------------------- /chapter14/basic/text_to_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/basic/text_to_image.py -------------------------------------------------------------------------------- /chapter14/basic/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/basic/worker.py -------------------------------------------------------------------------------- /chapter14/complete/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter14/complete/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/api.py -------------------------------------------------------------------------------- /chapter14/complete/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/database.py -------------------------------------------------------------------------------- /chapter14/complete/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/models.py -------------------------------------------------------------------------------- /chapter14/complete/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/schemas.py -------------------------------------------------------------------------------- /chapter14/complete/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/settings.py -------------------------------------------------------------------------------- /chapter14/complete/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/storage.py -------------------------------------------------------------------------------- /chapter14/complete/text_to_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/text_to_image.py -------------------------------------------------------------------------------- /chapter14/complete/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter14/complete/worker.py -------------------------------------------------------------------------------- /chapter15/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter15/agent-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/agent-config.yaml -------------------------------------------------------------------------------- /chapter15/chapter15_logs_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_logs_01.py -------------------------------------------------------------------------------- /chapter15/chapter15_logs_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_logs_02.py -------------------------------------------------------------------------------- /chapter15/chapter15_logs_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_logs_03.py -------------------------------------------------------------------------------- /chapter15/chapter15_logs_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_logs_04.py -------------------------------------------------------------------------------- /chapter15/chapter15_logs_05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_logs_05.py -------------------------------------------------------------------------------- /chapter15/chapter15_logs_06.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_logs_06.py -------------------------------------------------------------------------------- /chapter15/chapter15_metrics_01.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_metrics_01.py -------------------------------------------------------------------------------- /chapter15/chapter15_metrics_02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_metrics_02.py -------------------------------------------------------------------------------- /chapter15/chapter15_metrics_03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_metrics_03.py -------------------------------------------------------------------------------- /chapter15/chapter15_metrics_04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/chapter15_metrics_04.py -------------------------------------------------------------------------------- /chapter15/images/Figure 15.01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.01.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.02.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.03.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.04.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.05.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.06.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.07.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.08.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.09.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.10.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.11.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.12.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.13.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.14.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.15.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.16.png -------------------------------------------------------------------------------- /chapter15/images/Figure 15.17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/images/Figure 15.17.png -------------------------------------------------------------------------------- /chapter15/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/chapter15/logger.py -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/justfile -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_chapter02.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter02.py -------------------------------------------------------------------------------- /tests/test_chapter03.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter03.py -------------------------------------------------------------------------------- /tests/test_chapter03_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter03_project.py -------------------------------------------------------------------------------- /tests/test_chapter04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter04.py -------------------------------------------------------------------------------- /tests/test_chapter05.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter05.py -------------------------------------------------------------------------------- /tests/test_chapter06_mongodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter06_mongodb.py -------------------------------------------------------------------------------- /tests/test_chapter06_mongodb_relationship.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter06_mongodb_relationship.py -------------------------------------------------------------------------------- /tests/test_chapter06_sqlalchemy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter06_sqlalchemy.py -------------------------------------------------------------------------------- /tests/test_chapter06_sqlalchemy_relationship.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter06_sqlalchemy_relationship.py -------------------------------------------------------------------------------- /tests/test_chapter07.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter07.py -------------------------------------------------------------------------------- /tests/test_chapter07_authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter07_authentication.py -------------------------------------------------------------------------------- /tests/test_chapter07_cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter07_cors.py -------------------------------------------------------------------------------- /tests/test_chapter07_csrf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter07_csrf.py -------------------------------------------------------------------------------- /tests/test_chapter08.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter08.py -------------------------------------------------------------------------------- /tests/test_chapter11.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter11.py -------------------------------------------------------------------------------- /tests/test_chapter12.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter12.py -------------------------------------------------------------------------------- /tests/test_chapter13.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter13.py -------------------------------------------------------------------------------- /tests/test_chapter14.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter14.py -------------------------------------------------------------------------------- /tests/test_chapter15.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI-Second-Edition/HEAD/tests/test_chapter15.py --------------------------------------------------------------------------------