Model Health Python SDK
Python SDK for the Model Health biomechanical analysis API.
Installation
pip install modelhealth
Requires Python 3.11 or later.
Quick Start
import time
from modelhealth import (
ModelHealthClient,
ActivityStatus,
ActivityStatusUploading,
AnalysisStatus,
)
client = ModelHealthClient("your_api_key")
# List sessions created via the mobile app
sessions = client.session_list()
session = sessions[0]
# Get activities for a subject
subjects = client.subject_list()
activities = client.activities_for_subject(
str(subjects[0].id), start_index=0, count=20
)
activity = activities[0]
# Poll until processing is complete
status = client.activity_status(activity)
while isinstance(status, ActivityStatusUploading) or status == ActivityStatus.processing:
time.sleep(10)
status = client.activity_status(activity)
# Run analysis
task = client.start_analysis("gait", activity, session)
analysis_status = client.analysis_status(task)
while analysis_status == AnalysisStatus.processing:
time.sleep(10)
analysis_status = client.analysis_status(task)
# Download results
import json
results = client.analysis_data_for_activity(activity, ["metrics"])
metrics = json.loads(results[0].data)
Documentation
Full documentation: sdk.modelhealth.io
License
Apache 2.0
Metadata
Release files for modelhealth 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modelhealth-0.9.1-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for modelhealth-0.9.1-cp311-abi3-win_amd64.whl |
| modelhealth-0.9.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ x86-64 | Details for modelhealth-0.9.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| modelhealth-0.9.1-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.11 | abi3 | macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.12+ x86-64 | Details for modelhealth-0.9.1-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
Total release size: 8.0 MB
Release files / modelhealth-0.9.1-cp311-abi3-win_amd64.whl
| Download URL | modelhealth-0.9.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
636fd1a9f9ba4151b1fce32e004092b22d69847fc6aba6aa0ed1328190598848
|
|
BLAKE2b-256 checksum How to use checksums |
45ce4d53dfbaf84f8d863846b4677ac22b51c844b811fe8cc2f5ad0e578ee058
|
| 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 Aug 10, 2026.
Transparency logRelease files / modelhealth-0.9.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | modelhealth-0.9.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
276f436bf3d8586eef07bbba257eab0dc39b9ce899fa086f2815c7f9a7ffdf90
|
|
BLAKE2b-256 checksum How to use checksums |
5efb04fadfd6108778a422b887c19addde6ccfe915f38f5cd7c8e552dc0285f4
|
| 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 Aug 10, 2026.
Transparency logRelease files / modelhealth-0.9.1-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | modelhealth-0.9.1-cp311-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d3ac6064ef9a0f86a805206851e1fce24bbfd96eac5648a7231fd8855ea95964
|
|
BLAKE2b-256 checksum How to use checksums |
50486ca946fea3e74843378b7daa059dfecaa82831a2554ff65c0014a02b9cbe
|
| 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 Aug 10, 2026.
Transparency logSecurity for modelhealth 0.9.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 3 files in this release have been uploaded with provenance metadata.
Attestation for modelhealth-0.9.1-cp311-abi3-win_amd64.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 Aug 10, 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.