<jupyter_start><jupyter_text>WSGI Application for Django<jupyter_code># export
import os

from django.conf import settings
from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "will_it_saturate.django.settings")

from will_it_saturate.django import urls


def create_app_filesystem():
    urls.urlpatterns = urls.urlpatterns_sync_filesystem
    return get_wsgi_application()


def create_app_minio():
    urls.urlpatterns = urls.urlpatterns_sync_minio
    return get_wsgi_application()


application = get_wsgi_application()
# hide
# dont_test

from nbdev.export import notebook2script

notebook2script()<jupyter_output>Converted 00_index.ipynb.
Converted 01_host.ipynb.
Converted 02_file.ipynb.
Converted 03_registry.ipynb.
Converted 04_epochs.ipynb.
Converted 10_servers.ipynb.
Converted 11_fastapi_main.ipynb.
Converted 12_django_views.ipynb.
Converted 13_django_handlers.ipynb.
Converted 14_django_http.ipynb.
Converted 15_django_asgi.ipynb.
Converted 15_django_async_settings.ipynb.
Converted 15_django_settings.ipynb.
Converted 15_django_urls.ipynb.
Converted 15_django_wsgi.ipynb.
Converted 16_servers_started_locally.ipynb.
Converted 16_servers_started_via_docker.ipynb.
Converted 20_clients.ipynb.
Converted 21_benchmark_client_implementations.ipynb.
Converted 22_gevent_client.ipynb.
Converted 30_control_server.ipynb.
Converted 31_control_client.ipynb.
Converted 32_control_cli.ipynb.
Converted 40_results.ipynb.
Converted 41_repositories.ipynb.
Converted 42_sqlite_repository.ipynb.
Converted 50_benchmark_without_benchmark.ipynb.
Converted 51_benchmark_remote_control_server.ipynb.
Converted 52_benchmark_fr[...]
{'fraction_non_alphanumeric': 0.06523040095751047, 'fraction_numerical': 0.03590664272890485, 'mean_word_length': 7.236453201970443, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '268196', 'license': 'Apache-2.0', 'n_tokens_mistral': 690, 'n_tokens_neox': 623, 'n_words': 99, 'path': '15_django_wsgi.ipynb', 'repo_name': 'ephes/will_it_saturate', 'size': '1671'}