<commit_before>"""
Application Blueprint
=====================

**Fabric environment:**

.. code-block:: yaml

    blueprints:
      - blues.app

    settings:
      app:
        project: foobar                               # Name of the application, used as username, home, etc.
        git_url: <EMAIL>:foo/bar.git[@branch]  # Git repository to clone
        # git_branch: master                          # Branch to clone, if not specified in `git_url` setting
        # git_source: ./                              # Relative path within repository added to python path (Default: src/)

        # virtualenv: false                           # Enable virtualenv and pip requirements (Default: true)
        # requirements: requirements/live.txt         # Pip requirements file to install (Default: requirements.txt)
        # system_dependencies:                        # List of debian packages to install
        #   - build-essential  # gcc
        #   - zlib1g-dev       # PIL, png
        #   - libjpeg62-dev    # PIL, jpeg

        web:                                          # Enable web workers
          provider: uwsgi                             # Set web provider
          # module: foobar.wsgi                       # Set wsgi module (Default: django.core.handlers.wsgi:WSGIHandler())
          # socket: 127.0.0.1:3031                    # Set vassal socket (Default: 0.0.0.0:3030)
          # hosts:                                    # Optional host list restricting web provider installation
          #   - 10.0.0.10
          #   - 10.0.0.11
          #   - 10.0.0.12

        worker:                                       # Enable async workers
          provider: supervisor                        # Set worker provider (uwsgi or supervisor)
          module: foobar.celery                       # Set worker module to load
          # extensions:                               # Optional Worker framework specific extension configuration
          #   beat: 10.0.0.12                         # Celery: Restrict beat service to specific host
          #   flower: 10.0.0.12                       # Celery: Restrict flower service to specific host
          # hosts:                                    # Optional host list restricting worker provider installation
          #   - 10.0.0.10
          #   - 10.0.0.11
          #   - 10.0.0.12
          # queues:                                   # Optional queue definitions
          #   index:                                  # Queue name
          #     workers: 2                            # Number of queue workers
                # hosts:                              # Optional host list restriction for queue<commit_msg>[app] Add more system dependencies examples<commit_after>"""
Application Blueprint
=====================

**Fabric environment:**

.. code-block:: yaml

    blueprints:
      - blues.app

    settings:
      app:
        project: foobar                               # Name of the application, used as username, home, etc.
        git_url: <EMAIL>:foo/bar.git[@branch]  # Git repository to clone
        # git_branch: master                          # Branch to clone, if not specified in `git_url` setting
        # git_source: ./                              # Relative path within repository added to python path (Default: src/)

        # virtualenv: false                           # Enable virtualenv and pip requirements (Default: true)
        # requirements: requirements/live.txt         # Pip requirements file to install (Default: requirements.txt)
        # system_dependencies:                        # List of debian packages to install
        #   - build-essential  # gcc
        #   - libmemcached-dev # memcached
        #   - python-dev       # postgres, psycopg2
        #   - libpq-dev        # postgres, psycopg2
        #   - zlib1g-dev       # PIL, png
        #   - libjpeg62-dev    # PIL, jpeg
        #   - libxml2-dev      # lxml
        #   - libxslt-dev      # lxml

        web:                                          # Enable web workers
          provider: uwsgi                             # Set web provider
          # module: foobar.wsgi                       # Set wsgi module (Default: django.core.handlers.wsgi:WSGIHandler())
          # socket: 127.0.0.1:3031                    # Set vassal socket (Default: 0.0.0.0:3030)
          # hosts:                                    # Optional host list restricting web provider installation
          #   - 10.0.0.10
          #   - 10.0.0.11
          #   - 10.0.0.12

        worker:                                       # Enable async workers
          provider: supervisor                        # Set worker provider (uwsgi or supervisor)
          module: foobar.celery                       # Set worker module to load
          # extensions:                               # Optional Worker framework specific extension configuration
          #   beat: 10.0.0.12                         # Celery: Restrict beat service to specific host
          #   flower: 10.0.0.12                       # Celery: Restrict flower service to specific host
          # hosts:                                    # Optional host list restricting worker provider installation
          #   - 10.0.0.10
          #   - 10.0.0.11
          #   - 10.0.0.12
          # queues:                                   # Optional queue definitions
          #   index:                                  # Queue name
          #     workers: 2                            # Number of queue workers
                # hosts:                              # Optional host list restriction for queue
{'fraction_non_alphanumeric': 0.07837599293909973, 'fraction_numerical': 0.02524271844660194, 'mean_word_length': 1.1063197026022304, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 20, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7003718', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1286, 'n_words': 400}