<commit_before>"""
WSGI config for project project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""

from gevent import monkey
monkey.patch_all()

from psycogreen.gevent import patch_psycopg  # noqa
patch_psycopg()

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")<commit_msg>Only gevent if GEVENT<commit_after>"""
WSGI config for project project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""
import os

if os.environ.get('GEVENT') == '1':
    from gevent import monkey
    monkey.patch_all()

    from psycogreen.gevent import patch_psycopg  # noqa
    patch_psycopg()

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
{'fraction_non_alphanumeric': 0.10113421550094517, 'fraction_numerical': 0.004725897920604915, 'mean_word_length': 5.017045454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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}}
{'dir': 'git-commits-cleaned', 'id': '3342488', 'n_tokens_mistral': 369, 'n_tokens_neox': 353, 'n_words': 95}