معرفی شرکت ها


einder-0.3.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

API wrapper for Samsumgs set-top boxes SMT-G7400 and SMT-G7401.
ویژگی مقدار
سیستم عامل -
نام فایل einder-0.3.1
نام einder
نسخه کتابخانه 0.3.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Auke Willem Oosterhoff
ایمیل نویسنده auke@orangetux.nl
آدرس صفحه اصلی https://github.com/OrangeTux/einder
آدرس اینترنتی https://pypi.org/project/einder/
مجوز MIT
|Build Status| |PyPI| Einder ====== Einder is an API wrapper for the set-top boxes SMT C7400 and SMT C7401. In the Netherlands these boxes are sold by a big Dutch cable operator under the name Horizon Box. The name Einder is a Dutch synonym for horizon. I'd like to thank `kuijp <https://github.com/kuijp>`__ for his work on `horizoncontrol <https://github.com/kuijp/horizoncontrol>`__. This is just a shameless Python rip off. Installation ------------ .. code:: shell $ pip install einder Usage ----- ``einder.Client`` controls the set-top box by sending bytes. These bytes represent the buttons of a remote control. You can find all supported keys in `einder.keys <einder/keys.py>`__. The example shows how to send keys. .. code:: python import time import logging from einder import Client from einder import keys # Enable logging. logging.basicConfig(level=logging.DEBUG) # Replace IP with the IP of your set-top box. The port parameter is optional, # by default its 5900. c = Client("192.168.1.245", port=5900) c.power_on() # Wait a few seconds to let the set-top box have some time to start. time.sleep(5) # Select channel 501. c.send_key(keys.NUM_5) c.send_key(keys.NUM_0) c.send_key(keys.NUM_1) # For selecting a channel einder.Client offers a small helper function. c.select_channel(501) # No watch some TV... c.power_off() c.disconnect() The ``einder.Client`` can also be used as a context manager: .. code:: python from einder import Client with Client("192.168.1.245") as c: c.select_channel(501) License ------- This software is licensed under the `MIT license <LICENSE>`__. .. |Build Status| image:: https://travis-ci.org/OrangeTux/einder.svg?branch=master :target: https://travis-ci.org/OrangeTux/einder .. |PyPI| image:: https://img.shields.io/pypi/v/einder.svg :target: https://pypi.python.org/pypi/einder/


نحوه نصب


نصب پکیج whl einder-0.3.1:

    pip install einder-0.3.1.whl


نصب پکیج tar.gz einder-0.3.1:

    pip install einder-0.3.1.tar.gz