Skip to main content

Wrapper for paramiko with extra stat methods

Project description


paramiko-stat

This is just a wrapper for paramiko with changes included from https://github.com/paramiko/paramiko/pull/1259/files.

Install it from PyPI

pip install paramiko-stat

Usage

from paramiko_stat import SSHClient

ssh = SSHClient()
ssh.connect("127.0.0.1", username="user", ...)
sftp = ssh.open_sftp()
sftp.mkdir("path", mode=700)

Alternatively, a much better practice:

from paramiko import SSHClient
from paramiko_stat import Transport

ssh = SSHClient()
ssh.connect("127.0.0.1", username="user", ..., transport_factory=Transport)

Project details


Download files

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

Source Distribution

paramiko-stat-0.2.tar.gz (30.5 kB view hashes)

Uploaded Source

Built Distribution

paramiko_stat-0.2-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page