Skip to main content

Precompiled Python wheel for the d2s docker2ssh binary

Project description

docker2ssh Python Package

docker2ssh is a thin Python wrapper around a bundled precompiled d2s binary.

It does not reimplement the SSH server in Python. Instead, it:

  • discovers the bundled d2s executable
  • exposes a small Python API
  • provides a docker2ssh console script

Install

pip install docker2ssh

Published Linux wheels bundle d2s directly. Set D2S_BIN only if you want to override the bundled executable:

export D2S_BIN=/usr/local/bin/d2s

Python API

from docker2ssh import D2S

client = D2S(config="/etc/d2s/config.toml")
print(client.show())
client.config_set(2222, "my-container")

CLI Wrapper

docker2ssh show
docker2ssh config set 2222 my-container
docker2ssh serve

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.

docker2ssh-0.0.2-py3-none-manylinux_2_17_x86_64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

docker2ssh-0.0.2-py3-none-manylinux_2_17_aarch64.whl (2.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

File details

Details for the file docker2ssh-0.0.2-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for docker2ssh-0.0.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 985a8730f0485d716fa39f68eb7ad9be3f9468b70202608a64cfe4301694682e
MD5 67d1be0bc02315f6b55bed3fc8c2747d
BLAKE2b-256 446e92a018903538d095539fd5b6dfadbe0374a3c03e9fb6de6a6d4f78dea21d

See more details on using hashes here.

Provenance

The following attestation bundles were made for docker2ssh-0.0.2-py3-none-manylinux_2_17_x86_64.whl:

Publisher: python-wheels.yml on PannenetsF/docker2ssh

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

File details

Details for the file docker2ssh-0.0.2-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for docker2ssh-0.0.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 e14e0b8010fa5e8a2ea711615af38b71dcae7dac0625991daeea662a09a746d5
MD5 4656cf8216a90d716c5a420c598b9e00
BLAKE2b-256 f31c5743abd069ec9d6161da260485cb7338b373af3f95d2c572429a7de31cf4

See more details on using hashes here.

Provenance

The following attestation bundles were made for docker2ssh-0.0.2-py3-none-manylinux_2_17_aarch64.whl:

Publisher: python-wheels.yml on PannenetsF/docker2ssh

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