Skip to main content

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:

This repository includes two repositories as submodules (under deps/):

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyopendnp3, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyopendnp3-0.1.0-cp35-cp35m-win_amd64.whl (897.9 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pyopendnp3-0.1.0-cp36-cp36m-win_amd64.whl (897.9 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pyopendnp3-0.1.0-cp37-cp37m-win_amd64.whl (898.0 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pyopendnp3-0.1.0-cp38-cp38-win_amd64.whl (952.3 kB) File type Wheel Python version cp38 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page