RySftp
Why RySftp? Because PySftp was taken, and I'm selfish.
This is my first attempt at an SFTP client. It's current state should be considered alpha, and full of bugs. It barely works, and it still needs to be documented and more thoroughly tested. DON'T USE THIS RIGHT NOW. I've only published this package for testing, and to share with a few people.
RySftp is essentially a wrapper around some of the tried and true paramiko package's features, that aims to make SFTP usage in python quick and easy. The connection resource is managed via a context manager, accessed using with statements. RySftp also implements multithreaded upload and downloads over a single connection, dramatically improving transfer rates on large #s of files.
RySftp automatically searches for the below environment variables for connection information:
| Variable | Usage |
|---|---|
| RYSFTP_USER | Username |
| RYSFTP_PASSWORD | Password |
| RYSFTP_HOST | Hostname |
| RYSFTP_PORT | Port |
| RYSFTP_REMOTEDIR | Default remote dir |
Installation
Use the package manager pip to install RySftp.
pip install rysftp
Usage
RySftp aims to be simple. Here is a barebones usage example:
from rysftp import RySftp
ry = RySftp()
with ry("home/downloads"):
ry.download_latest(100)
ry.upload_latest(4)
Documentation
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Metadata
Release files for RySftp 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| RySftp-0.0.10.tar.gz | 9.2 kB | Without provenance | Details for RySftp-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| RySftp-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for RySftp-0.0.10-py3-none-any.whl |
Total release size: 20.0 kB
Release files / RySftp-0.0.10.tar.gz
| Download URL | RySftp-0.0.10.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cf890c1699ce876e5221a5a705962be686fdbbcf2b8db2359519c03a9e2bfb5
|
|
BLAKE2b-256 checksum How to use checksums |
142485bd32d481d3fffd6a16807d9b3a6e50d2ef1ece3bd0c13697d2242ddb0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Release files / RySftp-0.0.10-py3-none-any.whl
| Download URL | RySftp-0.0.10-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
091f4dba82e09bf02f461af3e77d211617a82af334ee08ce91afc48c1ecc9bec
|
|
BLAKE2b-256 checksum How to use checksums |
db09dbd9677db7d995858c5a942068ae9be8ab5ca62233962f1c077e405690a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Security for RySftp 0.0.10
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.