py3coap

A GOLANG python extension for COAP/COAPS-requests


License
MIT
Install
pip install py3coap==0.9.4

Documentation

Build Status

PyCOAP

A python extension module written in GOLANG to provide basic COAP-capabilities, including support for DTLS.

Requirements

To compile and install PyCOAP you need:

golang-compiler and python developement packages

  $ sudo apt install golang python3 python3-dev

Updated pip and setuptools

  $ sudo pip3 install -U pip setuptools

Installation

  $ git clone https://github.com/moroen/pycoap.git
  $ cd pycoap
  $ sudo python3 setup.py install

Usage

See included pycoap-client for a small example