Skip to main content

A REST API for the Project Bluebird Digital Twin

Project description

The REST API for BluebirdATC

It is possible to run the BluebirdATC digital twin in a server process, such that the simulation will evolve at regular time intervals, and Agents and/or frontend visualization software can interact with it via HTTP requests. In particular, users can:

  • Query available scenario categories and scenarios.
  • Load a selected scenario.
  • Evolve the simulation by a specified time interval.
  • Obtain the current state of the Environment.
  • Submit Actions to individual aircraft.
  • Save logfiles with data on all steps of the simulation.

In order to run the app, with all the correct dependencies for this feature, from the BluebirdATC/bluebird-api directory, run the command:

uv run uvicorn bluebird_api:app --port 8000

You should then be able to go to http://localhost:8000 in a web browser, and see the message "Hello, BluebirdATC!".

To see the full list and description of API endpoints, with the application running, go to http://localhost:8000/docs.

Frontend visualisation

The app also serves the frontend visualization (more details on that can be found here), at the URL http://localhost:8000/hmi.

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

bluebird_api-0.1.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bluebird_api-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file bluebird_api-0.1.0.tar.gz.

File metadata

  • Download URL: bluebird_api-0.1.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bluebird_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 027e7490cdb5cc32485b23df797790e65adb39782bc874aaf03ee3b9248fb21c
MD5 b49d03c4310e580890215bd41cbfff65
BLAKE2b-256 22518a4002e1ec16e3d55ae3623828bac61efc9dd6fe910be32752e7bdb7a584

See more details on using hashes here.

File details

Details for the file bluebird_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bluebird_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bluebird_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26b9ae49121685ec5b3c4f6844c72d40f09cbc1810eb5ee3ba2b935c81d85a77
MD5 e31d411e70370cb41eb75952bf60c406
BLAKE2b-256 ce492e4beb0a19a37530175ad3bf874a7a87c8177f1a8c3d1b9de864b0ad62e6

See more details on using hashes here.

Supported by

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