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
Actionsto 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
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 bluebird_api-0.1.4.tar.gz.
File metadata
- Download URL: bluebird_api-0.1.4.tar.gz
- Upload date:
- Size: 469.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
381903b7dc28d3967a260c4ce7cabebdc5ffa5a6a879727ab67e34e393875c12
|
|
| MD5 |
52c1a193f3e71aacdac2d3e06a52f230
|
|
| BLAKE2b-256 |
a61c634a50ac96f57ca484fb718eb18b3a89bb4dfe901e3acabfe76fd1aef568
|
File details
Details for the file bluebird_api-0.1.4-py3-none-any.whl.
File metadata
- Download URL: bluebird_api-0.1.4-py3-none-any.whl
- Upload date:
- Size: 470.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfd0d2cc9ffd63ede0025585913343a295bc5e1aced6c6b4a2f24e48705c9b0b
|
|
| MD5 |
b5442beffea4fb2cd2face913ccb830b
|
|
| BLAKE2b-256 |
92e49e134da1599aab9f2dbe9b706fd6eb0d6280395eaccdad2727ced9804599
|