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.3.0.tar.gz (40.8 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.3.0-cp38-abi3-win_amd64.whl (241.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

roche-0.3.0-cp38-abi3-manylinux_2_35_x86_64.whl (394.1 kB view details)

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

roche-0.3.0-cp38-abi3-macosx_11_0_arm64.whl (339.1 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for roche-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bc11bbd275fe93ec239ab6357aaf77285b275324e411e7b6fec592ccf059064b
MD5 ca114fb7d43ecf1043e30de2688c0caf
BLAKE2b-256 49bdd395ff56227b1532755717328a283879de8faa0fb228cebbfa497903c8de

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for roche-0.3.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c4e6ab0b4a12a98f65a53e4cc1359dc4145ee5cb0c8905165bb8f33a20aaca3e
MD5 28facea94bf73cf67f0836922e6e52eb
BLAKE2b-256 5c6019f0acf21fcfabe81ad823f8ea0be55c532773d40016f3d04e2c7fc28dbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.3.0-cp38-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 038ce603746ed6d1af628f44c363163a158a87f9642d83f5a3703df8be28ee4d
MD5 df0399c05adc43a7ab9c2a23437f9732
BLAKE2b-256 a022a9d7134567ccd9ff419d84ba8b7d4f6daa61e397ba6058ed8699fa7162dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.3.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 222fcd758dd6ba84d1fb34912474153ade922a6fa6638c7f47595cd6edb2e29e
MD5 177623f9561b2d638736446cd0bf8c63
BLAKE2b-256 a1e372a528d09967d2083de82564e68247a977aac68aa88a080dd7a7afb5a7d7

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