Skip to main content

Basilisk: an Astrodynamics Simulation Framework

Project description

README

Basilisk

Installation

Basilisk can be installed in two ways, either from PyPI or by building from source.

For most users, installing from PyPI is the easiest and fastest way to get started. Building from source is recommended if you need to link to external C++ modules or want to customize the build configuration.

Install from PyPI

The easiest way to get started with Basilisk is to install the prebuilt wheel from PyPI:

pip install bsk

This installs the latest stable version with all standard features (e.g. optical navigation and MuJoCo). See the install docs for supported platforms and additional details about the wheels.

If you also want the optional Python dependencies used by example scripts, install:

pip install "bsk[examples]"

Build from Source

If you need to use external C++ modules or want to customize the build, follow the platform-specific setup instructions:

See the Build from Source docs for full details.

Containers

Basilisk container images are published to:

Published tags follow this policy:

  • v* (for example v2.9.0) and latest for release tags

Images are multi-architecture (linux/amd64, linux/arm64).

Quick start:

docker pull ghcr.io/avslab/basilisk:latest
docker run --rm ghcr.io/avslab/basilisk:latest

For more details, see container docs.

Basilisk Development guidelines

Getting Started

To get started with Basilisk (BSK), several tutorial python files are provided in the installed package. Within this web page documentation site, they are listed and discussed in the integrated example script page.

The documentation lists the scenarios in an order that facilitates learning basic BSK features. The python scripts are stored in the repository under basilisk/examples. A good start would be to run scenarioBasicOrbit.py.

If you downloaded Basilisk through pip install bsk, then you can download all examples to the local folder using the command line bskExamples.

To play with the tutorials, it is suggested the user makes a copy of these tutorial files, and use the copies in order to learn, test and experiment. Copy the folder basilisk/examples into a new folder, and change to that directory. To run the default scenario of scenarioBasicOrbit, in the directory of the copied tutorials, execute the python script: python scenarioBasicOrbit.py

Now, when you want to use a tutorial, navigate inside that folder, and edit and execute the copied integrated tests.

Any new BSK module development should not occur within the BSK folder as this will be updated rapidly. Rather, new FSW algorithm or simulation code modules should be created in a custom folder outside of the BSK directory. See the building custom modules web page for more information.

To use the standalone 3D Visualization, download the Vizard. This is in development, but does provide a 3D view of many of the simulation states.

Who do I talk to?

Questions and answers are fielded in the project's Github Discussions.

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

bsk-2.10.0.tar.gz (29.6 MB view details)

Uploaded Source

Built Distributions

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

bsk-2.10.0-cp39-abi3-win_amd64.whl (69.7 MB view details)

Uploaded CPython 3.9+Windows x86-64

bsk-2.10.0-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (78.0 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

bsk-2.10.0-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (72.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

bsk-2.10.0-cp39-abi3-macosx_11_0_arm64.whl (89.6 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file bsk-2.10.0.tar.gz.

File metadata

  • Download URL: bsk-2.10.0.tar.gz
  • Upload date:
  • Size: 29.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bsk-2.10.0.tar.gz
Algorithm Hash digest
SHA256 f2458f43c89837d6d601a857ed3cd9935d12565636d51f0d96f897ae029ac3ae
MD5 b51d3f853a69620ff28d4751afb3e49b
BLAKE2b-256 279dd392bf8d5e7e430426ff2b6a3afc981757319c699bfe72a935c9fb419570

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.0.tar.gz:

Publisher: publish-wheels.yml on AVSLab/basilisk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bsk-2.10.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: bsk-2.10.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 69.7 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bsk-2.10.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b281b477bb65014310d11b118752c63359b4c3b736bb7706f9384453af17af7e
MD5 7e77d217ae82605d0372106feb171c8c
BLAKE2b-256 3d326760d7ae0e9ed786a3d2318bfbff451d0c91b7dd90d9141693805c249aca

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.0-cp39-abi3-win_amd64.whl:

Publisher: publish-wheels.yml on AVSLab/basilisk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bsk-2.10.0-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bsk-2.10.0-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd6db1930a4160ce0fe9a0a280fceefdcd2e574538e505ac867dec748903699f
MD5 58ea62bcf6b5bda8af856372a99b91aa
BLAKE2b-256 3e94c9b4d60b2d69901fee335e0f0d06f7c188b807cf996b5ff1b2f73c359881

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.0-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-wheels.yml on AVSLab/basilisk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bsk-2.10.0-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bsk-2.10.0-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9801f7c51e904132205e8da033e02d26b06e565892a81947d086d27c364e50f9
MD5 58e4492a0def515450ed7023243886ff
BLAKE2b-256 6007f22ed75f50abdbff54429a851ff43c6b2992c5b901414fcf7c5c7b52f651

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.0-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish-wheels.yml on AVSLab/basilisk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bsk-2.10.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bsk-2.10.0-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 89.6 MB
  • Tags: CPython 3.9+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bsk-2.10.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9ecec2cdb74cfc0c6efa8d96d50b9f00ebada94080b518548085e5c7200aa38
MD5 eed3d1889f64ac4e0d55fe5d53d90e19
BLAKE2b-256 6f72e11979ce664ab5d0306cee4d0c35560e2213fd784cf71a5e3aad3b65cb5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish-wheels.yml on AVSLab/basilisk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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