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.111.post0-cp313-cp313-win_amd64.whl (90.1 MB view details)

Uploaded CPython 3.13Windows x86-64

pymomentum_cpu-0.1.111.post0-cp313-cp313-manylinux_2_28_x86_64.whl (46.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pymomentum_cpu-0.1.111.post0-cp313-cp313-macosx_14_0_arm64.whl (25.5 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pymomentum_cpu-0.1.111.post0-cp312-cp312-win_amd64.whl (90.1 MB view details)

Uploaded CPython 3.12Windows x86-64

pymomentum_cpu-0.1.111.post0-cp312-cp312-manylinux_2_28_x86_64.whl (46.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pymomentum_cpu-0.1.111.post0-cp312-cp312-macosx_14_0_arm64.whl (25.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

File details

Details for the file pymomentum_cpu-0.1.111.post0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.111.post0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e92d076b851dbd2564909b5b5c6ae7174767aabbc3319190cb791dfc496b5a98
MD5 584f22e2ae73107cabf3955b0501d52c
BLAKE2b-256 c94756f6dec5d4efb3d766b0348c14fa70e0ea40f1ece8f13a8cdcd06eacc4d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.111.post0-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.111.post0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.111.post0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 135cdfdc12374e3f7cfe098a92b78dee5ec25a8e3e9f2ff5a6cacce07973efe8
MD5 58ba625023f689b80a1ed524f052eb85
BLAKE2b-256 8b50a85975893b5aef60701f23b54ea3848f8891b8438305c2fcae47a6d288e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.111.post0-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.111.post0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.111.post0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6523c630d05a0ad6191b585aa04418d944f4ab655475888e74ec8d7170cd42f4
MD5 01cffa38d361c56ccf00b355454d2ac1
BLAKE2b-256 df02840fc0ea97deac484b3ddb6efc14a26946ec1abe613a33411869663e936d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.111.post0-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.111.post0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.111.post0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5e2e2bc2cfbc6cf7e4f761cb302cf1238182213ff93935321fa96605ff9b8c5c
MD5 49a542b73cf881a5e68064569e62bcfd
BLAKE2b-256 ef6efe90fc19e8b76b3c90905fd6913ed7ba7b3a0ea3dfcc5202391716bf3f9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.111.post0-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.111.post0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.111.post0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f658941f7f71d3e3f97cba13f121438cf634d70ca4c1819a450fff6b3eaf67cb
MD5 9ae8aacf556f2f7b07e67f5687c99f30
BLAKE2b-256 519145f27a1a9ec087b03be4167bd714f55ed67e1edc411bc32391fef6a8f6e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.111.post0-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.111.post0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pymomentum_cpu-0.1.111.post0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5f284fa9c94f2ddc180f97cfe59f2fa57ad75e72ec878a38a8901aed5939b416
MD5 40fb47b237c4ff85c88d1620279b4ba6
BLAKE2b-256 df25697822b72d728b9bd3b56d66844aba51c5df277bd08b511df4d46d7d3735

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymomentum_cpu-0.1.111.post0-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