Skip to main content

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

  1. Use defined endpoints under lib/endpoints for single actions
  2. Use our library functions for commonly performed advanced features
  3. 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhino_health-2.1.24.tar.gz (104.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rhino_health-2.1.24-py3-none-any.whl (144.2 kB view details)

Uploaded Python 3

File details

Details for the file rhino_health-2.1.24.tar.gz.

File metadata

  • Download URL: rhino_health-2.1.24.tar.gz
  • Upload date:
  • Size: 104.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rhino_health-2.1.24.tar.gz
Algorithm Hash digest
SHA256 0eba9f3beed9c04d85492922f2eec3f8d7561dcc7ddb5322c67f3a47995265f0
MD5 8b5c3a1f5738a5cf7b2ac0c83978c9e1
BLAKE2b-256 3265213ba6b58a9c880ccf0dd97f72bd065015081755800df380812342077ed2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rhino_health-2.1.24.tar.gz:

Publisher: sdk-publish.yml on RhinoHealth/fcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rhino_health-2.1.24-py3-none-any.whl.

File metadata

  • Download URL: rhino_health-2.1.24-py3-none-any.whl
  • Upload date:
  • Size: 144.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rhino_health-2.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 a69090972aa50b165dc3222219c333fc1736be9548f64c2f821d20b5ba98370a
MD5 9c5869932794ffa4d0eed523df8684f1
BLAKE2b-256 e19ad3c93f267a2eecca710b2f98fb0229a99f510126af3e8422a55e256474d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for rhino_health-2.1.24-py3-none-any.whl:

Publisher: sdk-publish.yml on RhinoHealth/fcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.2.1

2 files

2.2.0

2 files

This release

2.1.24 This release

2 files

2.1.23

2 files

2.1.22

2 files

2.1.21

2 files

2.1.20

2 files

2.1.19

2 files

2.1.15

2 files

2.1.14

2 files

2.1.13

1 file

2.1.12

1 file

2.1.11

1 file

2.1.10

1 file

2.1.9

1 file

2.1.8

1 file

2.1.7

1 file

2.1.5

1 file

2.1.4

1 file

2.1.3

1 file

2.1.2

1 file

2.1.1

1 file

2.1.0

1 file

2.0.0

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.3

1 file

1.4.2

1 file

1.4.1

1 file

1.4.0

1 file

1.3.11

1 file

1.3.10

1 file

1.3.9

1 file

1.3.8

1 file

1.3.7

1 file

1.3.6

1 file

1.3.5

1 file

1.3.3

1 file

1.2.1

1 file

1.1.2

1 file

1.1.1

1 file

1.0.10

1 file

1.0.6

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.1

1 file

1.0.0

1 file

0.3.5

1 file

0.3.4

1 file

0.3.3

1 file

0.3.2

1 file

0.3.1

1 file

0.3.0

1 file

0.2.27

2 files

0.2.25

2 files

0.2.23

2 files

0.2.22

2 files

0.2.21

2 files

0.2.19

2 files

0.2.18

2 files

0.2.17

2 files

0.2.16

2 files

0.2.15

2 files

0.2.14

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.1.0

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6.4

2 files

0.0.6.3

2 files

0.0.6.2

2 files

0.0.6.1

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3a1

2 files

0.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page