SSH-Stream 💻 ⇤⇥ ☁️
Stream sensor data over ssh for real-time offboard computation
Do you have SSH access to a remote cluster with precious compute power and want to run a policy in the range of 5 Hz that is resource intensive?
1. Connect to your cluster via SSH
Choose a local port you want to forward to a remote port, e.g. LOCAL_PORT = CLUSTER_PORT = 9999 and connect via ssh:
ssh -L LOCAL_PORT:localhost:CLUSTER_PORT user@cluster
2. Install the package and get your programs running
pip install ssh-stream
On the client (your robot @inference)
from ssh_stream import Client
client = Client(port=9999)
client.connect()
while True:
client.send("Hello World")
client.close()
On the cluster
from ssh_stream import Server
server = Server(ip='0.0.0.0', port=9999)
server.start()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssh_stream-0.0.3.tar.gz
(4.8 kB
view details)
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 ssh_stream-0.0.3.tar.gz.
File metadata
- Download URL: ssh_stream-0.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c722536781733146fd16e63c229d161e0801d15a3bcd1325a56284db87db7216
|
|
| MD5 |
a29dde6887be79fd89fbcba0cb80ab2b
|
|
| BLAKE2b-256 |
014ec33d528705af5092b9cc0f87ba4238979adf5913e99c0dc08de2bfad53df
|
File details
Details for the file ssh_stream-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ssh_stream-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c56d8c73ba19e6926c6c04a5ea7e07dca9dd05e36afc4390caea7f5cbb135a
|
|
| MD5 |
b32e6fcb2be25fe47eaeff37a99ba2c8
|
|
| BLAKE2b-256 |
094278e840032d2def2ee8a9da830a8dafc83ecc74cb406b1072955c8d309250
|