Skip to main content

Communication network linking research infrastructure using TCP/IP json messages

Project description

RAIN

ReseArch Infrastructure Network (RAIN) is a Python package that allows users to exchange messages between each other. This package was created with the purpose of sending status information between research infrastructure in the Arctic regions of the Nordics. However RAIN's scope is not limited to this specific use case. The communication network is set up in a decentralised peer-to-peer configuration, allowing users to run servers and clients. The communication takes place in the form of JSON messages over a TCP/IP connection.

RAIN can be installed in your virtual environment:

  • From PyPI: pip install rain
  • From this repository:
git clone https://github.com/danielk333/rain
pip install .

An installation guide can be found in docs/installation.md

The software package has two external dependencies:

  • PyZMQ: used for creating the connection socket, the transport of messages and also for the authentication of the connection
  • JSON Schema: used for validating messages, both before transmission and after reception

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

pyrain-0.4.0.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

pyrain-0.4.0-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file pyrain-0.4.0.tar.gz.

File metadata

  • Download URL: pyrain-0.4.0.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for pyrain-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c361a3abe471caa8fbe5ca2e1922d17b29b7e0b5984904d68b36da61302225b2
MD5 9bec876c1068943e3062f4bf242b2080
BLAKE2b-256 9b39d24705e8629f4f0f6e936eb8910045215007bf2a01aef9d68f1dfb12bfea

See more details on using hashes here.

File details

Details for the file pyrain-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pyrain-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for pyrain-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb2015e7d76c235c73904e26296797ec65c2b41d62c03cf188294dc4ee8236ca
MD5 b2689cb929ed84b194a99d1098e5ee57
BLAKE2b-256 4e9495cc76cf117bf98f3d303c54b14c9f95381f0fe9b1191cc832b2e7e1f329

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