Autosubmit API is a package that consumes the information generated by Autosubmit and serves it as an API.
Distribution: https://pypi.org/project/autosubmit-api/
Full documentation: https://autosubmit-api.readthedocs.io/
Autosubmit API can be easily installed via pip
pip install autosubmit-api # >=4.0 (recommended)
# Check installation and serving options
autosubmit_api start -h
Start the server:
autosubmit_api start
The Autosubmit API have some configuration options that can be modified by setting their specific environment variable before starting the server. Here are some options:
SECRET_KEY
: The secret key to encode the JWT tokens from the Authorization Module. Important to be set up on production.AS_API_ROOT_PATH
: The root path of the API. This is useful if you are serving it with a reverse proxy. Default is an empty string.
To see the full list go to: https://autosubmit-api.readthedocs.io/en/latest/configuration/
pip install -e .[test]
pytest
You will find the coverage report in htmlcov/index.html