<commit_before>=====
Keybase Verification
=====

Keybase Verification is a simple Django app to allow easy verification of your domain for [keybase.io](http://keybase.io).
For each site, you will be able to create an record containing the verification information required by Keybase

Quick start
-----------

1. Add "keybase_verification" and "django.contrib.sites" to your INSTALLED_APPS setting like this::

    ```PYTHON
    INSTALLED_APPS = [
        ...
        'django.contrib.sites',
        'keybase_verification',
    ]
    ```

2. Include the polls URLs in your project urls.py like this::

    ```python
    from keybase_verification.views import KeybaseVerificationView

    urlpatterns = [
        ...
        url(r'^keybase.txt', KeybaseVerificationView.as_view()),
        url(r'^.well-known/keybase.txt', KeybaseVerificationView.as_view()),
    ]
    ```

3. Run `python manage.py migrate` to create the polls models.

4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a site with the URL you are wanting to verify (in this case 127.0.0.1), then create a Keybase Verification for a particular site (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/keybase.txt or http://127.0.0.1:8000/.well-known/keybase.txt to view your proof.<commit_msg>Better formatting on code snippets<commit_after>=====
Keybase Verification
=====

Keybase Verification is a simple Django app to allow easy verification of your domain for [keybase.io](http://keybase.io).
For each site, you will be able to create an record containing the verification information required by Keybase

Quick start
-----------

1. Add "keybase_verification" and "django.contrib.sites" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'django.contrib.sites',
        'keybase_verification',
    ]

2. Include the polls URLs in your project urls.py like this::

    from keybase_verification.views import KeybaseVerificationView

    urlpatterns = [
        ...
        url(r'^keybase.txt', KeybaseVerificationView.as_view()),
        url(r'^.well-known/keybase.txt', KeybaseVerificationView.as_view()),
    ]

3. Run `python manage.py migrate` to create the polls models.

4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a site with the URL you are wanting to verify (in this case 127.0.0.1), then create a Keybase Verification for a particular site (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/keybase.txt or http://127.0.0.1:8000/.well-known/keybase.txt to view your proof.
{'fraction_non_alphanumeric': 0.1138996138996139, 'fraction_numerical': 0.03166023166023166, 'mean_word_length': 3.296849087893864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '4059224', 'n_tokens_mistral': 832, 'n_tokens_neox': 756, 'n_words': 267}