Skip to main content

Concurrent and asynchronous network I/O

Project description

Documentation Status pypi

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

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

msl-network-0.4.0.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

msl_network-0.4.0-py35-none-any.whl (61.8 kB view details)

Uploaded Python 3.5

File details

Details for the file msl-network-0.4.0.tar.gz.

File metadata

  • Download URL: msl-network-0.4.0.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for msl-network-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e2d86afc9aed4172a7ca8e63ebe854e347b8d04e84a40c5de03923c1ebd7f1ba
MD5 34602aca4c4a64ff88c9bf4cc825ae74
BLAKE2b-256 3f46d93fec0f822dcde2d4481a374e07dfc48756f12c707c38e0b76eb5240c04

See more details on using hashes here.

File details

Details for the file msl_network-0.4.0-py35-none-any.whl.

File metadata

  • Download URL: msl_network-0.4.0-py35-none-any.whl
  • Upload date:
  • Size: 61.8 kB
  • Tags: Python 3.5
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for msl_network-0.4.0-py35-none-any.whl
Algorithm Hash digest
SHA256 7d1a98bda81b807947164207414ae58cd21c591b2648972317fc2eaeb3509089
MD5 2291247153b7ef0fb490473949b9b644
BLAKE2b-256 a7f9be600f9b5a85754d269cd25b111e0570c08f628b21d9baf8bb15b37503dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page