Beispiel #1
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hypergm_page = Blueprint("hypergm", __name__, template_folder='templates', static_folder="static")
hgm_logger = make_logger(hypergm_page)


@hypergm_page.context_processor
def body_class():
    return {'body_class': 'hypergm'}

import main

app.register_blueprint(hypergm_page, url_prefix="/Motives/Hypergeometric/Q")
Beispiel #2
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

artin_representations_page = Blueprint("artin_representations",
                                       __name__,
                                       template_folder='templates',
                                       static_folder="static")
artin_logger = make_logger("artin", hl=True)

artin_logger.info("Initializing Artin representations blueprint")


@artin_representations_page.context_processor
def body_class():
    return {'body_class': 'artin_representations'}


import main
assert main  # silence pyflakes

app.register_blueprint(artin_representations_page,
                       url_prefix="/ArtinRepresentation")
Beispiel #3
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

motive_page = Blueprint("motive", __name__, template_folder='templates', static_folder="static")
motive_logger = make_logger(motive_page)


@motive_page.context_processor
def body_class():
    return {'body_class': 'motive'}

import main

app.register_blueprint(motive_page, url_prefix="/Motive")
Beispiel #4
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

ec_page = Blueprint("ec", __name__, template_folder='templates', static_folder="static")
ec_logger = make_logger(ec_page)


@ec_page.context_processor
def body_class():
    return {'body_class': 'ec'}

#from elliptic_curves import *
import elliptic_curve

app.register_blueprint(ec_page, url_prefix="/EllipticCurve/Q")
Beispiel #5
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

characters_page = Blueprint("characters", __name__, template_folder='templates',
    static_folder="static")
logger = make_logger(characters_page)


@characters_page.context_processor
def body_class():
    return {'body_class': 'characters'}

import main

app.register_blueprint(characters_page, url_prefix="/Character")
Beispiel #6
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hmf_page = Blueprint("hmf",
                     __name__,
                     template_folder='templates',
                     static_folder="static")
hmf_logger = make_logger(hmf_page)


@hmf_page.context_processor
def body_class():
    return {'body_class': 'hmf'}


import hilbert_modular_form
assert hilbert_modular_form

app.register_blueprint(hmf_page, url_prefix="/ModularForm/GL2/TotallyReal")
Beispiel #7
0
# -*- coding: utf8 -*-

from lmfdb.base import app

import main
app.register_blueprint(main.mod, url_prefix="/LfunctionDB")
Beispiel #8
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

modlmf_page = Blueprint("modlmf",
                        __name__,
                        template_folder='templates',
                        static_folder="static")
modlmf_logger = make_logger(modlmf_page)


@modlmf_page.context_processor
def body_class():
    return {'body_class': 'modlmf'}


import main
assert main

app.register_blueprint(modlmf_page, url_prefix="/ModularForm/GL2/ModL")
Beispiel #9
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hmf_page = Blueprint("hmf", __name__, template_folder='templates', static_folder="static")
hmf_logger = make_logger(hmf_page)


@hmf_page.context_processor
def body_class():
    return {'body_class': 'hmf'}

import hilbert_modular_form

app.register_blueprint(hmf_page, url_prefix="/ModularForm/GL2/TotallyReal")
Beispiel #10
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hecke_algebras_page = Blueprint("hecke_algebras",
                                __name__,
                                template_folder='templates',
                                static_folder="static")
hecke_algebras_logger = make_logger(hecke_algebras_page)


@hecke_algebras_page.context_processor
def body_class():
    return {'body_class': 'hecke_algebras'}


import main
assert main

app.register_blueprint(hecke_algebras_page,
                       url_prefix="/ModularForm/GL2/Q/HeckeAlgebra")
Beispiel #11
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

smf_page = Blueprint( 'siegel_modular_forms', __name__,
                 template_folder = 'templates', static_folder = 'static')
smf_logger = make_logger( smf_page)

@smf_page.context_processor
def body_class():
    return { 'body_class': 'siegel_modular_forms'}

from siegel_modular_form import *

app.register_blueprint( smf_page, url_prefix ='/ModularForm/GSp/Q')
Beispiel #12
0
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

cmf_page = Blueprint("cmf",
                     __name__,
                     template_folder='templates',
                     static_folder="static")
cmf = cmf_page
cmf_logger = make_logger(cmf_page)

import main
assert main  # silence pyflakes

app.register_blueprint(cmf_page, url_prefix="/ModularForm/GL2/Q/holomorphic")
Beispiel #13
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

