Python-клиент для взаимодействия с программой MOKO SE
Project description
mokose
Python-клиент для взаимодействия с программой MOKO SE.
Установка
pip install mokose
Использование
import mokose
# Логирование в Stage
mokose.Stage("Привет, MOKO SE!", "info")
# Работа с драйверами
value = mokose.Driver("MyDriver", "get", "command", "string")
# Управление портами
mokose.Port("COM1", "init")
data = mokose.Port("COM1", "read", valuetype="string")
# Работа с отчетами
mokose.Report("MyReport", "set", "string", "Данные отчета")
mokose.SaveReport("Word")
# Управление выполнением
mokose.EndScript("passed")
mokose.RestartProject()
# Работа с деревом проекта
mokose.ExecuteStep("Название шага$HASH_ID")
mokose.SetHash("passed")
# Получение времени
current = mokose.GetTime("Current")
Зависимости
- Python >= 3.10
- requests >= 2.25.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mokose-1.0.0.tar.gz
(16.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mokose-1.0.0-py3-none-any.whl
(16.1 kB
view details)
File details
Details for the file mokose-1.0.0.tar.gz.
File metadata
- Download URL: mokose-1.0.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ecc59e1fa624343971dffc417b92d79819e84d5595aed8caf6a116cd4c6d1cf
|
|
| MD5 |
e07db4e6a97d3524076cdcc7cd5e5ae6
|
|
| BLAKE2b-256 |
cbeb421b22936b39e5a386cca143456db166c0d21e5d9cfd567d8e5857b38430
|
File details
Details for the file mokose-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mokose-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07917d62ddbaf019a3aa54e3826e612d5aab7df5c67922510ebf72d8c946e038
|
|
| MD5 |
847e0188637dab3fffbf4e06f66900cd
|
|
| BLAKE2b-256 |
c10cd17af113e434e0587bd56e279ef500de68e5d196ebf0670a4bd44004c498
|