EOSC Performance API¶
This is the main web application package for the EOSC Performance Application Program Interface (API).
The application is developed using python and flask as main engines. By default, Flask does not provide database or specific web abstraction layers. API and any other functionality such database or authentication are handled by independent libraries and extension.
- create_app(config_base='backend.settings', **settings_override)¶
Create application factory, as explained here: http://flask.pocoo.org/docs/patterns/appfactories
- Parameters
config_base (str, optional) – Configuration object, defaults to “backend.settings”
- Returns
EOSC Performance API instance
- Return type
flask.app.Flask
The EOSC Performance API is composed by the following main components:
Settings module: Configuration variables from environment
Extensions module: Flask additional components
Models package: Database models and tables used by the API
Routes package: URL routes and controller methods
Schemas package: Defined OpenAPI schemas to interface the API
Authorization module: Authorization methods to access the API
Notifications module: Notification functions for email messages
Utils package: Group of tools to simplify internal components