Skip to main content

PyPi version crates.io

roche-rs 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 roche-rs can be viewed at roche-rs and can be added to a rust project with

cargo add roche-rs

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.

Some functions from cpp-roche/trm-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/trm-roche that you'd like adding.

Functions still to add for Python are:

  • astream
  • pvstream
  • qirbs

Functions still to add for Rust are:

  • third_contact
  • fourth_contact
  • eprob
  • flobe1
  • hits
  • irrad
  • rdot
  • rlobe_eggleton

Metadata

Release files for roche 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roche 0.5.2
File Size Uploaded
roche-0.5.2.tar.gz 43.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for roche 0.5.2
File Interpreter ABI Platform
roche-0.5.2-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
roche-0.5.2-cp38-abi3-manylinux_2_35_x86_64.whl CPython 3.8 abi3 Linux glibc 2.35+ x86-64 Details
roche-0.5.2-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details

Total release size: 1.1 MB

Release files / roche-0.5.2.tar.gz

Download URL roche-0.5.2.tar.gz
Size 43.3 kB
Tags Source
SHA-256 checksum
How to use checksums
de88a67ffdb4cd44d3dfc307f8be30068384d2e5518d2bed422d963db7346650
BLAKE2b-256 checksum
How to use checksums
e6ff0f1ba44eb0f69faa991e9736997a653a158188909f62f1cb7330cc756885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release files / roche-0.5.2-cp38-abi3-win_amd64.whl

Download URL roche-0.5.2-cp38-abi3-win_amd64.whl
Size 255.9 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c18977a8c151245ebaa33022ab9014e78f46a8831bc55c80166292fe62a0701d
BLAKE2b-256 checksum
How to use checksums
83732200527ceefa0d50b11f28638fc3438a7a888e7573b8d3e6c1aa80d5f1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release files / roche-0.5.2-cp38-abi3-manylinux_2_35_x86_64.whl

Download URL roche-0.5.2-cp38-abi3-manylinux_2_35_x86_64.whl
Size 403.1 kB
Tags CPython 3.8 Linux glibc 2.35+ x86-64 abi3
SHA-256 checksum
How to use checksums
5a48d438bd415c2e05aecd8a226476b5742f38942f0d3b4d46a608818b88a60e
BLAKE2b-256 checksum
How to use checksums
384dc10fbbf8cdd3bde8910fbc6654aaeaa1300f0bf20713d3b5edef73c511c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release files / roche-0.5.2-cp38-abi3-macosx_11_0_arm64.whl

Download URL roche-0.5.2-cp38-abi3-macosx_11_0_arm64.whl
Size 355.1 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dab9e15636a66fe7e8eb2eb883fad715cc6274570684dc303f03c01dcc7155dc
BLAKE2b-256 checksum
How to use checksums
b465e8cbd58eb1507ad69ad5e7bfd4008e488e137818d98fd0930e5a2fe71643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release history Release notifications | RSS feed

0.5.6

4 release files

0.5.5

4 release files

0.5.4

4 release files

0.5.3

4 release files

This release

0.5.2 This release

4 release files

0.5.1

4 release files

0.5.0

4 release files

0.4.5

4 release files

0.4.4

4 release files

0.4.2

4 release files

0.4.1

4 release files

0.3.0

4 release files

0.2.8

4 release files

0.2.7

4 release files

0.2.3

4 release files

0.2.2

3 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page