Skip to main content

inertia-client

Submit labels to the inertia challenge: inertia-client and the inertia_client Python package.

inertia-client login
inertia-client submit sift_128 sift_128.npz --time 100=23.21 --hardware "M2, 8 cores" --tag algorithm=Lloyd
inertia-client status <id> --wait

login identifies you with GitHub. It gives a code to enter on github.com and keeps a token in ~/.config/the-inertia-challenge/github-token. The token can only tell who you are: it gives no access to your repositories. GitHub only accepts it for 8 hours, so the client renews it when needed: you log in again only after 6 months without using the client.

submit checks the file as the server will, without the dataset, then asks before sending it: the server takes one submission per day and per dataset. check only does the check. An upload that was stopped resumes with inertia-client resume <id> FILE, for 6 hours.

The file is a .npz for one dataset. Each key is a number of clusters k, and its array has the label of each sample: dtype uint32, shape (n_samples,), values in [0, k). From Python, submit takes {k: labels} and writes the file.

--time, --hardware and --tag are what you say about the submission. They are shown on the scoreboard as you give them. The time is for one number of clusters: give --time once for each of them.

--submit-only-improvement scores the labels on your side (with inertia-scorer, so the dataset must be downloaded, see --data-dir) and compares each number of clusters to the scoreboard. It is sent if it beats your best score (or you have none yet), and if it is less than 10% above the best score of everyone, else the listener would not publish it. Nothing is sent when no number of clusters is. Your scores are the ones of your GitHub login.

From Python:

import inertia_client

inertia_client.submit(
    "sift_128", {100: labels}, time_s={100: 23.21}, hardware="M2, 8 cores"
)
# Only the numbers of clusters worth sending; None if there is none.
inertia_client.submit("sift_128", {100: labels}, submit_only_improvement=True)

Metadata

Release files for inertia-client 0.2.2

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

Source distribution (sdist)

Source distribution for inertia-client 0.2.2
File Size Uploaded Provenance Actions
inertia_client-0.2.2.tar.gz 15.6 kB With provenance Details for inertia_client-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inertia-client 0.2.2
File Interpreter ABI Platform Actions
inertia_client-0.2.2-py3-none-any.whl Python 3 none any Details for inertia_client-0.2.2-py3-none-any.whl

Total release size: 27.7 kB

Release files / inertia_client-0.2.2.tar.gz

Download URL inertia_client-0.2.2.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd052f760fff4af939094873aefdae9dceddbf0d410b7e171727f09da0cbf93b
BLAKE2b-256 checksum
How to use checksums
c912cd0e404ddc0083d2fcb56edf10cade1806b626a9cc0354eae32cfd2ee1c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / inertia_client-0.2.2-py3-none-any.whl

Download URL inertia_client-0.2.2-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d857ba1c77eb8c1ce9319d2f3cf032a42c829d5d25bbb6ed00534152da3ae0d
BLAKE2b-256 checksum
How to use checksums
fbd8ba3e198c44c7b36c6e4e719e4f2fd930fe29abde0f5c371f1b652b54546c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Security for inertia-client 0.2.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for inertia_client-0.2.2.tar.gz

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 Nov 27, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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