Skip to main content

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

myo_tools-0.0.4.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

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

myo_tools-0.0.4-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

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

Hashes for myo_tools-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6cb85c07f14ed1cd480b90ce14ad2ba3399c22264138caacd18b0bffb9d712a8
MD5 d4b8f79320ef569e42026038ca76d0dd
BLAKE2b-256 b12510895eeac278d3946a65d22fac138cf8745fb254a68cee6d9f12fd54aef0

See more details on using hashes here.

Provenance

The following attestation bundles were made for myo_tools-0.0.4.tar.gz:

Publisher: tag_release_publish.yml on myolab/myo_tools

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

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

Hashes for myo_tools-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 164857c6dc7af211fee5ae5fd03ca1aa87c96b4d63c4656cc01ac123b567f170
MD5 08ea9c4c24215d0e34b5708f3941dd8d
BLAKE2b-256 fe0ad941073211df5e8f4f4b49580b2c6bd0034439a434d28e96e3fdcffec874

See more details on using hashes here.

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

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