Rhino Federated Computing SDK (Rhino SDK)
Programmatic interface for interacting with the Rhino Federated Computing Platform.
Example Usage
Please see the sample notebook files provided to you by the Rhino Team for additional use cases.
Create a session
import rhino_health
my_username = "rhino_user@rhinohealth.com" # Replace me
my_password = "ASecurePasswordYouSet321" # Replace me
session = rhino_health.login(username=my_username, password=my_password)
There will be three ways to interact with the API after you have a session
- Use defined endpoints under lib/endpoints for single actions
- Use our library functions for commonly performed advanced features
- Use our low level API Interface (advanced users)
Interact with the API via defined endpoints
We've included convenience functions for our most commonly used endpoints in the library with required input and output
data classes. These can be found in rhino_health/lib/endpoints.
my_projects = session.project.get_projects()
my_first_project = my_projects[0]
my_first_project.add_collaborator(collaborating_workgroup_uid)
my_dataset = session.dataset.get_dataset(my_dataset_uid)
dataset_project = my_dataset.project
my_dataset_info = my_dataset.dataset_info
Library Functions
Rhino also provides library functions which combine our basic building blocks to perform common actions.
Example:
from rhino_health.lib.metrics import RocAucWithCI
metric_configuration = RocAucWithCI(y_true_variable="label", y_pred_variable="pred", confidence_interval=95, timeout_seconds=600)
"""
data_filters=[{
"filter_column":"is_roc",
"filter_value":1
}]
"""
result = my_dataset.get_metric(metric_configuration)
print(f"{result.output}")
Interact using the low level API
Please contact us for support with interacting with our low level API.
Rate Limits
The Rhino SDK handles rate limits of the API for you if you use the same session between threads and will attempt to queue requests. Excess requests will be sent with exponential backoff. If you send requests to our server from multiple locations then you may run into exceptions.
Development Notes
You may need to use pip install -r requirements.txt --no-cache-dir on M1 Macs
Metadata
Release files for rhino-health 2.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rhino_health-2.2.5.tar.gz | 111.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rhino_health-2.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 263.8 kB
Release files / rhino_health-2.2.5.tar.gz
| Download URL | rhino_health-2.2.5.tar.gz |
|---|---|
| Size | 111.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c9ea3d557010f1141f76ea3df6893da317889aa0a79d0c96ccb6931a56570d6
|
|
BLAKE2b-256 checksum How to use checksums |
3b6bae3dd8795e7fa6f9514e5d67cba2c8220d270c1591b31ad943cabb33cd21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logRelease files / rhino_health-2.2.5-py3-none-any.whl
| Download URL | rhino_health-2.2.5-py3-none-any.whl |
|---|---|
| Size | 152.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8effa27ed92a2637be932b5fe2cc3a486f12628b8569757e7820222f8526321
|
|
BLAKE2b-256 checksum How to use checksums |
bd08cd2cd0836ae871c52b0fc3c2aa5b7d9530f0914cf98af82a5476df99ecfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency log