Metadata-Version: 2.1
Name: pymodi
Version: 0.7.1
Summary: Easy😆 and fast💨 MODI Python API package.
Home-page: https://github.com/LUXROBO/pyMODI
Author: Jinsung Ha
Author-email: jinsung@luxrobo.com
License: MIT license
Keywords: pymodi,modi,luxrobo
Platform: UNKNOWN
Classifier: Natural Language :: English
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
Requires-Dist: pyserial (>=3.1.1)
Requires-Dist: enum34 (>=1.1.6)

pyMODI
======

[![image](https://img.shields.io/pypi/v/pymodi.svg)](https://pypi.python.org/pypi/pymodi)

[![image](https://img.shields.io/pypi/pyversions/pymodi.svg)](https://pypi.python.org/pypi/pymodi)

[![image](https://img.shields.io/travis/LUXROBO/pyMODI.svg)](https://travis-ci.org/LUXROBO/pyMODI)

[![Documentation Status](https://readthedocs.org/projects/pymodi/badge/?version=latest)](https://pymodi.readthedocs.io/en/latest/?badge=latest)

[![Updates](https://pyup.io/repos/github/LUXROBO/pyMODI/shield.svg)](https://pyup.io/repos/github/LUXROBO/pyMODI/)

Easy😆 and fast💨 MODI Python API package.

-   Free software: MIT license
-   Documentation: <https://pymodi.readthedocs.io>.

Features
--------

-   Connect to the MODI network module and control input & output
    modules.
-   List serial ports of MODI network modules.
-   Turn on or off the PnP mode of MODI modules.
-   Get the position information of each modules.

Build Status
--------

master:

[![image](https://travis-ci.org/LUXROBO/pyMODI.svg?branch=master)](https://travis-ci.org/LUXROBO/pyMODI)

develop:

[![image](https://travis-ci.org/LUXROBO/pyMODI.svg?branch=develop)](https://travis-ci.org/LUXROBO/pyMODI)

Quickstart
--------

Install the latest pyMODI if you haven\'t installed it yet:

    pip install -U pymodi

Import [modi]{.title-ref} package and create [MODI]{.title-ref}
instance:

    import modi
    bundle = modi.MODI()

List connected modules:

    bundle.modules

List connected LED modules and pick the first one:

    bundle.leds # List.
    bundle.leds[0] # Pick.

Let\'s blink the LED\'s light 5 times:

    import time

    led = bundle.leds[0]

    for _ in range(10):
        led.on()
        time.sleep(1)
        led.off()
        time.sleep(1)

Credits
-------

This package was created with
[Cookiecutter](https://github.com/audreyr/cookiecutter) and the
[audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage)
project template.


