hubgrep.config package

Module contents

HubGrep environment configurations.

class hubgrep.config.BuildConfig

Bases: hubgrep.config.Config

Build configuration, in bundling and preparation for deployment.

CACHE_TIME = 3600
CSS_OUTPUT_STYLE = 'compressed'
DEBUG = True
MAIL_DEBUG = False
SECRET_KEY = ''
SECURITY_PASSWORD_SALT = ''
SECURITY_SEND_REGISTER_EMAIL = False
SQLALCHEMY_DATABASE_URI = ''
TESTING = True
class hubgrep.config.Config

Bases: object

Base configuration.

BABEL_DEFAULT_LOCALE = 'en'
BABEL_DEFAULT_TIMEZONE = 'UTC'
DEBUG = False
HOSTING_SERVICE_REQUEST_TIMEOUT = 2.0
LANGUAGES = {'de': 'Deutsch', 'en': 'English'}
LOGLEVEL = 'debug'
PAGINATION_PER_PAGE_DEFAULT = 10
REFERER = 'HubGrep v0.0.3'
SASS_MANIFEST = {'hubgrep': ('frontend_blueprint/templates', 'static/css', '/static/css', True)}
SECURITY_CONFIRMABLE = True
SECURITY_EMAIL_SUBJECT_REGISTER = 'Welcome'
SECURITY_FORGOT_PASSWORD_TEMPLATE = 'security_hubgrep/forgot_password.html'
SECURITY_LOGIN_URL = '/login'
SECURITY_LOGIN_USER_TEMPLATE = 'security_hubgrep/login_user.html'
SECURITY_LOGOUT_URL = '/logout'
SECURITY_POST_LOGIN_VIEW = '/'
SECURITY_POST_LOGOUT_VIEW = '/'
SECURITY_RECOVERABLE = True
SECURITY_REGISTERABLE = True
SECURITY_REGISTER_URL = '/register'
SECURITY_REGISTER_USER_TEMPLATE = 'security_hubgrep/register_user.html'
SECURITY_RESET_PASSWORD_TEMPLATE = 'security_hubgrep/reset_password.html'
SECURITY_RESET_URL = '/reset'
SECURITY_SEND_CONFIRMATION_TEMPLATE = 'security_hubgrep/send_confirmation.html'
SECURITY_SEND_REGISTER_EMAIL = True
SQLALCHEMY_TRACK_MODIFICATIONS = False
TESTING = False
VERSION = '0.0.3'
WATCH_SCSS = False
class hubgrep.config.DevelopmentConfig

Bases: hubgrep.config.Config, hubgrep.config._EnvironmentConfig

Development configuration.

DEBUG = True
WATCH_SCSS = True
class hubgrep.config.ProductionConfig

Bases: hubgrep.config.Config, hubgrep.config._EnvironmentConfig

Production Configuration.

DEBUG = False
class hubgrep.config.TestingConfig

Bases: hubgrep.config.Config

Test configuration, as used by tests.

ABOUT_MARKDOWN_FILE = 'hubgrep_about.md'
CACHE_BACKEND = None
CACHE_TIME = 3600
CONTACT_ADDRESS = None
CONTACT_DESCRIPTION = None
CONTACT_EMAIL = None
CONTACT_PHONE = None
DEBUG = True
MAIL_DEBUG = False
SECRET_KEY = ''
SECURITY_PASSWORD_SALT = ''
SECURITY_SEND_REGISTER_EMAIL = False
SQLALCHEMY_DATABASE_URI = ''
TESTING = True