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.

Functions still to add are:

  • qirbs
  • pvstream

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.4.2.tar.gz (42.0 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.4.2-cp38-abi3-win_amd64.whl (246.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

roche-0.4.2-cp38-abi3-manylinux_2_35_x86_64.whl (392.2 kB view details)

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

roche-0.4.2-cp38-abi3-macosx_11_0_arm64.whl (347.2 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for roche-0.4.2.tar.gz
Algorithm Hash digest
SHA256 9fc72a3033936155d61a6305ebcca415c89cd207767a08c97448826585a7f668
MD5 0c3bf0371a812b861d2f7b6ef1a6f212
BLAKE2b-256 f806b8bcddf6cf7982159ae2a94357441bd8d6b7bf4fb13c3bce610da5e21649

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roche-0.4.2-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 246.1 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.4.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b3ee083288ed63140cad99c2fa048decab462fef9301168a018e672933f82c1
MD5 3c2ddf278209d19b2503d34fd832c331
BLAKE2b-256 cf4b858432aafaf7e24e7cda80edbe2debd880a2bc9e0ffeef8331cdff92589d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.4.2-cp38-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 1ec6ada1eecd8745ce145ec14ccb5ea034f7e7f65a533a874c023832d2de54f3
MD5 fe94495f77686bc1782c3244a059a7fa
BLAKE2b-256 5664972bf7d60f11c8334593f19d9a899fde3312e67cd0f4645ce4017e2b5ffd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roche-0.4.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b57e95ae7028287b59eaaac0981ecc9139b6b2bb4100924bb8e76424c6ffd72a
MD5 7e83bad9b39d989bd5721b05c1ab9665
BLAKE2b-256 bd40983a15492dbd1eb767b0e7410b1365a4096dff09966634dde0566f80a644

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