Applications

Flask

Zenodo application factories.

zenodo.factory.conf_loader(app, **kwargs_config)[source]

Zenodo conf loader.

zenodo.factory.create_api(**kwargs)

Create Flask API application.

zenodo.factory.create_app(**kwargs)

Create Flask UI application.

zenodo.factory.create_celery(**kwargs)

Create CLI/Celery application.

zenodo.factory.create_wsgi_statsd_factory(mounts_factories)[source]

Create WSGI statsd factory.

zenodo.factory.instance_path = '/Users/lnielsen/envs/zenodo/bin/../var/instance'

Path to instance folder.

Defaults to <virtualenv>/var/instance/. Can be overwritten using the environment variable APP_INSTANCE_PATH.

zenodo.factory.static_folder = '/Users/lnielsen/envs/zenodo/bin/../var/instance/static'

Path to static folder.

Defaults to <virtualenv>/var/instance/static/. Can be overwritten using the environment variable APP_STATIC_FOLDER

CLI

Zenodo CLI module.

zenodo.cli.cli = <flask.cli.FlaskGroup object>

Zenodo Click CLI.

Celery

Zenodo celery application object.

zenodo.celery.celery = <Celery default:0x10764efd0>

Celery application for Zenodo.

WSGI

Zenodo WSGI application.

zenodo.wsgi.application = <Flask 'zenodo'>

Default WSGI application.