ohpygossh
A project to create a new cross-platform SSH wheel for Python.
Goals
- An easy to install, multi-platform SSH wheel
- To explore
gopy
Code of Conduct
- Respect and give kudos to all the work that's come before.
It is paramount that we all play nicely. To that end, please do your very best not to create churn or spur conversations that may upset other developers, and/or cause debate without offering solutions.
Usage
Install the library:
pip install ohpygossh
Import and use the library to perform SSH operations:
from ohpygossh.gohpygossh import Run, Upload, Download
# SSH connection parameters
#
# The remote hostname or IP address
ssh_server = "example.com"
# Your user account on the remote machine
ssh_user = "ubuntu"
# A PEM encoded private key file (like ~/.ssh/id_ed25519 )
private_key = "/path/to/private/key"
# Execute a command on a remote host
output = Run(ssh_server, ssh_user, private_key, "ls -la")
# Upload a file to the remote host
Upload(ssh_server, ssh_user, private_key, "/local/file.txt", "/remote/file.txt")
# Download a file from the remote host
Download(ssh_server, ssh_user, private_key, "/remote/file.txt", "/local/file.txt")
Development
Development tasks are run with just, a
cross-platform command runner. All targets work the same way on macOS and
Linux; see the Justfile for the full list.
# One-time setup: installs Go, Python, gopy, poetry, pre-commit, etc. (via Homebrew)
just setup
# Run linters (golangci-lint, ruff, codespell, ...)
just lint
# Run the Go test suite
just test
# Build and validate the wheel: dist/ohpygossh-<version>-py3-none-any.whl
just build
# Remove build artifacts and the virtual environment
just clean
just setup requires Homebrew to be installed first, since
it's the one package manager available on both macOS and Linux.
Naming
This project has to think about naming in two different contexts:
- The Python library, installed by end-users:
ohpygossh. - The Golang package, also used in the
pyproject.toml:gohpygossh.
Briefly:
# Install the library:
# pip install ohpygossh
# Import functions and data structures
from ohpygossh.gohpygossh import ...
Reference
Based on:
Metadata
Release files for ohpygossh 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 51.6 MB
Release files / ohpygossh-0.6.1-cp314-cp314t-musllinux_1_2_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp314-cp314t-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
b7e99009e36b128a57a74fb50e444d6ec5d93fe8c63be05ee8629e9037720a58
|
|
BLAKE2b-256 checksum How to use checksums |
848706439a70b984adad44f3ba90b2a03e580c56cff8f16d93d7535bad651973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4810a6e61c1cd28b0db2915ac48ab7f134719a0b45c06bcefec95d838fa6a790
|
|
BLAKE2b-256 checksum How to use checksums |
49ce5c95e8ec64c3cc985ff23907cefa21bcf4aa3bdc7fdc4ce27f6431c83f46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | ohpygossh-0.6.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
99959f1c7230f89c6c87aa26b95b2e228cda057063a29fa98151cfbd334a288b
|
|
BLAKE2b-256 checksum How to use checksums |
7c39654e95231b91524b00fc42b4cc6e3bd9c39f2ba7afd1893dde55b9da1356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp314-cp314-musllinux_1_2_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp314-cp314-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.14 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
9656d73c5161a26340ecc39e1295598a5355705c5c541b36e655773add70c4bc
|
|
BLAKE2b-256 checksum How to use checksums |
a929e04ec1a2d0570d992f4467f7c64bd250344ed6d365b54e1761d0192fc70c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c90def3c47d5a3a0f96dbaa73d8857981852dd9b3af7234ddfaa1cd6433492b7
|
|
BLAKE2b-256 checksum How to use checksums |
c8466f4ce79443f77ac2f7eeda17d3a47aa90ec3b1f037ec6345fff4c3836f53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | ohpygossh-0.6.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
d08061c0a51bc21c2392a6a6859a0346a35e2b2ad0d25c88206acc6bd10b62eb
|
|
BLAKE2b-256 checksum How to use checksums |
61845a6e0020bc42ef63327b83cba0095974d087a78ac0a7a2fb3202f99432e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp312-cp312-musllinux_1_2_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp312-cp312-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.12 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
7354be0c25cf316271d9ad411a251de2262d734fc57c4457a61d23fc10c72d9a
|
|
BLAKE2b-256 checksum How to use checksums |
a8da3e3eda5c181824b11891d13d8695e1501312a0257cb5b4e6c17082f1f68c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
5cd71e9b4c784091c7ca18d59a6f8ad20cbc5b66defe31b261e322a066440bc5
|
|
BLAKE2b-256 checksum How to use checksums |
3bc38eababf7b4b8c0db294c49fd9fcc0863c83ee53de67aafedb63501569da2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | ohpygossh-0.6.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2337175d0cc5f10e736260c50020a0cd0fccda9a3c6cf30d1ead486559ef8efe
|
|
BLAKE2b-256 checksum How to use checksums |
ced7efd8a952eb29b62c9a20a5a5c8c3f7efd5d557a07673b7ccbf656602301c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp312-cp312-macosx_26_0_x86_64.whl
| Download URL | ohpygossh-0.6.1-cp312-cp312-macosx_26_0_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.12 macOS 26.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
4747beaf7b59aac2c1e99e49888182f4540eefd2a94f12543504081b893eddd2
|
|
BLAKE2b-256 checksum How to use checksums |
cc980fbf8d6aea189f4af80991515556b38b53903b359d2c07e6ed7c39022eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp312-cp312-macosx_26_0_arm64.whl
| Download URL | ohpygossh-0.6.1-cp312-cp312-macosx_26_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.12 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f9332e02cb6bf7c198ba1b9487a9e4d7aa2ac5e6a7b69128298cefbf8705af82
|
|
BLAKE2b-256 checksum How to use checksums |
6a54f61811bf95ddaafb653e9ac530219a975759d4e822bf2ce3180831a89cb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp311-cp311-musllinux_1_2_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp311-cp311-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.11 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
4a6817ae0814f86701303460990e2869ad577245bb8e3f83110c3e817bf28855
|
|
BLAKE2b-256 checksum How to use checksums |
c1f1002aab67f1a0d4baa09ffdc07713f7a693df1fd5773fd6c6c09a6c653308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | ohpygossh-0.6.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c74e06f651044f8ce9832787dfda4aaaca6ac36c38c40f84fe1f1a76c316658f
|
|
BLAKE2b-256 checksum How to use checksums |
9f11d33f357738247a3eb7fee4fc38fed7ffd19e1f8032d46b1ef6fb5b0ad062
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | ohpygossh-0.6.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
22edf659ec18c2fdebb0b93f3018bf7d057a5d9be14d1c1d4db17146c971f1a3
|
|
BLAKE2b-256 checksum How to use checksums |
24a8c9dc4b7bb72641f2c8e398352d010fdc1f704c4f766069ba362ec9a32f2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp311-cp311-macosx_26_0_x86_64.whl
| Download URL | ohpygossh-0.6.1-cp311-cp311-macosx_26_0_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 macOS 26.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
e87a4b447edf1fcd7643cd8d273d19dd3a9b904a853c524953fc327ab8cfa238
|
|
BLAKE2b-256 checksum How to use checksums |
42e16cc9510c2b16f95fe4c93760beaa37fe694c4fac3bfb4d8857222752c42b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency logRelease files / ohpygossh-0.6.1-cp311-cp311-macosx_26_0_arm64.whl
| Download URL | ohpygossh-0.6.1-cp311-cp311-macosx_26_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.11 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f82b1c0056b76fc57c491a9c304ead700d1be08aabefe93b426ce9790e4f3803
|
|
BLAKE2b-256 checksum How to use checksums |
0984b3c60820653d55479ad47a47baceaf3b29e86fb46d18b17ecb89cc010b80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.
Transparency log