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
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
File details
Details for the file pydnp3-0.1.0.tar.gz.
File metadata
- Download URL: pydnp3-0.1.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7b8c05b3593e1edeac6bb764629d45cb62a8bd32eec38179559d426d581efed
|
|
| MD5 |
2145451c47870b6dc667f44510e65878
|
|
| BLAKE2b-256 |
3d7b9da4115503bdce211323caaa12ad7a5128470366a62cdc9c3877549d0be5
|
File details
Details for the file pydnp3-0.1.0-cp36-none-any.whl.
File metadata
- Download URL: pydnp3-0.1.0-cp36-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.6
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
857387686f445f025ec566e6901b39680d2a5da5e1a54981d8451aaff4ef64a4
|
|
| MD5 |
38a2797064f5dfa9c1908d6cddb90e88
|
|
| BLAKE2b-256 |
50b24c2333e060acec6f19f47b52e8ac00238ff740a95e1189c017d4936322a4
|
File details
Details for the file pydnp3-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl.
File metadata
- Download URL: pydnp3-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.6m, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dc255639f538a62d9a078293731c95385faab1ff9a1fb82d0d2a77e9c1a53ae
|
|
| MD5 |
9fa3687de5e6277772d97cb7ead097ee
|
|
| BLAKE2b-256 |
9ae592ff75873b9e38b7ba2a67b1ee8a73df11e7ad559c22b4648e436e32d845
|
File details
Details for the file pydnp3-0.1.0-cp35-none-any.whl.
File metadata
- Download URL: pydnp3-0.1.0-cp35-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.5
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64b31e8cbdb28f18e2567018ca4e8cdfaafc88ae1771569a62b4294b45d39de6
|
|
| MD5 |
acc82c89b867d61388de634b36689439
|
|
| BLAKE2b-256 |
1cdc490d8c21540792cad1ea59049d5b813c6b53d0a4831ed50e652ea8acc2a2
|
File details
Details for the file pydnp3-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl.
File metadata
- Download URL: pydnp3-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.5m, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc812726480ef8ce38eee948d5707feee01ff4cfa309d227010237187ad4ebe2
|
|
| MD5 |
b86c9190369928e9035de670a0a587b8
|
|
| BLAKE2b-256 |
c241c8ee9fc4effd70dcb9c13a667beb8ac61149cc224330ec53b8601ee33111
|
File details
Details for the file pydnp3-0.1.0-cp27-none-any.whl.
File metadata
- Download URL: pydnp3-0.1.0-cp27-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 2.7
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e358c944464a2ceba90c92334aecc843279ab17a95b9a02412a8aa8a53f8d305
|
|
| MD5 |
34dc45bcbc97932a561a30266cc43544
|
|
| BLAKE2b-256 |
5709bd38e878303c56e2a51341ff02aab1b7d44a91ab7199e5a235974bdb1d33
|
File details
Details for the file pydnp3-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl.
File metadata
- Download URL: pydnp3-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 2.7m, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
390bff336e708b56b09006404628c1acaf130f7d73232418f554bac549b653f7
|
|
| MD5 |
b70f5baaeb3c46dbbdf0fee0afe8392d
|
|
| BLAKE2b-256 |
2b50b729c04b8da54fce68ad20e7ade13304a449f9e2bf87c0496d0210b57b19
|