All Projects → nim-lang → nim-zmq

nim-lang / nim-zmq

Licence: MIT license
Nim ZMQ wrapper

Programming Languages

nim
578 projects

Labels

Projects that are alternatives of or similar to nim-zmq

scarecrow
A Raspberry Pi powered, distributed (edge) computing camera setups that runs a Tensorflow object detection model to determine whether a person is on the camera. A plugin model allows actions based on the detection, such as playing audio, turning on lights, or triggering an Arduino.
Stars: ✭ 87 (+67.31%)
Mutual labels:  zmq
zestdb
ZestDB
Stars: ✭ 18 (-65.38%)
Mutual labels:  zmq
Jina
Cloud-native neural search framework for 𝙖𝙣𝙮 kind of data
Stars: ✭ 12,618 (+24165.38%)
Mutual labels:  zmq
Libzmq
ZeroMQ core engine in C++, implements ZMTP/3.1
Stars: ✭ 7,418 (+14165.38%)
Mutual labels:  zmq
zmq-protobuf
communication between python and cpp using zeromq and protobuf
Stars: ✭ 25 (-51.92%)
Mutual labels:  zmq
ZMQ.jl
Julia interface to ZMQ
Stars: ✭ 114 (+119.23%)
Mutual labels:  zmq
Westworld-Style-Behavior-Pad-Interface
UPDATE 20210705: Adding ZeroMQ functions in to allow full-duplex comms with deep parts of the hosts' cognitive processes, and expose speech recognition background processes, visual processes, etc. ORIGINAL DESCRIPTION >>>This is a working version of the iconic Behavior Pad "Rose Graph" Interface that the Westworld Techs use to set Host Behaviora…
Stars: ✭ 25 (-51.92%)
Mutual labels:  zmq
zmq
ZeroMQ based distributed patterns
Stars: ✭ 27 (-48.08%)
Mutual labels:  zmq
pony-zmq
Pure Pony implementation of the ZeroMQ messaging library. 🐴 0️⃣ Ⓜ️ 🍀
Stars: ✭ 64 (+23.08%)
Mutual labels:  zmq
napalm-logs
Cross-vendor normalisation for network syslog messages, following the OpenConfig and IETF YANG models
Stars: ✭ 131 (+151.92%)
Mutual labels:  zmq
micro-service-practice
OpenStack+Docker+RestAPI+OAuth/HMAC+RabbitMQ/ZMQ+OpenResty/HAProxy/Nginx/APIGateway+Bootstrap/AngularJS+Ansible+K8S/Mesos/Marathon构建/探索微服务最佳实践。
Stars: ✭ 25 (-51.92%)
Mutual labels:  zmq
hermes
ZMQ-based framework for building Pub-Sub Systems, written in Python 3.
Stars: ✭ 13 (-75%)
Mutual labels:  zmq
imagehub
Receive and save images from multiple Raspberry Pi's
Stars: ✭ 21 (-59.62%)
Mutual labels:  zmq
tasq
A simple task queue implementation to enqeue jobs on local or remote processes.
Stars: ✭ 83 (+59.62%)
Mutual labels:  zmq
pyaer
Low-level Python APIs for Accessing Neuromorphic Devices.
Stars: ✭ 20 (-61.54%)
Mutual labels:  zmq

Nim ZeroMQ wrapper

example workflow

Note: This wrapper was written and tested with ZeroMQ version 4.2.0. Older versions may not work.

ZeroMQ API Reference can be found here : http://api.zeromq.org/4-2:_start

Installation

$ nimble install zmq

Examples

Simple client/server

server

  import zmq

  var responder = zmq.listen("tcp://127.0.0.1:5555", REP)
  for i in 0..10:
    var request = receive(responder)
    echo("Received: ", request)
    send(responder, "World")
  close(responder)

client

  import zmq

  var requester = zmq.connect("tcp://127.0.0.1:5555", REQ)
  for i in 0..10:
    send(requester, "Hello")
    var reply = receive(requester)
    echo("Received: ", reply)
  close(requester)

Advanced usage

For more examples demonstrating many functionalities and patterns that ZMQ offers, see the tests/ and examples/ folder.

The examples are commented to better understand how zmq works.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].