Skip to main content

Lightweight ZMQ socket communication for robotics inference servers

Project description

tso-robotics-sockets

Lightweight ZMQ socket communication for robotics inference servers.

Provides a SocketClient / SocketServer pair plus array compression utilities for sending images and numpy arrays over ZeroMQ.

Installation

pip install .

Quick start

from tso_robotics_sockets import SocketServer, SocketClient, ServerRoute

# Server
server = SocketServer(ip_address="0.0.0.0", port=5555)
server.add_route("echo", lambda msg: (True, msg), blocking=True)
server.run()

# Client (separate process)
client = SocketClient(server_address="localhost", server_port=5555)
response = client.send_request(route_name="echo", dict_data={"hello": "world"})
client.close()

Project details


Download files

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

Source Distribution

tso_robotics_sockets-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

tso_robotics_sockets-0.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file tso_robotics_sockets-0.1.0.tar.gz.

File metadata

  • Download URL: tso_robotics_sockets-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tso_robotics_sockets-0.1.0.tar.gz
Algorithm Hash digest
SHA256 521a9471073fe3544d3f5ec1bba537a070acfd4a62d341b6fe890f8343ef47e6
MD5 03861d3fd7bebdcabbb9af956ce61b5d
BLAKE2b-256 987ed664b819b8ed22437f5fba38fd31e347d3d65e98d5766d86fd7afaacbce4

See more details on using hashes here.

Provenance

The following attestation bundles were made for tso_robotics_sockets-0.1.0.tar.gz:

Publisher: publish.yml on Lorenzo-Mazza/tso_robotics_sockets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tso_robotics_sockets-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tso_robotics_sockets-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 514fa374f039d3c42b5bdcda9d5cc24e902893389a6bcdd1a92359af3f2ec09f
MD5 f607cfaeb941d4e287bb6db493e78146
BLAKE2b-256 27fbea31b971bc7d883b42eaea190a4ad20d29858a8fceb1c8503bb9f5f70466

See more details on using hashes here.

Provenance

The following attestation bundles were made for tso_robotics_sockets-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Lorenzo-Mazza/tso_robotics_sockets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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