Skip to main content

VirtualMODI

Python Versions Release (PyPI) Build Workflow Status (Github Actions) CodeFactor Grade GitHub LICENSE Lines of Code

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)

Metadata

Release files for virtual-modi 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for virtual-modi 0.3.1
File Size Uploaded
virtual-modi-0.3.1.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for virtual-modi 0.3.1
File Interpreter ABI Platform
virtual_modi-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.7 kB

Release files / virtual-modi-0.3.1.tar.gz

Download URL virtual-modi-0.3.1.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4a7cf508fd3e57fb35dc1b9eb805cdcc736d13f7ff86ef0c3564d1c17b4d76b5
BLAKE2b-256 checksum
How to use checksums
0f9571da7f5f0b9c66de3af111e60678a155ae4b644f42af991c67546afe5f89
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / virtual_modi-0.3.1-py3-none-any.whl

Download URL virtual_modi-0.3.1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61cef439e8abf335a2a1ad478d6ed36a297feec354f9d09da6d91770f41d0aa1
BLAKE2b-256 checksum
How to use checksums
65467f88315cd8c35c5974fc27e242a8aedbc556bb31e126317b268e85b25cc3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.2.0

2 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page