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 pyrain
  • 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

Supporting documentation is provided in the form of:

  • Online documentation
  • Examples, containing a ready-to-use instrument called reindeer, and a README as a guide
  • Tests

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.1.tar.gz (53.2 kB view details)

Uploaded Source

Built Distribution

pyrain-0.4.1-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrain-0.4.1.tar.gz
  • Upload date:
  • Size: 53.2 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.1.tar.gz
Algorithm Hash digest
SHA256 70646148631e19e1ea52820f6ce162e606decab8c5af06b3c0cc9d282640b913
MD5 cd467b46f29224667337a39ad9158be8
BLAKE2b-256 42f6edf5de8b86e73a77d7e86a2136bb5d8c88a4b7d5b2e5dee9d30042d52534

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrain-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 44.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 076ed7b8f8d55744400e636898737afc90bc8ec96b9cdd92ff8445622abf51d8
MD5 e3b8768f9035cd5a16250d0e951c874f
BLAKE2b-256 ba5599738f98a6838a0ea06042cf9d1f7e8f5c15a40eab093e921e670f70d07d

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