Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wbarnha/paramiko-stat
Wrapper for paramiko with methods included in https://github.com/paramiko/paramiko/pull/1259
https://github.com/wbarnha/paramiko-stat
Last synced: about 2 months ago
JSON representation
Wrapper for paramiko with methods included in https://github.com/paramiko/paramiko/pull/1259
- Host: GitHub
- URL: https://github.com/wbarnha/paramiko-stat
- Owner: wbarnha
- License: lgpl-2.1
- Created: 2023-04-13T14:10:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T18:03:32.000Z (12 months ago)
- Last Synced: 2024-11-16T11:05:54.579Z (2 months ago)
- Language: Python
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
---
# 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
```bash
pip install paramiko-stat
```## Usage
```py
from paramiko_stat import SSHClientssh = SSHClient()
ssh.connect("127.0.0.1", username="user", ...)
sftp = ssh.open_sftp()
sftp.mkdir("path", mode=700)```
Alternatively, a much better practice:```py
from paramiko import SSHClient
from paramiko_stat import Transportssh = SSHClient()
ssh.connect("127.0.0.1", username="user", ..., transport_factory=Transport)```