A WebThing WebSocket consumer and API client.
The module is available from the Python Package Index.
$ pip3 install webthing-ws
On a Fedora-based system or on a CentOS/RHEL host with EPEL 8.
$ sudo dnf -y install python3-webthing-ws
For Nix or NixOS users is a package available. Keep in mind that the lastest releases might only
be present in the unstable
channel.
$ nix-env -iA nixos.python3Packages.webthing-ws
The file example.py
contains an example about how to use this module.
For development is recommended to use a venv
. Create it in the directory
after cloning the Git repository.
$ python3 -m venv .
$ source bin/activate
$ python3 setup.py develop
webthing-ws
is licensed under MIT, for more details check LICENSE.