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.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| roche-0.5.7.tar.gz | 48.0 kB | Without provenance | Details for roche-0.5.7.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| roche-0.5.7-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details for roche-0.5.7-cp38-abi3-win_amd64.whl |
| roche-0.5.7-cp38-abi3-manylinux_2_35_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.35+ x86-64 | Details for roche-0.5.7-cp38-abi3-manylinux_2_35_x86_64.whl |
| roche-0.5.7-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details for roche-0.5.7-cp38-abi3-macosx_11_0_arm64.whl |
Total release size: 1.2 MB
Release files / roche-0.5.7.tar.gz
| Download URL | roche-0.5.7.tar.gz |
|---|---|
| Size | 48.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98804c91741afbc207190cad7e160d50e29a83569dba865ee0a6b6ac0e75818c
|
|
BLAKE2b-256 checksum How to use checksums |
19813a411d14d1dac5216e821cc9851804ba19a8301ce2f9eb36944bf0ee1fa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.15.0
|
Release files / roche-0.5.7-cp38-abi3-win_amd64.whl
| Download URL | roche-0.5.7-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 285.9 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
375e7fd4317633e3151ee8a5f023810c4f8f2c3928eea4ffd644083a280ccfaa
|
|
BLAKE2b-256 checksum How to use checksums |
27e2b14a28baa44cbd2e92b4ba31e9233c37ff595a4b9cbfb20165f6ba209d76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.15.0
|
Release files / roche-0.5.7-cp38-abi3-manylinux_2_35_x86_64.whl
| Download URL | roche-0.5.7-cp38-abi3-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 434.8 kB |
| Tags | CPython 3.8 Linux glibc 2.35+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
11961e23429292e87226b56a498973ddb2bb3b775c6920c865b4f3d0ad715219
|
|
BLAKE2b-256 checksum How to use checksums |
96db86c398ab09dff97df485a9f106f0a3b4ac2e3cd447ed62b694d7a751a926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.15.0
|
Release files / roche-0.5.7-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | roche-0.5.7-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 388.1 kB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c1148934db5cd0bad29fb1a5ddab5268504e55f9a2a6e882b10c0fe9ac4ef7e3
|
|
BLAKE2b-256 checksum How to use checksums |
78076ba7f0ab46da204cd4693d66171122b09f1837f59a951e225f4a6286314d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.15.0
|
Security for roche 0.5.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.