<commit_before># -*- coding: utf-8 -*-

from flask import Blueprint
import json
import core.views as Views
<<<<<<< HEAD
from core.base import res
=======
import core.apis as Apis

>>>>>>> 9f164a0fcefc043b3af64214bfa1919bec12278b
# Blueprint component
site = Blueprint(
    name='site',
    import_name=__name__,
    template_folder='templates',
    static_folder='static',
    static_url_path='/site',
    url_prefix=None,
)


# associate with views
site.add_url_rule('/',            view_func=Views.InTheatersView.as_view('index'))
site.add_url_rule('/login',       view_func=Views.LoginView.as_view('login'))
site.add_url_rule('/in-theaters', view_func=Views.InTheatersView.as_view('in-theaters'))
site.add_url_rule('/coming-soon', view_func=Views.ComingSoonView.as_view('coming-soon'))
site.add_url_rule('/rank',        view_func=Views.RankView.as_view('rank'))

# associate with apis
site.add_url_rule('/api/login',    view_func=Apis.LoginApi.as_view('login'))
site.add_url_rule('/api/register', view_func=Apis.RegisterApi.as_view('register'))
<commit_msg>updat<commit_after># -*- coding: utf-8 -*-

from flask import Blueprint
import json
import core.views as Views
from core.base import res
import core.apis as Apis

# Blueprint component
site = Blueprint(
    name='site',
    import_name=__name__,
    template_folder='templates',
    static_folder='static',
    static_url_path='/site',
    url_prefix=None,
)


# associate with views
site.add_url_rule('/',            view_func=Views.InTheatersView.as_view('index'))
site.add_url_rule('/login',       view_func=Views.LoginView.as_view('login'))
site.add_url_rule('/in-theaters', view_func=Views.InTheatersView.as_view('in-theaters'))
site.add_url_rule('/coming-soon', view_func=Views.ComingSoonView.as_view('coming-soon'))
site.add_url_rule('/rank',        view_func=Views.RankView.as_view('rank'))

# associate with apis
site.add_url_rule('/api/login',    view_func=Apis.LoginApi.as_view('login'))
site.add_url_rule('/api/register', view_func=Apis.RegisterApi.as_view('register'))

{'fraction_non_alphanumeric': 0.15328109696376102, 'fraction_numerical': 0.012242899118511263, 'mean_word_length': 5.384375, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '6108841', 'n_tokens_mistral': 728, 'n_tokens_neox': 698, 'n_words': 104}