Python library for controlling and monitoring InsightScan from external applications
Project description
ikkLink
ikkLink は InsightScan に接続して、外部アプリケーションから制御と状態監視を行うための Python ライブラリです。
基本的な利用では from ikkLink import InsightScanLink を推奨します。
既存コードとの互換のため、insightScanLink も当面は利用できます。
Install
pip install ikkLink
Quick Start
import asyncio
from ikkLink import InsightScanLink
async def main() -> None:
link = InsightScanLink(reconnect=True)
connected = await link.Connect(host="127.0.0.1", port=53301)
if not connected:
raise RuntimeError("InsightScan に接続できませんでした")
await link.GetStatus()
print(f"state={link.State.Code} name={link.State.Name}")
if not link.IsReadyForRecipe():
await link.Init()
await link.close()
asyncio.run(main())
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
ikklink-0.0.3.tar.gz
(39.8 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
ikklink-0.0.3-py3-none-any.whl
(43.0 kB
view details)
File details
Details for the file ikklink-0.0.3.tar.gz.
File metadata
- Download URL: ikklink-0.0.3.tar.gz
- Upload date:
- Size: 39.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24160a786669849149e1a093c8535baca0385d2e8b484dd8577fe73cf39ef24e
|
|
| MD5 |
1001925d62260a849cf3add566dee8d7
|
|
| BLAKE2b-256 |
ac45ca4e21eac90388703d73bed645185c24e01ebf2d1a053036f5c30d9de47e
|
File details
Details for the file ikklink-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ikklink-0.0.3-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c2f677d81c2b2294f9fc218216e9e74b752a87076480532621c46837915cfb
|
|
| MD5 |
5e7ab7c981379e911af2015c92f386fd
|
|
| BLAKE2b-256 |
28e405f8328f12c06335b41cf7b8b057d28ae7bc0c46d2cb666940773e525ddb
|