Skip to main content

No project description provided

Project description

PyPi version crates.io

rust-roche is a translation of Tom Marsh's C++ cpp-roche package for modelling Roche-distorted binary systems. It also has a few useful functions and types from cpp-subs such as Vec3 and Point.

Rust

The latest version of rust-roche can be viewed at rust-roche and can be added to a rust project with

cargo add rust-roche

Some functions from cpp-roche have not been translated yet so this is still a work-in-progress. Please add an issue on the Github repo if there's a specific function from cpp-roche that you'd like adding.

Python

This package has also been wrapped for python to replicate trm-roche and can be installed with pip from PyPI

pip install roche

This is very much a first go at it. Most functions have been tested against their trm.roche counterparts however not all functions have been tested as of yet and some bugs may remain. Please add an issue on the Github repo if you find any.

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

roche-0.2.8.tar.gz (39.7 kB view details)

Uploaded Source

Built Distributions

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

roche-0.2.8-cp38-abi3-win_amd64.whl (233.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

roche-0.2.8-cp38-abi3-manylinux_2_35_x86_64.whl (384.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.35+ x86-64

roche-0.2.8-cp38-abi3-macosx_11_0_arm64.whl (332.2 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file roche-0.2.8.tar.gz.

File metadata

  • Download URL: roche-0.2.8.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for roche-0.2.8.tar.gz
Algorithm Hash digest
SHA256 c902d013fec57e1c330e4b718580790ad3834913803066f51ca81dd9787d5f87
MD5 2a5f031e6838ef179a4dd9f3e34d2666
BLAKE2b-256 17ffbd86622683a5e56d038dc2e744fc97f09ff86e71ed16e22ac520a16894e9

See more details on using hashes here.

File details

Details for the file roche-0.2.8-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: roche-0.2.8-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 233.9 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for roche-0.2.8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 614e640cfd3f1378c1ba20502afad1fc4ad3afd8dbeb67b9a3a46930282d9caf
MD5 ee88500bf50da1131cf83cd073fbdef2
BLAKE2b-256 fc61d67d2fbf782506a26da5e1893e2c831f0cbfcae277737a7be6357856b569

See more details on using hashes here.

File details

Details for the file roche-0.2.8-cp38-abi3-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for roche-0.2.8-cp38-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 816864c799114fb40fd0de9bf5a694ac119c6e66f53bdbe11f3aae791309cc40
MD5 f16826aa8029319553e1b73aef8d6fa9
BLAKE2b-256 a3ce3fa9089c6db50bc64472883b8c304b0f99c9bc3d4e97e34ab45565711b0d

See more details on using hashes here.

File details

Details for the file roche-0.2.8-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for roche-0.2.8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c9ac0fd36bf4e1bbaeac19a2570fb221762e37e6020edd64fc0593f0a8f102e
MD5 742f489a8e954197ab8c19f0cac87573
BLAKE2b-256 3003f8755a0449b93e42d62be09b6a66c694ac566bc8a86de69749e2d94829dd

See more details on using hashes here.

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