Skip to main content

pymm-eventserver

Event Server to receive Micro-Manager events in python via zeromq

This module functions as a plugin for Micro-Manager and takes a lot of inspiration and some functionality from PycroManager (https://pycro-manager.readthedocs.io/en/latest/index.html)

The server follows the logic of Pycromanager:

Install using pip

pip install pymm_eventserver
python
>>> import pymm_eventserver.setup
>>> pymm_eventserver.setup.install_java_server()
sequenceDiagram
    MicroManager->>ZMQ: Event
    activate MicroManager
    Note over MicroManager: Store java object
    ZMQ->>PythonEventServer: Event-ID
    PythonEventServer->>Code: pyqtSignal
    Code-->>ZMQ: Function call (Event-ID)
    ZMQ-->>MicroManager: Call on Java object
    MicroManager->>ZMQ: Output
    ZMQ->>Code: Output
    Note over MicroManager: Keep object for <br> later calls
    deactivate MicroManager

The exception are events that contain image data. As keeping those object in memory on the java side will lead to pretty heavy memory usage in the ImageJ heap space pretty quickly. So these are sent directly over the zeromq bus. If they are not received correctly, the image data will be lost.

Metadata

Release files for pymm-eventserver 0.1.19

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

Source distribution (sdist)

Source distribution for pymm-eventserver 0.1.19
File Size Uploaded
pymm_eventserver-0.1.19.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymm-eventserver 0.1.19
File Interpreter ABI Platform
pymm_eventserver-0.1.19-py3-none-any.whl Python 3 none any Details

Total release size: 42.3 kB

Release files / pymm_eventserver-0.1.19.tar.gz

Download URL pymm_eventserver-0.1.19.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
76bc076c6b0a3ae8a874a4350e5774f7793a0e7eed9518afd114ffcca46cf22e
BLAKE2b-256 checksum
How to use checksums
9680690e2af3b08382cf8f5c34a9544fd1a62ea0d11b10299b063ffd41d80174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / pymm_eventserver-0.1.19-py3-none-any.whl

Download URL pymm_eventserver-0.1.19-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93b145ea1b9d5cd1de0cdb5bfcbfedd25dbca81b96f8a4eb98269f7596f36c87
BLAKE2b-256 checksum
How to use checksums
0c5e69e67404c7f0684aaaccee44c15bc5f108cf5e433bb6b7ea136cf78d59c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.19 This release

2 release files

0.1.18

2 release files

0.1.17

1 release file

0.1.16

1 release file

0.1.15

1 release file

0.1.13

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 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