Skip to content

imubit/data-agent

Repository files navigation

PyPI-Server Coveralls

Data Agent

Python package for accessing real-time and historical data on industrial historians and control systems. Different historian protocols and APIs are implemented through standalone plugins.

THIS PACKAGE IS USELESS WITHOUT EXTERNAL PLUGINS IMPLEMENTING TARGET SYSTEM CUSTOM DATA ACCESS PROTOCOLS

Description

The package provides a unified data access API having several usage scenarios:

  • As a Python package
  • As a command line CLI
  • As a service (Windows or Linux) using AMQ protocol

Installation

pip install data-agent

Install the plugins required for communicating with the target systems

Python Package Usage

from data_agent.local_agent import LocalAgent

with LocalAgent() as agent:

    agent.api.list_supported_connectors()
    agent.api.create_connection(...)

Command Line Usage

dagent --service.id my_service --broker.uri amqp://guest:[email protected]/