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.2.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.2-cp39-abi3-win_amd64.whl (68.3 MB view details)

Uploaded CPython 3.9+Windows x86-64

bsk-2.10.2-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (78.4 MB view details)

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

bsk-2.10.2-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (73.1 MB view details)

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

bsk-2.10.2-cp39-abi3-macosx_11_0_arm64.whl (92.5 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for bsk-2.10.2.tar.gz
Algorithm Hash digest
SHA256 bde46c408c80818ed12926d04c256c081f9512cdfdbaca97b09e405a10849f5d
MD5 da486814a763585eb7684610921e321d
BLAKE2b-256 a55b76458a31d66e43061a43e72dcd4a49c7dde42dd31c3ef21c6725d118e074

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.2.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.2-cp39-abi3-win_amd64.whl.

File metadata

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

File hashes

Hashes for bsk-2.10.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e0c48f1ba525a35323ccb6c5bb9ba68e0551155a672a62af3b8e12e1ea7e1a2f
MD5 f44f92a2bc4ce06f6f0590038e001e5d
BLAKE2b-256 8c225055186e696287e1f43082509566f14a344bebf81c9ebe4e86c6294ff329

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.2-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.2-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bsk-2.10.2-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3a536eb45addd5c96769015765b0d66c4e0183af9c9e95020fa1cc5dedbbcbe
MD5 1598255b1e4dca76ce9b9ee06f9b1657
BLAKE2b-256 b8ce79ddd29269c186a870fc19ebd24390701921d20a8242345df4c061a94ca7

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.2-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.2-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bsk-2.10.2-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6baab4f8522a3e76227837be81ad208b1696687afd467ba3d5a43ab11e826580
MD5 176ed9d38630cb13327085b91cfd4072
BLAKE2b-256 b37751d8180abf7877312f857d817eb46d69435485b4997c4dd646f070fa6148

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.2-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.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

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

File hashes

Hashes for bsk-2.10.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13701c1b34e3cb9ab429dca5138773d9d4967d47b1f6aebe30cd927c8314d99f
MD5 736c6b46d0e6a93d3408f219961cf478
BLAKE2b-256 b46ed9f5f7bad61918a835f3304acae84ddea2dd444ac84ea4515c19631355f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsk-2.10.2-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