Skip to content

icos-project/Security-coordination-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI generated FastAPI server

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.0.1
  • Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen

Requirements.

Python >= 3.7

Installation & Usage

To run the server, please execute the following from the root directory:

pip3 install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8080

and open your browser at http://localhost:8080/docs/ to see the docs.

Running with Docker

To run the server on a Docker container, please execute the following from the root directory:

docker-compose up --build

Tests

To run the tests:

pip3 install pytest
PYTHONPATH=src pytest tests

Legal

The Coorination module is released under the Apache License 2.0. Copyright © 2022-2024 ICOS Consortium. All rights reserved.

🇪🇺 This work has received funding from the European Union's HORIZON research and innovation programme under grant agreement No. 101070177.