Skip to main content

A project to create a new cross-platform SSH wheel for Python.

Project description

ohpygossh

A project to create a new cross-platform SSH wheel for Python.

image

Goals

  1. An easy to install, multi-platform SSH wheel
  2. To explore gopy

Code of Conduct

  1. Respect and give kudos to all the work that's come before.
    1. In particular, the Herculean efforts of gopy, paramiko and asyncssh.
    2. Please also be kind to all other open-source software projects you find.

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

⚠️ This section needs to be rewritten ⚠️

Build wheel

The following steps should produce a wheel, located at dist/ohpygossh-<version>-py3-none-any.whl

./make_and_validate_script.sh

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:

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

ohpygossh-0.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

ohpygossh-0.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

ohpygossh-0.4.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

ohpygossh-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

ohpygossh-0.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

ohpygossh-0.4.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

ohpygossh-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

ohpygossh-0.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

ohpygossh-0.4.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

ohpygossh-0.4.0-cp312-cp312-macosx_15_0_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

ohpygossh-0.4.0-cp312-cp312-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

ohpygossh-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

ohpygossh-0.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

ohpygossh-0.4.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

ohpygossh-0.4.0-cp311-cp311-macosx_15_0_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

ohpygossh-0.4.0-cp311-cp311-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

Details for the file ohpygossh-0.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0d3940d5d2bd2ad9a47e65402b21e83fde50eaec10325eea7143982d2756d02b
MD5 941ea9a52591a63cceb0a65b60ed4ac8
BLAKE2b-256 2a6bd1f421a2f635e75d5c5479c67047349af73201807b2f8144ff8080f100bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4697f61d4088e2a94b60268f0020090ee8d7e5546c960347a8ae7c8d2d5b6879
MD5 38f874b559a1de2afbe5bb6ec49298ec
BLAKE2b-256 6fbc0cfe15482a5d71e75b26865527b3b922c01438efae61bdbb42e790b24065

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 1759465f68490f8955e7bafc6e7fb8dae2aacb73a939e69201bfc713533a691e
MD5 21dc65048d6d7a62091c3df255ee6921
BLAKE2b-256 3caba375c52eff461a350a6fd2b03adc03867e32448005e3ed7c66f5fbd5a78d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f90002b211df7f39def17f678e72a038bb317f5e47ac4e9fb35a02112f325f3
MD5 f8e1f037c7ba973348a99073852eae01
BLAKE2b-256 5c8000deb30b0d4e1eb2ed87405015a9d102107b7a865411da54669f5d037eac

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0d11d236bffc59df0bd46ba57fb46e05732d4b11a56978d609e290646f608f6c
MD5 70210e7e49a4256428b2ef5219467c4d
BLAKE2b-256 cf82172614d2c6a5fcf95422b74c0aa849c6061226b234f60ccc2848c16442a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d6f3796169ffc15021f37fa995d56b991fe805031a16dd6fbd2fc55078dcf6a1
MD5 ed5dbd4696f2a8fddeb58ec44587d26e
BLAKE2b-256 1f323e181554d0a91611ef1d3033ea8200edeed1d21c638af6555214e7c182ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e24a1c413c8fe4d174c07e261e0d2ff705f1c016c2086a3592016fa0a216f1cd
MD5 1a498346ba688251f57a7339d705e7d7
BLAKE2b-256 55b9ec590208e3adafd4180d3ab59bee78c5f15a3249cf4755f17c8889193491

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 63e8f77e492eca64f437afc92290e5a67127dd613d9a1a7cc22de5dc3a25683d
MD5 70dba95d2248c0ca7472f25df6de52a9
BLAKE2b-256 6d509c7ad1efc13a753d52c48e9cd76f4715dd18442ee0230fe5d6465fb3bbdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 4b68bc86d7b5ae606aa423070a27560b4605b4404b4fe99eec3f3d20c05f94b8
MD5 1f0023732945bc0050d8459f79a93ca4
BLAKE2b-256 f15aa00c87c4319ba61ed1575f531fce12b650f164444aa19f6fdee2bbde6726

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 6aea801a193ae5ccac9bf9f4cce16b79b7f7f8488d81c0c9464bcb97045eea3a
MD5 7c21876ef1232aa8f53bc73888ad9f69
BLAKE2b-256 8e710c225279c0b0d7d8981b1dc5374d425881dd7945bb9ddc2221bafb89a56e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp312-cp312-macosx_15_0_x86_64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a334e7a0c6b470045674631497e0608aa7a5c3966fa0f5fef88fc071c2a19b87
MD5 3ceb8cc80572efb033b7f03bd645d875
BLAKE2b-256 7a163321ea233aab4c1e158bbd165831588fc809a68976ad8e3e3ac0f2cd6bbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp312-cp312-macosx_15_0_arm64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 94caf5788c2f66449b79b3dbbb012e17fcacb43f041c55ff9f2aebbb252c5c6d
MD5 fb83fb2ed693b9327f34f0456fd3572f
BLAKE2b-256 f0cb77e7cfa808ce4b3c5d974d3d7ad5e2ba5f832a07c03446f477cf74d4064c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d67d4b0657ba843b8f72f5562bac7c82eaa4bbff19521dc91b39b1208caad22b
MD5 8cbad4a59a313f49c5c0f833243e2a54
BLAKE2b-256 117b98a26f42976e49abf80ea1340d873dc0ce74b8e13ccd67deb5fdb9041e07

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 2d465db6da8a373c3d221415954313e4bff24c5d4e20fd33a34b894b77bb3a2b
MD5 d1cca3d3c61fcc087d2dd4bb67b48650
BLAKE2b-256 055e54679dac32e0419997c9abfc4782099535cd6b239a64c317ded320ea14b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 321a9eda061213092f22787d7014684b34d9dc4183be112fa6741dd0a0cd7503
MD5 d3fb2d63943e53ab387b6e6573d13c22
BLAKE2b-256 f23a5d130f29f90824006cf22c5a761198c2be2d86b08bf8e80f04c306ec9620

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp311-cp311-macosx_15_0_x86_64.whl:

Publisher: publish.yml on b-long/ohpygossh

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

File details

Details for the file ohpygossh-0.4.0-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for ohpygossh-0.4.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d58a71a5189cc25b877f5b57d6772ec8b2a6d95415fddc40bafdc3787c446a12
MD5 c88918ec56aa6625a698ac283f0c2073
BLAKE2b-256 bb65c259ebf9dffc6cfdc37f97b0652f4d32b9f40b3d83eb143504527ab67eff

See more details on using hashes here.

Provenance

The following attestation bundles were made for ohpygossh-0.4.0-cp311-cp311-macosx_15_0_arm64.whl:

Publisher: publish.yml on b-long/ohpygossh

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