galois_groups_page = Blueprint("galois_groups",
                               __name__,
                               template_folder='templates',
                               static_folder="static")
logger = make_logger(galois_groups_page)


@galois_groups_page.context_processor
def body_class():
    return {'body_class': 'galois_groups'}


import main
assert main

app.register_blueprint(galois_groups_page, url_prefix="/GaloisGroup")
Beispiel #14
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

lattice_page = Blueprint("lattice", __name__, template_folder='templates', static_folder="static")
lattice_logger = make_logger(lattice_page)


@lattice_page.context_processor
def body_class():
    return {'body_class': 'lattice'}

import main

app.register_blueprint(lattice_page, url_prefix="/Lattice")
Beispiel #15
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

g2c_page = Blueprint("g2c",
                     __name__,
                     template_folder='templates',
                     static_folder="static")
g2c_logger = make_logger(g2c_page)
g2c_logger.info("Initializing genus 2 curves blueprint")


@g2c_page.context_processor
def body_class():
    return {'body_class': 'g2c'}


import genus2_curve

app.register_blueprint(g2c_page, url_prefix="/Genus2Curve")
Beispiel #16
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

local_fields_page = Blueprint("local_fields", __name__, template_folder='templates', static_folder="static")
logger = make_logger(local_fields_page)


@local_fields_page.context_processor
def body_class():
    return {'body_class': 'local_fields'}

import main

app.register_blueprint(local_fields_page, url_prefix="/LocalNumberField")
Beispiel #17
0
# -*- coding: utf-8 -*-

from main import login_page, login_manager, admin_required, housekeeping
assert admin_required # silence pyflakes
assert housekeeping # silence pyflakes

from lmfdb.base import app

# secret key, necessary for sessions, and sessions are
# in turn necessary for users to login
app.secret_key = '9af"]ßÄ!_°$2ha€42~µ…010'

login_manager.init_app(app)

app.register_blueprint(login_page, url_prefix="/users")
Beispiel #18
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

permutations_page = Blueprint("permutations", __name__, template_folder='templates', static_folder="static")
logger = make_logger(permutations_page)


@permutations_page.context_processor
def body_class():
    return {'body_class': 'Permutations'}

import main
assert main

app.register_blueprint(permutations_page, url_prefix="/Permutations")
Beispiel #19
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hiwf_page = Blueprint("hiwf", __name__, template_folder='templates', static_folder="static")
hiwf_logger = make_logger(hiwf_page)


@hiwf_page.context_processor
def body_class():
    return {'body_class': 'hiwf'}

import half_integral_form

app.register_blueprint(hiwf_page, url_prefix="/ModularForm/GL2/Q/holomorphic/half")


Beispiel #20
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

knowledge_page = Blueprint("knowledge", __name__, template_folder='templates')
logger = make_logger(knowledge_page)

import main
assert main

app.register_blueprint(knowledge_page, url_prefix="/knowledge")
Beispiel #21
0
from lmfdb.base import app

import inventory_app
app.register_blueprint(inventory_app.inventory_app, url_prefix = inventory_app.url_pref)
Beispiel #22
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

smf_page = Blueprint('smf',
                     __name__,
                     template_folder='templates',
                     static_folder='static')
smf_logger = make_logger(smf_page)


@smf_page.context_processor
def body_class():
    return {'body_class': 'smf'}


import siegel_modular_form
assert siegel_modular_form  #silence pyflakes

app.register_blueprint(smf_page, url_prefix='/ModularForm/GSp/Q')
Beispiel #23
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

motive_page = Blueprint("motive",
                        __name__,
                        template_folder='templates',
                        static_folder="static")
motive_logger = make_logger(motive_page)


@motive_page.context_processor
def body_class():
    return {'body_class': 'motive'}


import main
assert main  # silence pyflakes

app.register_blueprint(motive_page, url_prefix="/Motive")
Beispiel #24
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

l_function_page = Blueprint("l_functions", __name__, template_folder='templates', static_folder="static")
logger = make_logger("LF")


@l_function_page.context_processor
def body_class():
    return {'body_class': 'l_functions'}

import main

app.register_blueprint(l_function_page, url_prefix="/L")


## How to solve this redirection easily?
##
##@app.route("/Lfunction/")
##@app.route("/Lfunction/<arg1>/")
##@app.route("/Lfunction/<arg1>/<arg2>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/<arg7>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/<arg7>/<arg8>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/<arg7>/<arg8>/<arg9>/")
##@app.route("/L-function/")
Beispiel #25
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

