Intended as yet another way of interacting with a Web Application Messaging Protocol (WAMP) service, this is intended to be a very lightweight library as an alternative to autobahn.js.
Examples can be found in the "examples" directory.
Install by using:
pip install swampyer
The targets are python3.6
and up. python 2.7
support was dropped in version 3.0.20211103
. For 2.7 support use:
# For Python 2.7 support
pip install swampyer=2.20210513
Tox is used to automate the testing between the various python versions.
Setting up the environment can by:
git clone https://github.com/zabertech/python-swampyer.git
poetry shell
poetry install
Execute by running
./run.sh login
poetry shell
nox
Execute a specific nox environment:
nox -e <env_name>
Note: a list of available environments can be found with:
nox --list-sessions
poetry build
poetry publish