Skip to main content

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

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)

Source distribution for RySftp 0.0.10
File Size Uploaded
RySftp-0.0.10.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RySftp 0.0.10
File Interpreter ABI Platform
RySftp-0.0.10-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page