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.0.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.0-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myo_tools-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 49cac6bdfbd0f2f1e8339fa42404c9e40140853ab5eace9b408a16a8838367f3
MD5 48a4d226e0ab82fef71fab747a1a15f1
BLAKE2b-256 da12fa68d25d81cb61af6829a483991bb33fb96ecea71e27bc6c831454a9d08d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: myo_tools-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0feb4581358d85743861ab3852432f5c02f73cdf4fecc4a810775e534d3a69ae
MD5 3f8ea29b9cd9f7d2d3c3259ace216b95
BLAKE2b-256 17b48fc4480c456c2b8d63f829e6737818b816f5380d3b9e90d134b172592192

See more details on using hashes here.

Provenance

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