icsneopy

raw JSON →
1.2.2 verified Fri May 01 auth: no python

A Python client for interacting with the ICS (Industrial Control Systems) network protocol. Version 1.2.2. Release cadence is irregular, as it is a small niche library.

pip install icsneopy
error ModuleNotFoundError: No module named 'icsneopy'
cause icsneopy is not installed.
fix
Run pip install icsneopy.
error ImportError: cannot import name 'ICSClient' from 'icsneopy'
cause Wrong import path or very old version.
fix
Ensure you have version >=1.0.0: pip install -U icsneopy. Import: from icsneopy import ICSClient.
gotcha The library requires Python 3.9+. Using older Python versions will fail.
fix Upgrade to Python 3.9 or higher.
breaking In version 1.0.0, the import path changed from `icsneopy.client` to `icsneopy`. Old imports will break.
fix Use `from icsneopy import ICSClient` instead of `from icsneopy.client import ICSClient`.

Create an ICS client and send a command.

from icsneopy import ICSClient

# Replace with actual endpoint and credentials
client = ICSClient(endpoint='https://example.com/api', api_key=os.environ.get('ICS_API_KEY', ''))
response = client.send_command('status')
print(response)