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.3.0.tar.gz (58.6 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.3.0-py3-none-any.whl (72.7 kB view details)

Uploaded Python 3

File details

Details for the file myo_tools-0.3.0.tar.gz.

File metadata

  • Download URL: myo_tools-0.3.0.tar.gz
  • Upload date:
  • Size: 58.6 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.3.0.tar.gz
Algorithm Hash digest
SHA256 0075c2fe356cfe8d118281aea83cfb821b27d79cdc3723a0df68b6fab1cda8c7
MD5 0c47d5f06c6201b203a510967b286793
BLAKE2b-256 d9965e3cc056879c834cfdecbf89cbf3bc6d5c19ea0bbd0670b2f6be9815178c

See more details on using hashes here.

Provenance

The following attestation bundles were made for myo_tools-0.3.0.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: myo_tools-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 72.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 874d0c2f36686546548be35db09216db610b67b47af6721f493a11b347dd3612
MD5 cb002d8e20dd0784681bb99358f21018
BLAKE2b-256 1c16a9b2095d850d4489db704a06e69c44daf010b8e1371b2eb2090b9341e8c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for myo_tools-0.3.0-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