Skip to main content

Backend libraries

Purpose

This document describes the libraries used in the backend applications of Monitor Space Hazards (MSH).

Libraries used

The backend uses Python 3.9 as a programming language.

The full list of libraries can be found in the requirements.txt file. To install all the libraries run pip -r requirements.txt.

The list of the important libraries is as follows:

  • FastAPI - the most important part of the application. FastAPI is the web framework for building APIs or websites. It’s a fast, asynchronous and standard based framework. It uses automatic documentation creation using OpenAPI standard.
  • Alembic - for maintaining database migrations
  • SQLAlchemy Core - as an ORM solution for Postgres database
  • Loguru - the logging solution
  • Databases - for connecting with database
  • Pydantic - for creating and validating database models
This page was last reviewed on 1 June 2023. It needs to be reviewed again on 1 September 2023 .
This page was set to be reviewed before 1 September 2023. This might mean the content is out of date.