pyopendnp3 -- python binding for opendnp3
Project description
pyopendnp3
This project is a minor fork of the great pydnp3 library, which provides Python bindings for OpenDNP3.
Why fork? Because pydnp3 only provides pip-friendly wheels for Python 2 and Python 2.7 has reached end of life. This fork aims to provide pip-friendly wheels for Python 3 available on PyPI.
While the name of the project is pyopendnp3, module names are unchanged and thus code that worked with pydnp3 should work with no changes.
This project currently produces wheels for the following platforms:
- Windows
- Python 3.5 x86-64
- Python 3.6 x86-64
- Python 3.7 x86-64
- Python 3.8 x86-64
The remainder of this README is reproduced verbatim from 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
File details
Details for the file pyopendnp3-0.1.0.tar.gz
.
File metadata
- Download URL: pyopendnp3-0.1.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1032d749548cf0bc44eaafe0b07db39d6019a83815e29cea417cbbefb351d83e |
|
MD5 | b464c7896840ef1c3d6a26d637ab693e |
|
BLAKE2b-256 | 9c584ccb049ec177038e67bec106272278ff0797b4be01132a7651d970882056 |
File details
Details for the file pyopendnp3-0.1.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pyopendnp3-0.1.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 952.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd4442f16027c013915b3800042cce30d609e972590a8d21501162ac8d24d23 |
|
MD5 | ac9265f0c0c91e367660c12f353bd369 |
|
BLAKE2b-256 | 378d164ef19fe671e56959522e93b378c8f98b3e334c8e7a7b8b26fdb53dd59c |
File details
Details for the file pyopendnp3-0.1.0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pyopendnp3-0.1.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 898.0 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6abd0807cd8f3dca3bcdb5177cdf3d73c5fbdfbc7eea6a5381f7bcba395eb8 |
|
MD5 | 2af632d7f281fba6e063529ed418e404 |
|
BLAKE2b-256 | 933aeed7fee99ae388bca587aa48f3f702b67d24627e67552be327f02d7d9fc4 |
File details
Details for the file pyopendnp3-0.1.0-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pyopendnp3-0.1.0-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 897.9 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cfd7093d57acb15eeea0e5c0c9cb5f9b31fc261dfd2ea5f307d69b05705b930 |
|
MD5 | 883d60644c94b7fe5bd86ccecfccf4a3 |
|
BLAKE2b-256 | a18fd341c6f9f4dace8942e17df48af9d8235412a48765ca9dfec1d519365540 |
File details
Details for the file pyopendnp3-0.1.0-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: pyopendnp3-0.1.0-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 897.9 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1848cb1f0e91d569ab74b3ba2759ab905e17b1c6b346a4935a8a1a7751b876c6 |
|
MD5 | bc25d5d0da7fcc05f3c8c178b5c41b6c |
|
BLAKE2b-256 | 7035ab7636c0c8f2b6d3669e211fbc05807cda0c0b66f907c84068b01ec86393 |