aerocore is a lightweight toolbox for air traffic management research. It only has two dependencies: numpy and isqx (a units library). Additional features are available when optional dependencies are installed.
It supports multiple numerical backends through the Array API, including JAX arrays and PyTorch tensors.
aerocore is currently under heavy development and not considered stable. For the latest version:
# with pip
pip install aerocore
# with uv
uv add aerocoreDepending on your use case, you can pick the optional dependencies you need:
polars: support for polars and its Array API shim (postprocessing third party data)httpx: support for httpx (downloading data from external sources)xarray: support for xarray (ARCO-ERA5 weather grids, working with NetCDF)jax: support for JAX (automatic differentiation support)matplotlib: plottingplatformdirs: reading/writing cache/config filescli: command line scriptsall: install all optional dependencies (not recommended!)
For example:
pip install "aerocore[httpx,polars,cli]"For the CLI:
uv run aerocore --helpgit clone https://github.com/abc8747/aerocore --depth=1
cd aerocore
uv venv
uv sync --all-extras --all-groupsTo run scripts:
uv run examples/autodiff.pyFor documentation:
uv run zensical serveIt should then host at http://127.0.0.1:8000/aerocore/.
For testing:
# by default, it tests everything
uv run pytest
# skip slow network tests that fetch external data (e.g. adsb.lol, icao.int...)
uv run pytest -m "not network"PRs or issues are very welcome!
We use Ruff for linting and MyPy for type checking. Locally, run the following before committing:
just fmt
just checkLicense: MIT