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
Release history Release notifications | RSS feed
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 pyrain-0.5.0.tar.gz
.
File metadata
- Download URL: pyrain-0.5.0.tar.gz
- Upload date:
- Size: 54.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97d8aebc071dcf0c1368a48883b81f5e6165a37092f0c54d5ffa73e1d39b1d4f |
|
MD5 | 6bb1f2f8df9609f1f41a2b88e842403a |
|
BLAKE2b-256 | 68b12c58c589112f9797375023ed4b5719a6c458f62bd5ad3661e07cfa361a94 |
File details
Details for the file pyrain-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pyrain-0.5.0-py3-none-any.whl
- Upload date:
- Size: 46.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 818c6ec8b90682eb8c4e2136a24fea3241a9b4aa7597315b6ef7d65a88d250e2 |
|
MD5 | dc215e1b7b947f19fed3b3ad025142ec |
|
BLAKE2b-256 | ad630e0d228a9bf5d80a894c775330dd429f2738ef695a722308489fa89bce59 |