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.6+
Documentation
The documentation for MSL-Network can be found here.
Metadata
Release files for msl-network 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| msl-network-1.0.0.tar.gz | 81.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| msl_network-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 150.9 kB
Release files / msl-network-1.0.0.tar.gz
| Download URL | msl-network-1.0.0.tar.gz |
|---|---|
| Size | 81.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32a4153b292bd93c1040e0dd50fba4dca476d612614a22ed4792f860b058c712
|
|
BLAKE2b-256 checksum How to use checksums |
eb89c1cbffa4353e3dbeae05bdf02870caba9dd10a10679bb0dbe351a836a0f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.16
|
Release files / msl_network-1.0.0-py3-none-any.whl
| Download URL | msl_network-1.0.0-py3-none-any.whl |
|---|---|
| Size | 69.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67ccdd0ecd32be2f677f2fd90e92cf6665677ed7a51d31aa5b7a32b842c384ca
|
|
BLAKE2b-256 checksum How to use checksums |
9e9c87ce253bc49e8109a81adaf7b5077a256942e148f5f11464eb4ec5e385ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.16
|