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.
- Website: https://effectiveai.app
- Documentation: https://docs.effectiveai.app/relativities/index
- Support: support@effectiveailabs.com
Metadata
Release files for relativities 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relativities-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / relativities-0.6.1-py3-none-any.whl
| Download URL | relativities-0.6.1-py3-none-any.whl |
|---|---|
| Size | 173.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19c12ffa5a84b26a3b3f28691acc80a0428e8bec3927d94e4d4c8e06030a09b0
|
|
BLAKE2b-256 checksum How to use checksums |
47e20ede2f31b39d5122605a2bcb76bc8bb48dd54e5f94c70518ad8540c02837
|
| 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 19, 2026.
Transparency logSecurity for relativities 0.6.1
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.1-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 19, 2026.
Transparency logA 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.