Skip to main content

safe-autonomy-simulation

Intro

The safe-autonomy-simulation package provides a framework for building continuous time simulation environments. This package also provides an example simulation environments and simulation entities in the safe_autonomy_simulation.sims package.

Installation

The safe-autonomy-simulation package can be installed using any python package manager. It is recommended to install the project dependencies into an isolated virtual environment. The following command will install safe-autonomy-simulation into your local environment using the pip package manager:

pip install safe-autonomy-simulation

JAX support (experimental)

The safe-autonomy-simulation package supports numerical computation acceleration via the JAX library. This is an experimental feature.

The safe_autonomy_simulation package comes installed with JAX for CPU acceleration. JAX also provides GPU acceleration for numerical computing. If you'd like this feature the easiest way to install it is using pip:

pip install jax[cuda12]

For more information on installing JAX see the official documentation.

JAX can be enabled on a per-class basis for classes that support it. As JAX is an experimental feature it is not enabled by default.

Installing from source

Alternatively, safe-autonomy-simulation can be installed from source using any of the following methods. Again, it is recommended to install this package in an isolated virtual environment. The following sections describe how to install safe-autonomy-simulation from source in an isolated virtual environment using uv, conda, and pip + virtualenv.

uv is an extremely fast Python package and project manager. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. uv will automatically create an isolated virtual environment in your project location for development.

cd safe-autonomy-simulation
uv sync

Conda

Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. Conda is often used for package and environment management in data science projects.

cd safe-autonomy-simulation
conda create -n my-env
conda activate my-env
conda install .

Pip + virtualenv

pip is the default package installer for Python. You can use pip to install packages from the Python Package Index and other indexes. virtualenv is a tool to create isolated Python environments. Since Python 3.3, a subset of it has been integrated into the python standard library under the venv module. You can use pip together with virtualenv to install your project dependencies in an isolated virtual environment.

cd safe-autonomy-simulation
virtualenv venv
pip install .

Local Documentation

This repository is setup to use MkDocs which is a static site generator geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.

NOTE: In order to properly build the documentation locally, you must first have safe-autonomy-simulation and its dependencies installed in your container/environment!

Install the MkDocs modules in a container/virtual environment via uv:

uv sync --group docs

To build the documentation locally without serving it, use the following command from within your container/virtual environment:

uv run mkdocs build

To serve the documentation on a local port, use the following command from within your container/virtual environment:

uv run mkdocs serve

Usage

Public Release

Approved for public release; distribution is unlimited. Case Number: AFRL-2024-3374

Team

Jamie Cunningham, John McCarroll, Kyle Dunlap, Nate Hamilton, Charles Keating, Kochise Bennett, Aditesh Kumar, Kerianne Hobbs

Metadata

Release files for safe-autonomy-simulation 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for safe-autonomy-simulation 2.2.1
File Size Uploaded Provenance Actions
safe_autonomy_simulation-2.2.1.tar.gz 208.4 kB With provenance Details for safe_autonomy_simulation-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for safe-autonomy-simulation 2.2.1
File Interpreter ABI Platform Actions
safe_autonomy_simulation-2.2.1-py3-none-any.whl Python 3 none any Details for safe_autonomy_simulation-2.2.1-py3-none-any.whl

Total release size: 266.8 kB

Release files / safe_autonomy_simulation-2.2.1.tar.gz

Download URL safe_autonomy_simulation-2.2.1.tar.gz
Size 208.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2a747df159363173b6f41fa53ed48efd2fe1fc36559e79df09dd7ec6374f77c4
BLAKE2b-256 checksum
How to use checksums
851d0ace8048bb1050c97093d9091050936f9e51186fd07c7124b7f89802136a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 9, 2026.

Transparency log

Release files / safe_autonomy_simulation-2.2.1-py3-none-any.whl

Download URL safe_autonomy_simulation-2.2.1-py3-none-any.whl
Size 58.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
321bb70a541583ce437b4c0aa5fbf769f875d739a409c5641cc7ed439f759623
BLAKE2b-256 checksum
How to use checksums
ed67bbe53f0afd5a9d2b90bb2e242a9b011742e6e92c16ac0b72d2430ca5b30e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 9, 2026.

Transparency log

Security for safe-autonomy-simulation 2.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for safe_autonomy_simulation-2.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page