Skip to main content

Rocket simulator

Project description

Machwave

Machwave is a Python library for chemical propulsion simulation. The library makes it easy to model solid or biliquid rocket engines, analyse performance and integrate the results into trajectory simulations.

Getting Started

Installation

Install Machwave using pip:

pip install machwave

macOS prerequisite: gfortran

Machwave depends on rocketcea, which does not publish macOS wheels on PyPI. On macOS, pip therefore builds rocketcea from source and needs a Fortran compiler. Homebrew's gcc formula installs only versioned binaries (e.g. gfortran-15), so an unversioned gfortran symlink must be added to PATH before pip install machwave:

brew install gcc
ln -sf "$(ls "$(brew --prefix)"/bin/gfortran-* | sort -V | tail -n 1)" "$(brew --prefix)/bin/gfortran"

Linux and Windows users do not need this step — rocketcea ships prebuilt wheels for those platforms.

Documentation

The full documentation is available at felipebogaertsm.github.io/machwave.

Development Setup

If you're contributing to Machwave, you'll need uv for dependency management.

Installing uv

macOS / Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

For more details, visit the official uv installation guide.

Clone and Install

Clone the repository and install dependencies:

git clone https://github.com/felipebogaertsm/machwave.git
cd machwave
make install

Publishing a New Release

  1. Create a release on GitHub with a tag matching vX.Y.Z (e.g. v1.2.0). The version is derived automatically from the git tag.

  2. The publish workflow builds the package and publishes it to PyPI via trusted publishing (OIDC).

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

machwave-0.6.3.tar.gz (318.8 kB view details)

Uploaded Source

Built Distribution

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

machwave-0.6.3-py3-none-any.whl (126.4 kB view details)

Uploaded Python 3

File details

Details for the file machwave-0.6.3.tar.gz.

File metadata

  • Download URL: machwave-0.6.3.tar.gz
  • Upload date:
  • Size: 318.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for machwave-0.6.3.tar.gz
Algorithm Hash digest
SHA256 7369c05832c8a0a3013579fe83f52e8071967ffb3add8d6cce13023e84dfbcb8
MD5 68038aaaa4436f2ebbe076aab2c67032
BLAKE2b-256 e6464c23b7598eeb8ba9a57b5a56bf40599918210b6ecb7dfce3bac0a48816c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for machwave-0.6.3.tar.gz:

Publisher: publish.yml on felipebogaertsm/machwave

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

File details

Details for the file machwave-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: machwave-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 126.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for machwave-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73d30d554c1b16a77b4787b072ae0553275f8d1ffabfef79c48ec31ead5f81e8
MD5 83be2df1a6b89276b8bdc7f67cdb3e0a
BLAKE2b-256 99c31907bfbb3fead652e6fcdc90bd928cb302e6b7122520e1e6995dc61bb0b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for machwave-0.6.3-py3-none-any.whl:

Publisher: publish.yml on felipebogaertsm/machwave

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