├── .gitignore ├── 01_intro.md ├── LICENSE ├── README.md ├── chapter_04_data_layer └── account_example │ └── account_example │ ├── account_example │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py │ ├── example │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_internalaccount_initial_amount.py │ │ ├── 0003_internalaccount_account_number.py │ │ ├── 0004_alter_internalaccount_initial_amount.py │ │ ├── 0005_auto_20210501_1843.py │ │ ├── 0006_remove_internalaccount_branch_id.py │ │ └── __init__.py │ ├── models.py │ ├── templates │ │ └── form.html │ ├── tests.py │ └── views.py │ └── manage.py ├── chapter_06_web_server ├── microposts │ ├── api │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── manage.py │ └── microposts │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py ├── nginx_example.conf └── uwsgi_example.uni ├── chapter_07_event_driven └── celery_example │ ├── README.md │ ├── celery_scheduled_tasks.py │ ├── celery_tasks.py │ ├── celerybeat-schedule │ ├── requirements.txt │ └── start_task.py ├── chapter_08_advanced_event_driven ├── README.md ├── base_tasks.py ├── check_results.py ├── image_tasks.py ├── requirements.txt ├── upload_video_and_start.py └── video_tasks.py ├── chapter_09_monolith_microservices ├── Dockerfile.sample ├── sometext.txt └── web_service │ ├── README.md │ ├── docker │ ├── Dockerfile │ ├── nginx.conf │ ├── start_server.sh │ └── uwsgi.ini │ ├── requirements.txt │ └── src │ ├── api │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ ├── models.py │ ├── serializers.py │ ├── tests.py │ ├── urls.py │ └── views.py │ ├── manage.py │ └── microposts │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── chapter_10_testing_and_tdd ├── advanced_pytest │ ├── pytest.ini │ ├── tdd_example.py │ ├── test_fixtures.py │ ├── test_fixtures2.py │ ├── test_group_classes.py │ └── test_markers.py ├── dependent │ ├── class_injection.py │ ├── dependent.py │ ├── dependent_injection.py │ ├── test_class_injection.py │ ├── test_dependency_injection_test.py │ ├── test_dependent.py │ ├── test_dependent_mocked_test.py │ └── test_other_mock.py ├── runners_example │ ├── test_pytest_example.py │ └── test_unittest_example.py └── tdd_example.py ├── chapter_11_package_management ├── call_naive_package.py ├── naive_package │ ├── __init__.py │ ├── module.py │ └── submodule │ │ ├── __init__.py │ │ └── submodule.py ├── requirements.txt ├── wheel_package │ ├── LICENSE │ ├── README │ ├── setup.py │ └── src │ │ ├── __init__.py │ │ ├── submodule │ │ ├── __init__.py │ │ └── submodule.py │ │ └── wheel_package.py └── wheel_package_compiled │ ├── LICENSE │ ├── README │ ├── setup.py │ └── src │ ├── __init__.py │ ├── submodule │ ├── __init__.py │ └── submodule.py │ ├── wheel_package.py │ └── wheel_package_compiled.pyx ├── chapter_12_logging ├── basic_logging.py ├── configured_logging.py ├── expected_error.py ├── protected_errors.py └── unexpected_error.py ├── chapter_13_metrics ├── microposts │ ├── api │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── manage.py │ └── microposts │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py ├── prometheus.yml └── requirements.txt ├── chapter_14_profiling ├── leonardo_1.py ├── leonardo_2.py ├── leonardo_2p.py ├── leonardo_3.py ├── primes_1.py ├── primes_2.py ├── primes_3.py ├── primes_4.py ├── server.py └── server_profile_by_request.py ├── chapter_15_debug ├── debug.py ├── microposts │ ├── api │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── manage.py │ └── microposts │ │ ├── __init__.py │ │ ├── asgi.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py └── requirements.txt └── pen_example.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/.gitignore -------------------------------------------------------------------------------- /01_intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/01_intro.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/README.md -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/account_example/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/account_example/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/account_example/asgi.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/account_example/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/account_example/settings.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/account_example/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/account_example/urls.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/account_example/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/account_example/wsgi.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/admin.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/apps.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/migrations/0001_initial.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/0002_internalaccount_initial_amount.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/migrations/0002_internalaccount_initial_amount.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/0003_internalaccount_account_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/migrations/0003_internalaccount_account_number.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/0004_alter_internalaccount_initial_amount.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/migrations/0004_alter_internalaccount_initial_amount.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/0005_auto_20210501_1843.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/migrations/0005_auto_20210501_1843.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/0006_remove_internalaccount_branch_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/migrations/0006_remove_internalaccount_branch_id.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/models.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/templates/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/templates/form.html -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/example/tests.py -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/example/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | # Create your views here. 4 | -------------------------------------------------------------------------------- /chapter_04_data_layer/account_example/account_example/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_04_data_layer/account_example/account_example/manage.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/admin.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/apps.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/migrations/0001_initial.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/models.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/serializers.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/tests.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/urls.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/api/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/api/views.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/manage.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/microposts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/microposts/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/microposts/asgi.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/microposts/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/microposts/settings.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/microposts/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/microposts/urls.py -------------------------------------------------------------------------------- /chapter_06_web_server/microposts/microposts/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/microposts/microposts/wsgi.py -------------------------------------------------------------------------------- /chapter_06_web_server/nginx_example.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/nginx_example.conf -------------------------------------------------------------------------------- /chapter_06_web_server/uwsgi_example.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_06_web_server/uwsgi_example.uni -------------------------------------------------------------------------------- /chapter_07_event_driven/celery_example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_07_event_driven/celery_example/README.md -------------------------------------------------------------------------------- /chapter_07_event_driven/celery_example/celery_scheduled_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_07_event_driven/celery_example/celery_scheduled_tasks.py -------------------------------------------------------------------------------- /chapter_07_event_driven/celery_example/celery_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_07_event_driven/celery_example/celery_tasks.py -------------------------------------------------------------------------------- /chapter_07_event_driven/celery_example/celerybeat-schedule: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_07_event_driven/celery_example/celerybeat-schedule -------------------------------------------------------------------------------- /chapter_07_event_driven/celery_example/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_07_event_driven/celery_example/requirements.txt -------------------------------------------------------------------------------- /chapter_07_event_driven/celery_example/start_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_07_event_driven/celery_example/start_task.py -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_08_advanced_event_driven/README.md -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/base_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_08_advanced_event_driven/base_tasks.py -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/check_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_08_advanced_event_driven/check_results.py -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/image_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_08_advanced_event_driven/image_tasks.py -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/requirements.txt: -------------------------------------------------------------------------------- 1 | celery[redis] 2 | click 3 | boto3 4 | moviepy 5 | -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/upload_video_and_start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_08_advanced_event_driven/upload_video_and_start.py -------------------------------------------------------------------------------- /chapter_08_advanced_event_driven/video_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_08_advanced_event_driven/video_tasks.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/Dockerfile.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/Dockerfile.sample -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/sometext.txt: -------------------------------------------------------------------------------- 1 | Some example text 2 | -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/README.md -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/docker/Dockerfile -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/docker/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/docker/nginx.conf -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/docker/start_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/docker/start_server.sh -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/docker/uwsgi.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/docker/uwsgi.ini -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/requirements.txt -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/admin.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/apps.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/migrations/0001_initial.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/models.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/serializers.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/tests.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/urls.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/api/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/api/views.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/manage.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/microposts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/microposts/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/microposts/asgi.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/microposts/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/microposts/settings.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/microposts/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/microposts/urls.py -------------------------------------------------------------------------------- /chapter_09_monolith_microservices/web_service/src/microposts/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_09_monolith_microservices/web_service/src/microposts/wsgi.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/advanced_pytest/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/advanced_pytest/pytest.ini -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/advanced_pytest/tdd_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/advanced_pytest/tdd_example.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/advanced_pytest/test_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/advanced_pytest/test_fixtures.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/advanced_pytest/test_fixtures2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/advanced_pytest/test_fixtures2.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/advanced_pytest/test_group_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/advanced_pytest/test_group_classes.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/advanced_pytest/test_markers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/advanced_pytest/test_markers.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/class_injection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/class_injection.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/dependent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/dependent.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/dependent_injection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/dependent_injection.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/test_class_injection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/test_class_injection.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/test_dependency_injection_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/test_dependency_injection_test.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/test_dependent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/test_dependent.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/test_dependent_mocked_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/test_dependent_mocked_test.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/dependent/test_other_mock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/dependent/test_other_mock.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/runners_example/test_pytest_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/runners_example/test_pytest_example.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/runners_example/test_unittest_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/runners_example/test_unittest_example.py -------------------------------------------------------------------------------- /chapter_10_testing_and_tdd/tdd_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_10_testing_and_tdd/tdd_example.py -------------------------------------------------------------------------------- /chapter_11_package_management/call_naive_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/call_naive_package.py -------------------------------------------------------------------------------- /chapter_11_package_management/naive_package/__init__.py: -------------------------------------------------------------------------------- 1 | from .module import some_function 2 | -------------------------------------------------------------------------------- /chapter_11_package_management/naive_package/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/naive_package/module.py -------------------------------------------------------------------------------- /chapter_11_package_management/naive_package/submodule/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_11_package_management/naive_package/submodule/submodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/naive_package/submodule/submodule.py -------------------------------------------------------------------------------- /chapter_11_package_management/requirements.txt: -------------------------------------------------------------------------------- 1 | requests==2.26.0 2 | pint==0.17 3 | -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package/LICENSE -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package/README -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package/setup.py -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/src/__init__.py: -------------------------------------------------------------------------------- 1 | from .module import some_function 2 | -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/src/submodule/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/src/submodule/submodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package/src/submodule/submodule.py -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package/src/wheel_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package/src/wheel_package.py -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package_compiled/LICENSE -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package_compiled/README -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package_compiled/setup.py -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/src/__init__.py: -------------------------------------------------------------------------------- 1 | from .module import some_function 2 | -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/src/submodule/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/src/submodule/submodule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package_compiled/src/submodule/submodule.py -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/src/wheel_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package_compiled/src/wheel_package.py -------------------------------------------------------------------------------- /chapter_11_package_management/wheel_package_compiled/src/wheel_package_compiled.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_11_package_management/wheel_package_compiled/src/wheel_package_compiled.pyx -------------------------------------------------------------------------------- /chapter_12_logging/basic_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_12_logging/basic_logging.py -------------------------------------------------------------------------------- /chapter_12_logging/configured_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_12_logging/configured_logging.py -------------------------------------------------------------------------------- /chapter_12_logging/expected_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_12_logging/expected_error.py -------------------------------------------------------------------------------- /chapter_12_logging/protected_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_12_logging/protected_errors.py -------------------------------------------------------------------------------- /chapter_12_logging/unexpected_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_12_logging/unexpected_error.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/admin.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/apps.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/migrations/0001_initial.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/models.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/serializers.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/tests.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/urls.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/api/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/api/views.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/manage.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/microposts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/microposts/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/microposts/asgi.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/microposts/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/microposts/settings.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/microposts/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/microposts/urls.py -------------------------------------------------------------------------------- /chapter_13_metrics/microposts/microposts/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/microposts/microposts/wsgi.py -------------------------------------------------------------------------------- /chapter_13_metrics/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/prometheus.yml -------------------------------------------------------------------------------- /chapter_13_metrics/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_13_metrics/requirements.txt -------------------------------------------------------------------------------- /chapter_14_profiling/leonardo_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/leonardo_1.py -------------------------------------------------------------------------------- /chapter_14_profiling/leonardo_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/leonardo_2.py -------------------------------------------------------------------------------- /chapter_14_profiling/leonardo_2p.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/leonardo_2p.py -------------------------------------------------------------------------------- /chapter_14_profiling/leonardo_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/leonardo_3.py -------------------------------------------------------------------------------- /chapter_14_profiling/primes_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/primes_1.py -------------------------------------------------------------------------------- /chapter_14_profiling/primes_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/primes_2.py -------------------------------------------------------------------------------- /chapter_14_profiling/primes_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/primes_3.py -------------------------------------------------------------------------------- /chapter_14_profiling/primes_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/primes_4.py -------------------------------------------------------------------------------- /chapter_14_profiling/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/server.py -------------------------------------------------------------------------------- /chapter_14_profiling/server_profile_by_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_14_profiling/server_profile_by_request.py -------------------------------------------------------------------------------- /chapter_15_debug/debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/debug.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/admin.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/apps.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/migrations/0001_initial.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/models.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/serializers.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/tests.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/urls.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/api/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/api/views.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/manage.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/microposts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter_15_debug/microposts/microposts/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/microposts/asgi.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/microposts/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/microposts/settings.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/microposts/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/microposts/urls.py -------------------------------------------------------------------------------- /chapter_15_debug/microposts/microposts/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/microposts/microposts/wsgi.py -------------------------------------------------------------------------------- /chapter_15_debug/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/chapter_15_debug/requirements.txt -------------------------------------------------------------------------------- /pen_example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Architecture-Patterns/HEAD/pen_example.yaml --------------------------------------------------------------------------------