<commit_before>from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.security import Security, SQLAlchemyUserDatastore, login_required


app = Flask(__name__, static_folder='static', static_url_path='/static')
app.config.from_object('mailflow.settings')
db = SQLAlchemy(app)
import views, models

user_datastore = SQLAlchemyUserDatastore(db, models.User, models.Role)
security = Security(app, user_datastore)


def main():
    app.run(debug = True)<commit_msg>Add base admin view<commit_after>from flask import Flask
from flask.ext.admin import Admin
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.security import Security, SQLAlchemyUserDatastore, login_required

app = Flask(__name__, static_folder='static', static_url_path='/static')
admin = Admin(app, name='Mailflow')
app.config.from_object('mailflow.settings')
db = SQLAlchemy(app)

import views, models

user_datastore = SQLAlchemyUserDatastore(db, models.User, models.Role)
security = Security(app, user_datastore)

def main():
    app.run(debug = True)
{'fraction_non_alphanumeric': 0.10351377018043685, 'fraction_numerical': 0.0, 'mean_word_length': 7.0458015267175576, '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': '5605125', 'n_tokens_mistral': 351, 'n_tokens_neox': 330, 'n_words': 79}