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.1.1.tar.gz (39.1 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.1.1-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myo_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 39.1 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.1.1.tar.gz
Algorithm Hash digest
SHA256 c0fb893b9f9ca90aeda8c1518b3d8c1280c47d608cf34d040b50a24db9a026c2
MD5 12b3a8432c0fcede386ba150d17bd78a
BLAKE2b-256 91d5ddd095333c9550a61b86f00bb0d66ca3c6046d5d706bc3780350de48a4a5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: myo_tools-0.1.1-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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 737f907d65f0ed91c4cfbf60c5ce21c6cda3c808bef3f2f15f34e474d91b156e
MD5 5fb7c4de8ec36ae906bbe26bd9038633
BLAKE2b-256 9357b661c3e53fdf57ee8daed7c00bc6c13f86df552dd51035ac56d29168e3b1

See more details on using hashes here.

Provenance

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