<commit_before>from django.conf import urls

from tastypie import api

from . import resources

v1_api = api.Api(api_name='v1')
v1_api.register(resources.StreamResource())

urlpatterns = urls.patterns(
    '',

    urls.url(r'^', urls.include(v1_api.urls)),
)<commit_msg>Fix urlpatterns for Django 1.10.<commit_after>from django.conf import urls

from tastypie import api

from . import resources

v1_api = api.Api(api_name='v1')
v1_api.register(resources.StreamResource())

urlpatterns = [
    urls.url(r'^', urls.include(v1_api.urls)),
]
{'fraction_non_alphanumeric': 0.13358070500927643, 'fraction_numerical': 0.02040816326530612, 'mean_word_length': 5.136363636363637, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '2611355', 'n_tokens_mistral': 205, 'n_tokens_neox': 200, 'n_words': 39}