pydnp3 -- python binding for opendnp3
Project description
pydnp3
Python bindings for the opendnp3 library, an open source implementation of the DNP3 protocol stack written in C++14.
Note: This is a work in progress. See Issues for things we know about and feel free to add your own.
Supported Platforms: Linux, MacOS
Dependencies
To build the library from source, you must have:
- A toolchain with a C++14 compiler
- CMake >= 2.8.12 (https://cmake.org/download/)
This repository includes two repositories as submodules (under deps/
):
- dnp3 (https://github.com/automatak/dnp3)
- pybind11 (https://github.com/Kisensum/pybind11) - This is a fork containing a minor patch required to compile some of the pydnp3 wrapper code. It will be replaced with pybind11 proper when the issue is resolved.
Build & Install
At the moment, this library must be built from source:
$ clone --recursive http://github.com/Kisensum/pydnp3
$ cd pydnp3
$ python setup.py install
Documentation
pydnp3 is a thin wrapper around most all of the opendnp3 classes. Documentation for the opendnp3 classes is available at automatak.
Use python's help to discover the available wrapper classes and functions. For example,
> import pydnp3
> help (pydnp3.opendnp3)
Help on module pydnp3.opendnp3 in pydnp3:
NAME
pydnp3.opendnp3 - Bindings for opendnp3 namespace
FILE
(built-in)
CLASSES
pybind11_builtins.pybind11_object(__builtin__.object)
AnalogCommandEvent
AnalogInfo
AnalogSpec
...
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
Built Distributions
Hashes for pydnp3-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dc255639f538a62d9a078293731c95385faab1ff9a1fb82d0d2a77e9c1a53ae |
|
MD5 | 9fa3687de5e6277772d97cb7ead097ee |
|
BLAKE2b-256 | 9ae592ff75873b9e38b7ba2a67b1ee8a73df11e7ad559c22b4648e436e32d845 |
Hashes for pydnp3-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc812726480ef8ce38eee948d5707feee01ff4cfa309d227010237187ad4ebe2 |
|
MD5 | b86c9190369928e9035de670a0a587b8 |
|
BLAKE2b-256 | c241c8ee9fc4effd70dcb9c13a667beb8ac61149cc224330ec53b8601ee33111 |
Hashes for pydnp3-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 390bff336e708b56b09006404628c1acaf130f7d73232418f554bac549b653f7 |
|
MD5 | b70f5baaeb3c46dbbdf0fee0afe8392d |
|
BLAKE2b-256 | 2b50b729c04b8da54fce68ad20e7ade13304a449f9e2bf87c0496d0210b57b19 |