<commit_before># coding: utf-8
from django.conf.urls import url, patterns
from rest_framework import routers
from parkkeeper import views

router = routers.DefaultRouter()
router.register('host', views.HostViewSet)

urlpatterns = router.urls

urlpatterns += patterns('parkkeeper.views',
    url(r'^$', 'index'),
)
<commit_msg>resource using example on frontend<commit_after># coding: utf-8
from django.conf.urls import url, patterns
from rest_framework import routers
from parkkeeper import views

router = routers.DefaultRouter()
router.register('host', views.HostViewSet)


urlpatterns = patterns('parkkeeper.views',
    url(r'^$', 'index'),
)

urlpatterns += router.urls

{'fraction_non_alphanumeric': 0.11869436201780416, 'fraction_numerical': 0.002967359050445104, 'mean_word_length': 6.03125, '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': '2051799', 'n_tokens_mistral': 205, 'n_tokens_neox': 205, 'n_words': 56}