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

Uploaded CPython 3.9+Windows x86-64

bsk-2.10.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: bsk-2.10.1.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.1.tar.gz
Algorithm Hash digest
SHA256 37436f24f10080de985e9ad4fed317fc8810292761ad7a718ba0d704324fc752
MD5 c08adf758dd98da317036b3321c9153a
BLAKE2b-256 0d859fa61e4eff4c9dbbf0b6ea9c01cf099d9163eb562318ac41dbe7b0d82528

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bsk-2.10.1-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.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1794563925ef6db6c7cfb54ff41aefda96b54acb36d4c2d9ecdfc675ac902334
MD5 5de9eac188f99105097d884cc8f5e931
BLAKE2b-256 092c2450bc1c9c7d3cc4dd63cd76ea7e88560df64c6fbb4cf8a790a338fddecc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for bsk-2.10.1-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6927659d79cd96605feb8dcf370b21a835ff3b8b1c875f5e71c5deef0e36dcdc
MD5 21b7f43ebf884bd8a00e63ab6b41ca04
BLAKE2b-256 0b54c932ce4cd37d8229841867b693a336827ec97c8c1f4e3938a8f3f295204e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for bsk-2.10.1-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 051055d7d9bd6bf669d4906c9fd513c54586b629e967155c2ad26feafbbc677e
MD5 fd88088d44b7dc2dc335df3949c196af
BLAKE2b-256 15c1e9597a30b345f429bbc8ff023e48d315a9a53534d0438b2ce94cfeba5946

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bsk-2.10.1-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.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 654c339f4f4c59391e308d3e4cc869b8f46d98e4ca071379622db46f39be239c
MD5 767a297ad1208b2435d4f79df7263720
BLAKE2b-256 a0da30fe5cde10f7da96b04c141b87bf180357207666d2d036b9ad306b1a839a

See more details on using hashes here.

Provenance

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