Skip to main content

iocontrol.ru module for iocontorl.ru api

Project description

pyiocontrol

Модуль для работы с API iocontrol.ru

Модуль позволяет работать с сервисом iocontrol в интерпретаторе Python версии >= 3

Установка

Вручную:

python3 setup.py install

При помощи pip:

pip3 install pyiocontrol

Примеры:

Чтение переменных из панели:

import pyiocontrol

mypanel = pyiocontrol.Panel("название_панели")

x = mypanel.название_переменной     # например: x = mypanel.mysensor

Запись переменых в панель:

import pyiocontrol

mypanel = pyiocontrol.Panel("название_панели")

mypanel.название_переменной = 42    # например: mypanel.mysensor = 42

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

pyiocontrol-0.7.6.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file pyiocontrol-0.7.6.tar.gz.

File metadata

  • Download URL: pyiocontrol-0.7.6.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for pyiocontrol-0.7.6.tar.gz
Algorithm Hash digest
SHA256 219958422b7bf389d462030bb9c3c469436af6f9963f4d99d777d7e2b92bba6f
MD5 9cd865bfc9ff8d73b995fee653212c0b
BLAKE2b-256 d558dc4a92c4eed8c4a6dae48aea5a6fee995103125603b3dd12ff14bba8cb5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page