Questions tagged [pyzmq]

PyZMQ is the Python bindings for 0MQ (also spelled ZeroMQ, ØMQ or ZMQ), written almost entirely in Cython

Python bindings for 0MQ, a high-performance asynchronous messaging library aimed at use in scalable distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a 0MQ system runs without a dedicated message broker.

For a brief introduction read the ZeroMQ concept & properties from

PyZMQ works with Python 3 (≥ 3.3), and Python 2.7, with no transformations or 2to3, as well as PyPy (at least 2.0 beta), via CFFI.

PyZMQ started it python journey since the ZeroMQ API v2.1.1, those days in Python 2.6

Useful links:

627 questions
-1
votes
1 answer

Is it possible to automate the process of running different python scripts in separate Spyder consoles?

I've found running different code across separate console windows in Spyder to be a handy way of executing code concurrently. I've always done this "manually" (hitting the new console button and then starting the desired piece of code in that…
sgp45
  • 99
  • 2
-1
votes
1 answer

ZeroMQ: One to many, one-way communication without topics?

What is the simplest way to use ZeroMQ so that one sender sends out messages and an arbitrary number of receivers can get all those messages? I would like to send messages which are Python objects (dicts) so I would like to use recv_json and…
jpp1
  • 2,019
  • 3
  • 22
  • 43
-1
votes
1 answer

How to solve this issue with UnicodeDecodeError?

I have the following code trying to send a prediction result from one machine to another, using PyZMQ. Viewer : context = zmq.Context() footage_socket =…
Mazia
  • 63
  • 1
  • 10
-1
votes
2 answers

Why a ZeroMQ Server does not receive any requests from Client?

I have a ZeroMQ Server set up in MQL4 (a c++ like language), and a ZeroMQ Client in Python. A connection made of PUSH/PULL-sockets works well, but when I try to send requests from Python using a REQ-socket to a ZeroMQ REP-socket, it doesn't receive…
blennd
  • 71
  • 6
-1
votes
2 answers

How to execute a ZeroMQ PUSH/PULL archetype in an asynchronous way?

I want to initiate a PULL in a port and want to receive from other ports to my PULL port. In the case of a PULL port, it listens asynchronously and when it receives a message, it just prints the message in the console. So for that I have written a…
-1
votes
1 answer

ZeroMq PUSH/PULL ensure that PUSH queue is empty

I have a architecture with 2 modules (one in C++ and one in Python) that communicates via ZeroMQ with PUSH/PULL sockets.The PUSHER is the C++ module and the PULLER is the Python module. A third module communicate in REQ/REP with these 2 modules to…
Hattori
  • 351
  • 4
  • 15
-1
votes
1 answer

ZMQ python programming

I have got an object detection which reads an input image and runs the inference then it outputs the classIDs[] (class name) and confidence levels of the detected object confidences[].
moon
  • 11
  • 1
  • 5
-1
votes
3 answers

Converting strings into numbers

I'm building a robot and need to control it remotely. I've decided to do this by using zeromq. From my computer (server) I will send x- and y-coordinates to the robot(client). I therefore need the message to be sent as numbers so I can make the…
Bjokle
  • 1
  • 1
-1
votes
1 answer

pyinsataller misses libaries when building programms using pyzmq

I try to use pyinstaller to build a executable of my worker client. The client uses ZMQ to communicate with the server. But unfortunatelly pyinstaller seems to miss some libaries on build when zmq is present. Here is a minimalized example on Win7…
user_na
  • 2,154
  • 1
  • 16
  • 36
-2
votes
0 answers

How do I learn ZeroMQ for Python

I am new to ZMQ. I want to understand it and apply it in Python. I tried reading the official guide but the examples were given in C/C++ and it was a bit overwhelming. I have tried looking for a better guide but couldn't find anything good. Can you…
Samaara
  • 27
  • 7
-2
votes
1 answer

Why I cannot receive MQTT by subscribing as localhost with ZMQ in python

I have a pub/sub system composed by two VMs (VirtualBOx, Ubuntu 18.04 and python-zmq[16.0.2-2build2]) running within the same physical machine (Win10). Both machines are configured as Bridge. The subscriber can receive the publisher messages if it…
pepe pep
  • 27
  • 5
-2
votes
1 answer

How to set zeromq send message block?

How to configuration parameters that zeromq can Send a block message, When a process sends a message to another process, if another process does not receive the message, the process which send message will block on the send function does not…
timger
  • 944
  • 2
  • 13
  • 31
1 2 3
41
42