Metadata-Version: 2.1
Name: myo-python
Version: 0.2.4
Summary: Python bindings for the Thalmic Labs Myo SDK
Home-page: https://github.com/NiklasRosenstein/myo-python
Author: Niklas Rosenstein
Author-email: rosensteinniklas@gmail.com
License: UNKNOWN
Description: <p align="center">
          <img align="center" src="https://www.myo.com/assets/sapphire/navbar/myo-logo.svg"/>
          <img align="center" src="https://www.python.org/static/community_logos/python-logo.png"/>
        </p>
        <p align="center">
          <a href="http://myo-python.readthedocs.org/en/latest/?badge=latest" alt="Documentation Status">
            <img src="https://readthedocs.org/projects/myo-python/badge/?version=latest"/>
            <img src="https://img.shields.io/badge/version-0.2.3-blue.svg?style=flat-square"/>
          </a>
        </p>
        <h1 align="center">Python bindings for the Myo SDK</h1>
        
        > **Important:** Myo-Python 0.2.x is deprecated and only maintained to fix
        > crucial bugs. Please check out newer Myo-Python versions on [GitHub] or
        > [PyPI].
        
          [Github]: https://github.com/NiklasRosenstein/myo-python
          [PyPI]: https://pypi.org/project/myo-python/
        
        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.
        
        __Features__
        
        - [x] Python 2 & 3 compatible
        - [x] Math classes for Vector and Quaternion
        
        __Example__
        
        ```python
        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)
        
        init()
        hub = Hub()
        hub.run(1000, Listener())
        try:
            while True:
                sleep(0.5)
        except KeyboardInterrupt:
            print('\nQuit')
        finally:
            hub.shutdown()  # !! crucial
        ```
        
        __Requirements__
        
        - [six](https://pypi.python.org/pypi/six) [required]
        
        __Projects that use myo-python__
        
        - [Myo Matlab](https://github.com/yijuilee/myomatlab)
        
          [docs]: http://myo-python.readthedocs.org/en/latest/index.html
        
        ----
        
        <p align="center">This project is licensed under the MIT License.</br>
        Copyright &copy; 2015 Niklas Rosenstein</p>
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