knowledge_page = Blueprint("knowledge", __name__, template_folder='templates')
logger = make_logger(knowledge_page)

import main

app.register_blueprint(knowledge_page, url_prefix="/knowledge")
Beispiel #26
0
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

cmf_page = Blueprint("cmf", __name__, template_folder='templates', static_folder="static")
cmf = cmf_page
cmf_logger = make_logger(cmf_page)

import main
assert main # silence pyflakes

app.register_blueprint(cmf_page, url_prefix="/ModularForm/GL2/Q/holomorphic")
Beispiel #27
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

nf_page = Blueprint("number_fields", __name__, template_folder='templates', static_folder="static")
nf_logger = make_logger(nf_page)

@nf_page.context_processor
def body_class():
    return {'body_class': 'nf'}

from number_field import *

app.register_blueprint(nf_page, url_prefix="/NumberField")
Beispiel #28
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hecke_algebras_page = Blueprint("hecke_algebras", __name__, template_folder='templates', static_folder="static")
hecke_algebras_logger = make_logger(hecke_algebras_page)


@hecke_algebras_page.context_processor
def body_class():
    return {'body_class': 'hecke_algebras'}

import main
assert main

app.register_blueprint(hecke_algebras_page, url_prefix="/ModularForm/GL2/Q/HeckeAlgebra")
Beispiel #29
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

tensor_products_page = Blueprint(
    "tensor_products", __name__, template_folder='templates', static_folder="static")
tensor_products_logger = make_logger("tensor_products", hl=True)

@tensor_products_page.context_processor
def body_class():
    return {'body_class': 'tensor_products'}

import main
assert main #silence pyflakes

app.register_blueprint(tensor_products_page, url_prefix="/TensorProducts")
Beispiel #30
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

g2c_page = Blueprint("g2c", __name__, template_folder='templates',
        static_folder="static")
g2c_logger = make_logger(g2c_page)
g2c_logger.info("Initializing genus 2 curves blueprint")

@g2c_page.context_processor
def body_class():
    return {'body_class': 'g2c'}

import genus2_curve

app.register_blueprint(g2c_page, url_prefix="/Genus2Curve")
Beispiel #31
0
from lmfdb.base import app

import inventory_app

app.register_blueprint(inventory_app.inventory_app,
                       url_prefix=inventory_app.url_pref)
Beispiel #32
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

nfgg_page = Blueprint("number_field_galois_groups",
                      __name__,
                      template_folder='templates',
                      static_folder="static")
nfgg_logger = make_logger(nfgg_page)


@nfgg_page.context_processor
def body_class():
    return {'body_class': 'nfgg'}


import main

app.register_blueprint(nfgg_page, url_prefix="/NFGG")
Beispiel #33
0
# -*- coding: utf-8 -*-

from main import login_page, login_manager, admin_required, housekeeping
assert admin_required  # silence pyflakes
assert housekeeping  # silence pyflakes

from lmfdb.base import app

# secret key, necessary for sessions, and sessions are
# in turn necessary for users to login
app.secret_key = '9af"]ßÄ!_°$2ha€42~µ…010'

login_manager.init_app(app)

app.register_blueprint(login_page, url_prefix="/users")
Beispiel #34
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from flask import Blueprint

st_page = Blueprint("st", __name__, template_folder='templates', static_folder="static")

@st_page.context_processor
def body_class():
    return {'body_class': 'st'}

import main

assert main # silence pyflakes

app.register_blueprint(st_page, url_prefix="/SatoTateGroup")
Beispiel #35
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

lattice_page = Blueprint("lattice",
                         __name__,
                         template_folder='templates',
                         static_folder="static")
lattice_logger = make_logger(lattice_page)


@lattice_page.context_processor
def body_class():
    return {'body_class': 'lattice'}


import main
assert main

app.register_blueprint(lattice_page, url_prefix="/Lattice")
Beispiel #36
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

hiwf_page = Blueprint("hiwf",
                      __name__,
                      template_folder='templates',
                      static_folder="static")
hiwf_logger = make_logger(hiwf_page)


@hiwf_page.context_processor
def body_class():
    return {'body_class': 'hiwf'}


import half_integral_form

app.register_blueprint(hiwf_page,
                       url_prefix="/ModularForm/GL2/Q/holomorphic/half")
Beispiel #37
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from flask import Blueprint

st_page = Blueprint("st",
                    __name__,
                    template_folder='templates',
                    static_folder="static")


@st_page.context_processor
def body_class():
    return {'body_class': 'st'}


import main

assert main  # silence pyflakes

app.register_blueprint(st_page, url_prefix="/SatoTateGroup")
Beispiel #38
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

belyi_page = Blueprint("belyi",
                       __name__,
                       template_folder='templates',
                       static_folder="static")
belyi_logger = make_logger(belyi_page)


@belyi_page.context_processor
def body_class():
    return {'body_class': 'belyi'}


import main
assert main  # silence pyflakes

app.register_blueprint(belyi_page, url_prefix="/Belyi")
Beispiel #39
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

higher_genus_w_automorphisms_page = Blueprint("higher_genus_w_automorphisms",
                                       __name__, template_folder='templates',
                                       static_folder="static")
logger = make_logger(higher_genus_w_automorphisms_page)


@higher_genus_w_automorphisms_page.context_processor
def body_class():
    return {'body_class': 'higher_genus_w_automorphisms'}

import main
assert main # silence pyflakes

app.register_blueprint(higher_genus_w_automorphisms_page, url_prefix="/HigherGenus/C/Aut")
app.register_blueprint(higher_genus_w_automorphisms_page, url_prefix="/HigherGenus/C/aut")

Beispiel #40
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

modlmf_page = Blueprint("modlmf", __name__, template_folder="templates", static_folder="static")
modlmf_logger = make_logger(modlmf_page)


@modlmf_page.context_processor
def body_class():
    return {"body_class": "modlmf"}


import main

assert main

app.register_blueprint(modlmf_page, url_prefix="/ModularForm/GL2/ModL")
Beispiel #41
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

crystals_page = Blueprint("crystals",
                          __name__,
                          template_folder='templates',
                          static_folder="static")
logger = make_logger(crystals_page)


@crystals_page.context_processor
def body_class():
    return {'body_class': 'Crystals'}


import main
assert main  # silence pyflakes

app.register_blueprint(crystals_page, url_prefix="/Crystals")
Beispiel #42
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

crystals_page = Blueprint("crystals", __name__, template_folder='templates', static_folder="static")
logger = make_logger(crystals_page)


@crystals_page.context_processor
def body_class():
    return {'body_class': 'Crystals'}

import main

app.register_blueprint(crystals_page, url_prefix="/Crystals")
Beispiel #43
0
l_function_page = Blueprint("l_functions",
                            __name__,
                            template_folder='templates',
                            static_folder="static")
logger = make_logger("LF")


@l_function_page.context_processor
def body_class():
    return {'body_class': 'l_functions'}


import main

app.register_blueprint(l_function_page, url_prefix="/L")

## How to solve this redirection easily?
##
##@app.route("/Lfunction/")
##@app.route("/Lfunction/<arg1>/")
##@app.route("/Lfunction/<arg1>/<arg2>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/<arg7>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/<arg7>/<arg8>/")
##@app.route("/Lfunction/<arg1>/<arg2>/<arg3>/<arg4>/<arg5>/<arg6>/<arg7>/<arg8>/<arg9>/")
##@app.route("/L-function/")
##@app.route("/L-function/<arg1>/")
Beispiel #44
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

higher_genus_w_automorphisms_page = Blueprint("higher_genus_w_automorphisms",
                                       __name__, template_folder='templates',
                                       static_folder="static")
logger = make_logger(higher_genus_w_automorphisms_page)


@higher_genus_w_automorphisms_page.context_processor
def body_class():
    return {'body_class': 'higher_genus_w_automorphisms'}

import main

app.register_blueprint(higher_genus_w_automorphisms_page, url_prefix="/HigherGenus/C/aut")
Beispiel #45
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

bmf_page = Blueprint("bmf",
                     __name__,
                     template_folder='templates',
                     static_folder="static")
bmf_logger = make_logger(bmf_page)


@bmf_page.context_processor
def body_class():
    return {'body_class': 'bmf'}


import bianchi_modular_form
assert bianchi_modular_form

app.register_blueprint(bmf_page,
                       url_prefix="/ModularForm/GL2/ImaginaryQuadratic")
Beispiel #46
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

nf_page = Blueprint("number_fields",
                    __name__,
                    template_folder='templates',
                    static_folder="static")
nf_logger = make_logger(nf_page)


@nf_page.context_processor
def body_class():
    return {'body_class': 'nf'}


