Skip to main content

Relativities

Run EffectiveAI raters on your own book, in Python.

Relativities brings insurance raters from EffectiveAI, including competitors' rating plans rebuilt from their public rate filings, onto your machine and runs them on a native Rust engine. Rate one submission or an entire book, get exact premiums back, and keep every result to yourself.

Install

pip install relativities
export EFFECTIVE_API_KEY=sk-eai-...

Python 3.12 or newer on macOS, Linux and Windows. Prebuilt wheels, no compiler.

Rate your book

from relativities import Rater

rater = Rater.load("<rater-id>")                   # downloaded once, verified, cached
results = rater.rate(submissions, key="submission_id")  # a DataFrame, rated locally on every core

premiums = results.to_pandas()                     # one row per submission: status, reason, outcomes
premiums["premium"].mean()                         # then it's pandas

rater.explain(submissions, "S-1", key="submission_id")  # its inputs and every calculated value

What you get

  • Exact premiums. Every premium is calculated in exact decimal arithmetic, with nothing rounded behind your back.
  • Every submission accounted for. Each submission keeps its row. A submission the rater refuses comes back with the reason, never as a zero premium.
  • Private by design. Raters run on your machine; your book and results are never uploaded.
  • Reproducible. Pin a rater with revision= to rerun exactly, even offline.
  • Fast. A whole book is rated in parallel on every core of your machine.
  • Every step visible. rater.explain(book, submission_id) lists the inputs the rater received and each intermediate value behind a premium.

License and support

Relativities is proprietary software from EffectiveAI, licensed under the terms in the LICENSE file included with the package. Catalog raters and data are covered by separate agreements.

Metadata

Release files for relativities 0.6.2

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

Built distribution (wheel)

Table of built distributions (wheels) for relativities 0.6.2
File Interpreter ABI Platform
relativities-0.6.2-py3-none-any.whl Python 3 none any Details

Release files / relativities-0.6.2-py3-none-any.whl

Download URL relativities-0.6.2-py3-none-any.whl
Size 177.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52ac50b3adb13d2b86abfb80cd4df993a8f3077d807c71f406538a2edba33f60
BLAKE2b-256 checksum
How to use checksums
902ec4676efecd0753810efa8382ddba2b37a1a1a6c0b95ef2d2b9ac543e70d5
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 20, 2026.

Transparency log

Security for relativities 0.6.2

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.

Full provenance

All 1 file in this release has been uploaded with provenance metadata.

Attestation for relativities-0.6.2-py3-none-any.whl

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 20, 2026.

Transparency log

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.

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