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 tso-robotics-sockets
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tso_robotics_sockets-0.1.1.tar.gz.
File metadata
- Download URL: tso_robotics_sockets-0.1.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f98ad72bd0f5282031035669c3b984d186809b40b3c12bd30c19faa543c7824
|
|
| MD5 |
557ab453f657f1ef08fcd78c0e087529
|
|
| BLAKE2b-256 |
4ef92cbd592915f2f440cceb553436e46c068f7aec25a99a62b44540f83c4689
|
Provenance
The following attestation bundles were made for tso_robotics_sockets-0.1.1.tar.gz:
Publisher:
publish.yml on Lorenzo-Mazza/tso_robotics_sockets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tso_robotics_sockets-0.1.1.tar.gz -
Subject digest:
2f98ad72bd0f5282031035669c3b984d186809b40b3c12bd30c19faa543c7824 - Sigstore transparency entry: 1108162968
- Sigstore integration time:
-
Permalink:
Lorenzo-Mazza/tso_robotics_sockets@91db858fcfa387a3c6eb7b85ea715572ba00a4c7 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Lorenzo-Mazza
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@91db858fcfa387a3c6eb7b85ea715572ba00a4c7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tso_robotics_sockets-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tso_robotics_sockets-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38dbee4532b7a34e9111aedbbb5162cace3f8876e1aa0fc5486f98898fa27442
|
|
| MD5 |
1b4ceed48aae23b7af2b36630de2d8ee
|
|
| BLAKE2b-256 |
fae5cab5d542ea14334d08d984f323f95ba5c8719686fff80e4a27971b785f64
|
Provenance
The following attestation bundles were made for tso_robotics_sockets-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Lorenzo-Mazza/tso_robotics_sockets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tso_robotics_sockets-0.1.1-py3-none-any.whl -
Subject digest:
38dbee4532b7a34e9111aedbbb5162cace3f8876e1aa0fc5486f98898fa27442 - Sigstore transparency entry: 1108162976
- Sigstore integration time:
-
Permalink:
Lorenzo-Mazza/tso_robotics_sockets@91db858fcfa387a3c6eb7b85ea715572ba00a4c7 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Lorenzo-Mazza
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@91db858fcfa387a3c6eb7b85ea715572ba00a4c7 -
Trigger Event:
push
-
Statement type: