Skip to main content

A python program that facilitates uploading and downloading of files to/from an SFTP server

Project description

Overview

A Python library that facilitates uploading and downloading of files to/from an SFTP server using either username/password or username/sshkey.

Install It

From PyPI

$ pip install sftpwrapper

New in v0.2.1

Defaults to port 22

Logging works with the new version of Paramiko

HostKey and Private Key support for connecting to SFTP server (have to provide the file path and encryption)

Code Example

from sftpwrapper import SftpWrapper

remote_connection = SftpWrapper(host, port) remote_connection.host_connect(user, password) upload_good = remote_connection.upload_stuffs(csv_name, remote + csv_name) remote_connection.host_disconnect()

Dependencies

  • paramiko

License

MIT

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

sftpwrapper-0.2.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sftpwrapper-0.2.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file sftpwrapper-0.2.2.tar.gz.

File metadata

  • Download URL: sftpwrapper-0.2.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for sftpwrapper-0.2.2.tar.gz
Algorithm Hash digest
SHA256 890aba0b64330e9eb73922b3b2fa62600a779c34624c6569e3210afbf49104fa
MD5 774e0fdd92e21645f8164f47451e5b31
BLAKE2b-256 0f31bbd47ee3a14cafa0f5b559baf67b88cb38a78b036204606ff151d5fc9b4d

See more details on using hashes here.

File details

Details for the file sftpwrapper-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: sftpwrapper-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for sftpwrapper-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 207f5d326421d1cc37009aee0a49c36006a6cd638e7d2a1b282e027da7ff6264
MD5 34f0ddb6b9213bc98396d746ea6ea67e
BLAKE2b-256 487a1667414ceef45ca4754ed935d7c6ea8b89f8cfa6f0e73b2adcb308e27ca5

See more details on using hashes here.

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