Skip to main content

ikkLink

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())

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ikklink-0.0.3-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page