A Python package for the myo api.
Project description
myo_tools
myo_tools is a collection of functions and utilities designed to support common workflows involving human embodiment and embodied motion. While originally developed to support MyoLab.ai’s work on human embodied intelligence, the APIs are general-purpose and can be extended to other embodied systems and applications.
An overview of the available functionality is provided below. Refer to the individual module folders for detailed feature descriptions and functionality details.
Modules
→ MuJoCo (mj)
MuJoCo is the core physics engine used to simulate motion at MyoLab. This module provides core routines for working directly with MuJoCo’s compiled data structures: MjModel and MjData.
These APIs are intended for robust instantiation, inspection, and manipulation of compiled MuJoCo models and simulation state.
→ MuJoCo Spec (mjs)
As of MuJoCo 3.2.0, models can be created and modified using the MjSpec structure and its associated API. This data structure has a one-to-one correspondence with MJCF; MuJoCo’s own MJCF and URDF XML parsers use this API internally.
This module provides foundational APIs that operate on uncompiled models and produce MuJoCo mjSpec structures. These tools are useful for editing and programmatically generating models while preserving editability prior to compilation.
→ Utilities (utils)
The utilities module contains functionality that is independent of MuJoCo, including:
- File and path handling
- Logging helpers
- Mathematical utilities (e.g., tensor and quaternion operations)
This module provide helpful utilities to accelerate your workflows.
Installation
Install the latest release from PyPI:
pip install myo_tools
Or, install in editable mode using
git clone https://github.com/myolab/myo_tools.git
cd myo_tools
pip install -e '.[test]'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file myo_tools-0.0.4.tar.gz.
File metadata
- Download URL: myo_tools-0.0.4.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cb85c07f14ed1cd480b90ce14ad2ba3399c22264138caacd18b0bffb9d712a8
|
|
| MD5 |
d4b8f79320ef569e42026038ca76d0dd
|
|
| BLAKE2b-256 |
b12510895eeac278d3946a65d22fac138cf8745fb254a68cee6d9f12fd54aef0
|
Provenance
The following attestation bundles were made for myo_tools-0.0.4.tar.gz:
Publisher:
tag_release_publish.yml on myolab/myo_tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
myo_tools-0.0.4.tar.gz -
Subject digest:
6cb85c07f14ed1cd480b90ce14ad2ba3399c22264138caacd18b0bffb9d712a8 - Sigstore transparency entry: 829167805
- Sigstore integration time:
-
Permalink:
myolab/myo_tools@dcb385d408cd79c8a2dc8f01b0122cd78fa98453 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/myolab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tag_release_publish.yml@dcb385d408cd79c8a2dc8f01b0122cd78fa98453 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file myo_tools-0.0.4-py3-none-any.whl.
File metadata
- Download URL: myo_tools-0.0.4-py3-none-any.whl
- Upload date:
- Size: 51.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
164857c6dc7af211fee5ae5fd03ca1aa87c96b4d63c4656cc01ac123b567f170
|
|
| MD5 |
08ea9c4c24215d0e34b5708f3941dd8d
|
|
| BLAKE2b-256 |
fe0ad941073211df5e8f4f4b49580b2c6bd0034439a434d28e96e3fdcffec874
|
Provenance
The following attestation bundles were made for myo_tools-0.0.4-py3-none-any.whl:
Publisher:
tag_release_publish.yml on myolab/myo_tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
myo_tools-0.0.4-py3-none-any.whl -
Subject digest:
164857c6dc7af211fee5ae5fd03ca1aa87c96b4d63c4656cc01ac123b567f170 - Sigstore transparency entry: 829167807
- Sigstore integration time:
-
Permalink:
myolab/myo_tools@dcb385d408cd79c8a2dc8f01b0122cd78fa98453 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/myolab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tag_release_publish.yml@dcb385d408cd79c8a2dc8f01b0122cd78fa98453 -
Trigger Event:
workflow_dispatch
-
Statement type: