Skip to main content

An extension to the Autosubmit package that serves its information as an API

Project description

Autosubmit API

Table of Contents

  1. Overview
  2. Autosubmit Big Picture
  3. General Knowledge Requirements
  4. Installation

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/

See the wiki for documentation.

Autosubmit Big Picture

Autosubmit Big Picture

In this image you can see the flow of information in the Autosubmit environment.

  • Autosubmit: Machines running Autosubmit.
  • Remote Platforms: Platforms (HPCs in most cases) to which Autosubmit connects to run jobs.
  • Experiment Database: Starting from Autosubmit 3.13.0, each experiment generates a set of databases that save important (reusable) information about it. We have the historical database, graph database, structures database.
  • File System: The file system where the experiment files are stored.
  • Data Process Workers: Autosubmit API implements a set of workers that periodically collect information from the experiments or complement that information. In the current BSC implementation, these workers are running no bscesweb04 under webadmin user.
  • Main Database: Autosubmit API uses a centralized database to keep track of important experiment information. The workers fill this information. Autosubmit also writes into this database.
  • Autosubmit API: See Autosubmit API. Currently, under BSC implementation, this API is running on bscesweb04 under webadmin user. This API exposes a set of requests that Autosubmit GUI consumes and serves to the users through the front end.
  • Autosubmit GUI: This project.
  • Authentication Server: BSC Central Authentication Service.
  • Users: Users that access the GUI through their web browsers from any device. The current implementation requires that an user generates a token using the Authentication server once every 5 days.

General Knowledge Requirements

  • Python 2.7
  • Object Oriented Programming
  • Flask
  • Gunicorn
  • Unit testing

Installation

Autosubmit API can be easily installed via pip

pip install autosubmit-api # >=4.0 (recommended)

# Check installation
autosubmit_api start -h

Start the server:

autosubmit_api start

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autosubmit_api-4.0.0b2.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

autosubmit_api-4.0.0b2-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file autosubmit_api-4.0.0b2.tar.gz.

File metadata

  • Download URL: autosubmit_api-4.0.0b2.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for autosubmit_api-4.0.0b2.tar.gz
Algorithm Hash digest
SHA256 9ace45fb35bc8f58a86dfe18008bc52c9d4d9ba3281279610ecbfd3f5b559f0b
MD5 bb7a4ae3f0f88cf06bbc8b7d718a4faa
BLAKE2b-256 0d572568c19df66949839f8c3c795d3dea1d9204dfa0241a22084e11d4fc4f3f

See more details on using hashes here.

File details

Details for the file autosubmit_api-4.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for autosubmit_api-4.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 dcdb883c63348be0a6925d2a749fe5f9fd184c37537ffd16781fc240d31e1a3d
MD5 33d0edfafd762e3e6f20f60680b2d683
BLAKE2b-256 4e870c84e46f794c0db88fc4bc3ecf0727c7c14b7c069d4824aabc0b1d2a6002

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page