Install MSL-Network
To install MSL-Network run:
pip install msl-network
Alternatively, using the MSL Package Manager run:
msl install network
Compatibility
MSL-Network uses coroutines with the async
and await
syntax that were added in
PEP492 and is compatible with Python 3.6+.
The Client
and Service
classes can be
implemented in any programming language (and also in previous versions of Python). See the
JSON Formats section for how the Network Manager
exchanges
information between a Client
and a Service
.
Dependencies
Python 3.6+
Optional packages that can be used for (de)serializing JSON data:
To use one of these external JSON packages, rather than Python’s builtin json
module,
read the documentation of msl.network.json.Package
.