body-models
Parametric human models with a shared NumPy, PyTorch, and JAX API.
Installation
Requires Python 3.11 or newer. NumPy is included; add extras for PyTorch or JAX.
pip install body-models
pip install "body-models[torch]"
pip install "body-models[jax]"
Example
from body_models.gnm.numpy import GNM
model = GNM()
params = model.get_rest_pose(batch_dims=(1,))
vertices = model.forward_vertices(**params)
skeleton = model.forward_skeleton(**params)
Public assets such as GNM Head download on first use. Models with restricted assets require registration with their upstream project.
Models
| Category | Models |
|---|---|
| Bodies | SMPL, SMPL-H, SMPL-X, ANNY, MHR, SOMA |
| Heads | FLAME, GNM Head |
| Hands | MANO |
| Anatomy | SKEL |
| Measurements | GarmentMeasurements |
See the documentation for setup, parameters, and API details.
License
The library uses Apache 2.0. Model assets retain their upstream licenses; see each model's documentation.
Metadata
Release files for body-models 0.26.2
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 |
|---|---|---|---|---|
| body_models-0.26.2.tar.gz | 142.5 kB | Without provenance | Details for body_models-0.26.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| body_models-0.26.2-py3-none-any.whl | Python 3 | none | any | Details for body_models-0.26.2-py3-none-any.whl |
Total release size: 327.4 kB
Release files / body_models-0.26.2.tar.gz
| Download URL | body_models-0.26.2.tar.gz |
|---|---|
| Size | 142.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818cb5eaff3d1a8d2ebd3fdfc68acd65adae442bf0ee96d158afce59917e8434
|
|
BLAKE2b-256 checksum How to use checksums |
4b788e3f642cc4b606f5e1897a8526486ab0468736eafeae30541118e2014b29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / body_models-0.26.2-py3-none-any.whl
| Download URL | body_models-0.26.2-py3-none-any.whl |
|---|---|
| Size | 184.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d26fe826ba9b206873af872312c1b9bf31c2195fe5ada95ebca1f14103a6d424
|
|
BLAKE2b-256 checksum How to use checksums |
76eaa78afbd85ec470342d7fef226251cac44ed592463b6ab2fb11b3b33cbafc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for body-models 0.26.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.