An extension to the Autosubmit package that serves its information as an API
Project description
Autosubmit API
Table of Contents
Overview
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/
Installation
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
Configuration options
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/
How to run tests
Install pytest
pip install -e .[test]
Run tests:
pytest
You will find the coverage report in htmlcov/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autosubmit_api-4.1.1.tar.gz.
File metadata
- Download URL: autosubmit_api-4.1.1.tar.gz
- Upload date:
- Size: 153.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c604628d4b8990efeadae7e36ced5e8365caae332263ebfb63fdcc500aa7cc4
|
|
| MD5 |
81ce600e14ccd345d8a499f4860e5d18
|
|
| BLAKE2b-256 |
4374b2392b9821ba49dac65644464d089329141ad5bb40e7c616adfa4dace521
|
Provenance
The following attestation bundles were made for autosubmit_api-4.1.1.tar.gz:
Publisher:
publish.yml on BSC-ES/autosubmit-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autosubmit_api-4.1.1.tar.gz -
Subject digest:
9c604628d4b8990efeadae7e36ced5e8365caae332263ebfb63fdcc500aa7cc4 - Sigstore transparency entry: 230174317
- Sigstore integration time:
-
Permalink:
BSC-ES/autosubmit-api@39322e958509693678ef5aaf4cec4a52e7c78934 -
Branch / Tag:
refs/tags/v4.1.1 - Owner: https://github.com/BSC-ES
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@39322e958509693678ef5aaf4cec4a52e7c78934 -
Trigger Event:
release
-
Statement type:
File details
Details for the file autosubmit_api-4.1.1-py3-none-any.whl.
File metadata
- Download URL: autosubmit_api-4.1.1-py3-none-any.whl
- Upload date:
- Size: 204.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33de63e5990d17d5c694ea2bda42e1b69ab0bf0e5122228eb72a57ac8f8daa0d
|
|
| MD5 |
2be22340fc1a808149e9bc74a2a445df
|
|
| BLAKE2b-256 |
e190bc4040217932129e6951018bb9ef79b6b6fb1992117e93d6c8f418d925cf
|
Provenance
The following attestation bundles were made for autosubmit_api-4.1.1-py3-none-any.whl:
Publisher:
publish.yml on BSC-ES/autosubmit-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autosubmit_api-4.1.1-py3-none-any.whl -
Subject digest:
33de63e5990d17d5c694ea2bda42e1b69ab0bf0e5122228eb72a57ac8f8daa0d - Sigstore transparency entry: 230174320
- Sigstore integration time:
-
Permalink:
BSC-ES/autosubmit-api@39322e958509693678ef5aaf4cec4a52e7c78934 -
Branch / Tag:
refs/tags/v4.1.1 - Owner: https://github.com/BSC-ES
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@39322e958509693678ef5aaf4cec4a52e7c78934 -
Trigger Event:
release
-
Statement type: