Skip to main content

A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (Torch C++ extension package linked against CPU PyTorch)

Project description

Momentum

CI Windows CI macOS CI Ubuntu Publish Website PyPI Wheels

Momentum provides foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications.

Forward and Inverse Kinematics with Interpretable Parameterization RGBD Body Tracking Solver Monocular RGB Body Tracking Solver

Quick Start

Installation

Pre-built binaries are available for Windows, macOS, and Linux:

# Python (Conda/Pixi) - Recommended
pixi add pymomentum             # Auto-detects GPU/CPU
conda install -c conda-forge pymomentum

# C++ (Conda/Pixi)
pixi add momentum-cpp
conda install -c conda-forge momentum-cpp

# Python (PyPI) - Experimental ⚠️
pip install pymomentum-cpu      # CPU version
pip install pymomentum-gpu      # GPU version with CUDA

⚠️ PyPI support is experimental. For the most stable experience, we recommend using Conda or Pixi.

📦 Browse packages: conda-forgeprefix.devPyPI

Quick Example

# Install and run
conda install -c conda-forge pymomentum
python -c "import pymomentum.geometry as geom; print(dir(geom))"

Building from Source

git clone https://github.com/facebookresearch/momentum
cd momentum
pixi run build      # Builds C++ library and Python bindings
pixi run test       # Runs tests
pixi run hello_world  # Runs example

For detailed instructions, see the comprehensive guides on our website:

📖 Documentation

Visit our documentation website for comprehensive guides, examples, and API references:

Contributing

Check our contributing guide to learn about how to contribute to the project.

License

Momentum is licensed under the MIT License. A copy of the license can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pymomentum_cpu-0.1.110.post166-cp313-cp313-win_amd64.whl (89.7 MB view details)

Uploaded CPython 3.13Windows x86-64

pymomentum_cpu-0.1.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl (46.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pymomentum_cpu-0.1.110.post166-cp313-cp313-macosx_14_0_arm64.whl (25.4 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pymomentum_cpu-0.1.110.post166-cp312-cp312-win_amd64.whl (89.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pymomentum_cpu-0.1.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl (46.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pymomentum_cpu-0.1.110.post166-cp312-cp312-macosx_14_0_arm64.whl (25.4 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

File details

Details for the file pymomentum_cpu-0.1.110.post166-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.110.post166-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a7b8eab7af57e34a49035a5f41cbb593530713b4d639ad5aa9a23c67192fe639
MD5 2dde3afb3a4067ce191f3e77df03f7db
BLAKE2b-256 3e2ed1961fd14fb6c308b34a0948a5daa4ac22fd741cbbe822a9465e0086cd58

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.110.post166-cp313-cp313-win_amd64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymomentum_cpu-0.1.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 632c25a4a30ade6314837950c2f775e7c7df63ef0f6e72d6c8273e359aa84fae
MD5 6975076de0328904068946df9d69b0dd
BLAKE2b-256 bc9804bdd2a6cc1751ab2fbfdbdadb7cfd4fa84cfdd7637fb7b4f51d6c86788a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.110.post166-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymomentum_cpu-0.1.110.post166-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.110.post166-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c52522be3cd2e5ddd897bcd6834079294a660ac20769719ae30b28779449ab8a
MD5 aa1b8dad6dce5d69af7474d8ae98a7db
BLAKE2b-256 ec152a868b7d8c106f0768ef01a749769c06f145097614018d4540a56b577fc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.110.post166-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymomentum_cpu-0.1.110.post166-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.110.post166-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 35c6782246b4ca0c4349fb98a246058b4b5aa5529d8aa0f6a11b7115ac75a3c8
MD5 31daf8552944eb3121b6e1dd00fbed41
BLAKE2b-256 bc730d19cb971442a4da2d6764edfd978186d4f680f92f0157f723ad56d0cfe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.110.post166-cp312-cp312-win_amd64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymomentum_cpu-0.1.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22d9e398db50a934941eb8c57baad7ecd1e584f81b3e39bc7a925aa903d51ecc
MD5 c8efe3e8746eabb673c03f56a1dc70fe
BLAKE2b-256 b3637e49f6137bc2e924b7ff31c18795901b720ae4ea52dcf9dd8c2b2039f681

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.110.post166-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymomentum_cpu-0.1.110.post166-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.110.post166-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0814ccc1626b9f3fd4c6d49bdda963d442f2d70b0fb8646daa6f8d1df2c40261
MD5 b58c6a3d61a4a2bc4b4cb9bff7cdfe85
BLAKE2b-256 96671b78a803e466383d8c3101342b4adf673c0b0f0466fbdb1fc8f0b85ec040

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.110.post166-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: publish_to_pypi.yml on facebookresearch/momentum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page