from number_field import *

app.register_blueprint(nf_page, url_prefix="/NumberField")
Beispiel #47
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

nfgg_page = Blueprint(
    "number_field_galois_groups", __name__, template_folder='templates', static_folder="static")
nfgg_logger = make_logger(nfgg_page)


@nfgg_page.context_processor
def body_class():
    return {'body_class': 'nfgg'}

import main

app.register_blueprint(nfgg_page, url_prefix="/NFGG")
Beispiel #48
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

belyi_page = Blueprint("belyi", __name__, template_folder='templates',
        static_folder="static")
belyi_logger = make_logger(belyi_page)

@belyi_page.context_processor
def body_class():
    return {'body_class': 'belyi'}

import main
assert main # silence pyflakes

app.register_blueprint(belyi_page, url_prefix="/Belyi")
Beispiel #49
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

api_page = Blueprint("API", __name__, template_folder='templates', static_folder="static")
api_logger = make_logger(api_page)

@api_page.context_processor
def body_class():
    return {'body_class': 'api'}

import api
assert api # silence pyflakes

app.register_blueprint(api_page, url_prefix="/api")
Beispiel #50
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

local_fields_page = Blueprint("local_fields",
                              __name__,
                              template_folder='templates',
                              static_folder="static")
logger = make_logger(local_fields_page)


@local_fields_page.context_processor
def body_class():
    return {'body_class': 'local_fields'}


import main

app.register_blueprint(local_fields_page, url_prefix="/LocalNumberField")
Beispiel #51
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

bmf_page = Blueprint("bmf", __name__, template_folder='templates', static_folder="static")
bmf_logger = make_logger(bmf_page)


@bmf_page.context_processor
def body_class():
    return {'body_class': 'bmf'}

import bianchi_modular_form
assert bianchi_modular_form

app.register_blueprint(bmf_page, url_prefix="/ModularForm/GL2/ImaginaryQuadratic")
Beispiel #52
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

ecnf_page = Blueprint("ecnf",
                      __name__,
                      template_folder='templates',
                      static_folder="static")
logger = make_logger(ecnf_page)


@ecnf_page.context_processor
def body_class():
    return {'body_class': 'ecnf'}


import main

app.register_blueprint(ecnf_page, url_prefix="/EllipticCurve")
Beispiel #53
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

characters_page = Blueprint("characters",
                            __name__,
                            template_folder='templates',
                            static_folder="static")
logger = make_logger(characters_page)


@characters_page.context_processor
def body_class():
    return {'body_class': 'characters'}


import main
assert main  # silence pyflakes

app.register_blueprint(characters_page, url_prefix="/Character")
Beispiel #54
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

rep_galois_modl_page = Blueprint("rep_galois_modl", __name__, template_folder='templates', static_folder="static")
rep_galois_modl_logger = make_logger(rep_galois_modl_page)


@rep_galois_modl_page.context_processor
def body_class():
    return {'body_class': 'rep_galois_modl'}

import main

app.register_blueprint(rep_galois_modl_page, url_prefix="/Representation/Galois/ModL")
Beispiel #55
0
from lmfdb.base import app

import main
import stieltjes
app.register_blueprint(main.mod, url_prefix="/riemann")
app.register_blueprint(stieltjes.StieltjesConstants,
                       url_prefix="/riemann/stieltjes")
Beispiel #56
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

tensor_products_page = Blueprint("tensor_products",
                                 __name__,
                                 template_folder='templates',
                                 static_folder="static")
tensor_products_logger = make_logger("tensor_products", hl=True)

tensor_products_logger.info("Initializing tensor products blueprint")


@tensor_products_page.context_processor
def body_class():
    return {'body_class': 'tensor_products'}


import main
assert main  #silence pyflakes

app.register_blueprint(tensor_products_page, url_prefix="/TensorProducts")
Beispiel #57
0
# -*- coding: utf-8 -*-
from lmfdb.base import app
from lmfdb.utils import make_logger
from flask import Blueprint

artin_representations_page = Blueprint(
    "artin_representations", __name__, template_folder='templates', static_folder="static")
artin_logger = make_logger("artin", hl=True)

# artin_logger.info("Initializing Artin representations blueprint")


@artin_representations_page.context_processor
def body_class():
    return {'body_class': 'artin_representations'}

import main
assert main # silence pyflakes

app.register_blueprint(artin_representations_page, url_prefix="/ArtinRepresentation")