Skip to main content

ssh_distributed

ssh_distributed is a very simple microlib for managing distributed computations using ssh.

Note: only works on Linux-based machines.

Install with:

pip install ssh_distributed

Create autossh tunnel with port remapping

import ssh_distributed

ssh_distributed.create_tunnel(
    from_host="home00.local",
    to_host="home01.local",
    from_port=61001,
    to_port=61000,
    tmux_session_name="autossh_next"
)

Upload directory to hosts

import ssh_distributed

ssh_distributed.upload_to_hosts(
    path="<PATH>",
    hosts=[
        "home00.local",
        "home01.local",
        "home02.local"
    ]
)

Release files for ssh-distributed 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssh-distributed 0.2.2
File Size Uploaded
ssh_distributed-0.2.2.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssh-distributed 0.2.2
File Interpreter ABI Platform
ssh_distributed-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / ssh_distributed-0.2.2.tar.gz

Download URL ssh_distributed-0.2.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d2437f501484a879820ca8fbb084f4907ef2098ccc789b10950e0e1119a3a6cd
BLAKE2b-256 checksum
How to use checksums
5edf4787767a8f750baec32fc784d6743c5253c880871d8434f5da10272ff564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / ssh_distributed-0.2.2-py3-none-any.whl

Download URL ssh_distributed-0.2.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0d1bc8ff46363dfcbfdee5375f7791f2c235d795acc62d3e374ff7ed01d51b8
BLAKE2b-256 checksum
How to use checksums
e61ff73d0f41c8df9446b3990ba3ba6ea46bd8035b2ede701395c6bcdc17c8a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page