ezmsg-3.3.1
توضیحات
A simple DAG-based computation model
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ezmsg-3.3.1 |
| نام | ezmsg |
| نسخه کتابخانه | 3.3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Griffin Milsap |
| ایمیل نویسنده | griffin.milsap@jhuapl.edu |
| آدرس صفحه اصلی | https://github.com/iscoe/ezmsg |
| آدرس اینترنتی | https://pypi.org/project/ezmsg/ |
| مجوز | - |
# <img src="https://raw.githubusercontent.com/iscoe/ezmsg/main/docs/source/logo.png" width="50"/> ezmsg
Messaging and Multiprocessing.
`ezmsg` is a pure-Python implementation of a directed acyclic graph (DAG) pub/sub messaging pattern based on [`labgraph`](https://github.com/facebookresearch/labgraph) which is optimized and intended for use in constructing real-time software. `ezmsg` implements much of the `labgraph` API (with a few notable differences), and owes a lot of its design to the `labgraph` developers/project.
`ezmsg` is very fast and uses Python's `multiprocessing.shared_memory` module to facilitate efficient message passing without C++ or any compilation/build tooling.
## Installation
`pip install ezmsg`
## Dependencies
* Due to reliance on `multiprocessing.shared_memory`, `ezmsg` requires __minimum Python 3.8__.
* `typing_extensions`
Testing `ezmsg` requires:
* `pytest`
* `pytest-cov`
* `pytest-asyncio`
* `numpy`
## Setup (Development)
``` bash
$ python3 -m venv env
$ source env/bin/activate
(env) $ pip install --upgrade pip
(env) $ pip install -e ".[test]"
(env) $ python -m pytest tests # Optionally, Perform tests
```
## Documentation
https://ezmsg.readthedocs.io/en/latest/
`ezmsg` is very similar to [`labgraph`](https://www.github.com/facebookresearch/labgraph), so you might get a primer with their documentation and examples. Additionally, there are many examples provided in the examples/tests directories strewn throughout this repository.
## Extensions
See the extension directory for more details
* `ezmsg-sigproc` -- Timeseries signal processing modules
* `ezmsg-websocket` -- Websocket server and client nodes for `ezmsg` graphs
* `ezmsg-zmq` -- ZeroMQ pub and sub nodes for `ezmsg` graphs
* ... More to come!
نیازمندی
| مقدار | نام |
|---|---|
| - | typing-extensions |
| - | ezmsg-websocket |
| - | ezmsg-sigproc |
| - | ezmsg-zmq |
| - | pytest |
| - | pytest-asyncio |
| - | pytest-cov |
| - | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl ezmsg-3.3.1:
pip install ezmsg-3.3.1.whl
نصب پکیج tar.gz ezmsg-3.3.1:
pip install ezmsg-3.3.1.tar.gz