Skip to main content

REST-ful API for 0mq

Project description

‘restzzz’ is a tool that is meant to “listen in” on a 0mq connection.

By providing a configuration file, one can specify REST endpoints that listen to a particular 0mq socket.

get:
  zmq:
    connect: tcp://127.0.0.1:8002
    subject: "" # This is the default value, match all messages
  weechat:
    connect: tcp://127.0.0.1:8003
  quilt:
    connect: tcp://some-server:8003
    subject: message
post:
  zmq:
    connect: tcp://127.0.0.1:8002
    subject: "/sent/via/restzzz"

This creates three endpoints: zmq, which can be retrieved from with a GET request and written to with a PUSH request, and weechat and quilt, which can only be read from.

restzzz makes a few assumptions about the sockets it listens to, mainly that it can connect to them and that they follow the PUB/SUB mentality.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

restzzz-0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

restzzz-0.1.linux-x86_64.tar.gz (4.4 kB view details)

Uploaded Source

restzzz-0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

restzzz-0.1-py2-none-any.whl (4.7 kB view details)

Uploaded Python 2

File details

Details for the file restzzz-0.1.tar.gz.

File metadata

  • Download URL: restzzz-0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for restzzz-0.1.tar.gz
Algorithm Hash digest
SHA256 997066ec1ecf8905382e17863cc4e4ee1df0dc681930439d3b3d165d86fe54bc
MD5 2c31011d4a6949bd239e90bed33a2f48
BLAKE2b-256 e680655b788f90e9ede6455e6e2691f0368f5f206e54a25b686b277ca99b1831

See more details on using hashes here.

File details

Details for the file restzzz-0.1.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for restzzz-0.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 fd5e5fd48023138811d9864d4062f63615adab2a03b8f08d13067705958ad76c
MD5 0e16b9c6554594c2ae9f8482849f74df
BLAKE2b-256 4967cd259fe636a0ca7eb2167af9e608084452c0af84d48e6c24e0576e847685

See more details on using hashes here.

File details

Details for the file restzzz-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for restzzz-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f78bc92191a34416c5a7bb615cb4328e015e6059a2314ad0ed7a2da6701efd2
MD5 8b252b25febb52590fe66b6207a3ee2b
BLAKE2b-256 e1e03336dd3f934519004b69f775fc1d19dde43935d8bc07ef59fbff1d991c5a

See more details on using hashes here.

File details

Details for the file restzzz-0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for restzzz-0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 31c03287a358059a7822b9cf04c68c3631ad925803d097d2ef17480e93d9f638
MD5 6c2dcd26b9fffbf2d50a0c50ed68456a
BLAKE2b-256 62047c8b5ff4858aeb9e954503fb63ca8f94378e1059b0a78ebe675b61f43d07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page