Skip to main content

SFTP client!

Project description

fileshiftlib

Package Description

SFTP client Python package that uses paramiko library.

Usage

from a script:

import fileshiftlib
import logging

logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")

host = "localhost"
username = "123..."
password = "xxxx"
port = 22

# Initialize SFTP client
sftp = fileshiftlib.SFTP(host=host,
                         username=username,
                         password=password,
                         port=port)

Installation

Install python and pip if you have not already.

Then run:

pip3 install pip --upgrade
pip3 install wheel

For production:

pip3 install fileshiftlib

This will install the package and all of it's python dependencies.

If you want to install the project for development:

git clone https://github.com/aghuttun/fileshiftlib.git
cd fileshiftlib
pip3 install -e .[dev]

To test the development package: Testing

License

BSD License (see license file)

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

fileshiftlib-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

fileshiftlib-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file fileshiftlib-0.0.1.tar.gz.

File metadata

  • Download URL: fileshiftlib-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fileshiftlib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ea168e456e4851c93e9347f0f2455127423612b977be6837da8fe4d901b275f4
MD5 69f49fd0c44400b5666276762f52c172
BLAKE2b-256 e7520fd748f7e07b3e2bf118b334a63069b71ab390728a46aeb337e5a70f0710

See more details on using hashes here.

File details

Details for the file fileshiftlib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fileshiftlib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fileshiftlib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab647399b529dc00232256b155d46065c23b1a56d38183ce8a2e1f819c6fb1e4
MD5 bb8e543b146b238fceaa578729861aa6
BLAKE2b-256 7d783b44d9c1f84646fe00534fa1e70b15e1d46c1c31546d9a1265d49187a89d

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