Implementation of virtual MODI modules written in Python.
Project description
VirtualMODI
Description
Implementation of virtual MODI modules, written in Python.
Features
VirtualMODI mimics the operation of MODI HW modules.
- Performs message generation and destruction for MODI1 and 2 modules
- Provides MPI through various connections including serial and TCP
How to Install
When installing VirtualMODI package, we highly recommend you to use Anaconda to manage the distribution. With Anaconda, you can use an isolated virtual environment, solely for VirtualMODI.
[Optional] Once you install Anaconda, then:
# Install new python environment for VirtualMODI package, choose python version >= 3.6
conda create --name virtual-modi python=3.6
# After you properly install the python environment, activate it
conda activate virtual-modi
# Make sure that your python version is compatible with VirtualMODI
python --version
Install the latest version of VirtualMODI:
python -m pip install virtual-modi --user
How to Use
Import virtual-modi package and create VirtualBundle object.
from virtual_modi import VirtualBundle
vb = VirtualBundle()
When creating the bundle object, you can optionally pass configuration parameters.
vb = VirtualBundle(conn_type='ser', modi_version=1)
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 virtual-modi-0.3.1.tar.gz
.
File metadata
- Download URL: virtual-modi-0.3.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a7cf508fd3e57fb35dc1b9eb805cdcc736d13f7ff86ef0c3564d1c17b4d76b5 |
|
MD5 | eed74be348ec23f9fb0336ca3b8f591b |
|
BLAKE2b-256 | 0f9571da7f5f0b9c66de3af111e60678a155ae4b644f42af991c67546afe5f89 |
File details
Details for the file virtual_modi-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: virtual_modi-0.3.1-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61cef439e8abf335a2a1ad478d6ed36a297feec354f9d09da6d91770f41d0aa1 |
|
MD5 | 5490b0a6f1210ab5b2e12f5848ac7367 |
|
BLAKE2b-256 | 65467f88315cd8c35c5974fc27e242a8aedbc556bb31e126317b268e85b25cc3 |