Concurrent and asynchronous network I/O
Project description
MSL-Network uses concurrency and asynchronous programming to transfer data across a network and it is composed of three objects – a Network Manager, Clients and Services.
The Network Manager allows for multiple Clients and Services to connect to it and it links a Client’s request to the appropriate Service to execute the request and then the Network Manager sends the response from the Service back to the Client.
The Network Manager uses concurrency to handle requests from multiple Clients such that multiple requests start, run and complete in overlapping time periods and in no specific order. A Client can send requests synchronously or asynchronously to the Network Manager for a Service to execute. See Concurrency and Asynchronous Programming for more details.
JSON is used as the data format to exchange information between a Client and a Service. As such, it is possible to implement a Client or a Service in any programming language to connect to the Network Manager. See the JSON Formats section for an overview of the data format. One can even connect to the Network Manager from a terminal to send requests, see Connecting from a Terminal for more details.
Install
To install MSL-Network run:
pip install msl-network
Alternatively, using the MSL Package Manager run:
msl install network
Dependencies
Python 3.5+
Documentation
The documentation for MSL-Network can be found here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file msl-network-0.4.1.tar.gz
.
File metadata
- Download URL: msl-network-0.4.1.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2ef843d57c659ffb317e9481c0d55b0be3eb5482972bb7493b11e9e708a13a |
|
MD5 | 6df60e405fe28e7346aaa9f8c8f553a1 |
|
BLAKE2b-256 | 93355be501d2ab3ba1144020fc3c749dc182c834183efd0a9d1f1e09f110f6db |
File details
Details for the file msl_network-0.4.1-py35-none-any.whl
.
File metadata
- Download URL: msl_network-0.4.1-py35-none-any.whl
- Upload date:
- Size: 62.2 kB
- Tags: Python 3.5
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a473b46d3abef1ed0de73717a83dea2acde832e2924954a574acc89cd114e9 |
|
MD5 | 22291f428e8d04a7f01a542b59234aad |
|
BLAKE2b-256 | 1e582e8728d02a44c03917b498510aaf2891d39ff3f1a5851040226c4f12b439 |