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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inertia_client-0.2.1.tar.gz | 15.5 kB | With provenance | Details for inertia_client-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inertia_client-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for inertia_client-0.2.1-py3-none-any.whl |
Total release size: 27.7 kB
Release files / inertia_client-0.2.1.tar.gz
| Download URL | inertia_client-0.2.1.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
724bc45c6afe6f4acf788b5155c0f88845f37659c6cd82a30ccd634db80c238f
|
|
BLAKE2b-256 checksum How to use checksums |
e58381e7f3a993ccb3cce45a1bd77b7bbe56ecb488a51a091fd52c5d4c12054a
|
| 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 24, 2026.
Transparency logRelease files / inertia_client-0.2.1-py3-none-any.whl
| Download URL | inertia_client-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fa3b7ac478402d65c40cd74733fd5605b1e4ac0d70264cd093992c8924118f0
|
|
BLAKE2b-256 checksum How to use checksums |
286948205e6d4259998df9f67a9748f363e5edddddf4b0816811915857203bf4
|
| 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 24, 2026.
Transparency logSecurity for inertia-client 0.2.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
Both files in this release have been uploaded with provenance metadata.
Attestation for inertia_client-0.2.1.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 24, 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.