Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python bindings for the Thalmic Labs Myo SDK

Project Description
# Python bindings for the Myo SDK

[![Documentation Status](](

This module is a ctypes based wrapper for the Thalmic Myo SDK that is
compatible with Python 2 and 3. Check out the [docs][] for a tutorial
and the API documentation and the [examples](examples) folder.


- [x] Python 2 & 3 compatible
- [x] Math classes for Vector and Quaternion


from time import sleep
from myo import init, Hub, DeviceListener

class Listener(DeviceListener):

def on_pair(self, myo, timestamp, firmware_version):
print("Hello, Myo!")

def on_unpair(self, myo, timestamp):
print("Goodbye, Myo!")

def on_orientation_data(self, myo, timestamp, quat):
print("Orientation:", quat.x, quat.y, quat.z, quat.w)

hub = Hub(), Listener())
while True:
except KeyboardInterrupt:
hub.shutdown() # !! crucial

__Projects that use myo-python__

- [Myo Matlab](



<p align="center">This project is licensed under the MIT License.</br>
Copyright &copy; 2015 Niklas Rosenstein</p>
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (42.3 kB) Copy SHA256 Checksum SHA256 Source Jan 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting