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
sftp = fileshiftlib.SFTP(host=host,
username=username,
password=password,
port=port)
Installation
Install python and pip if you have not already.
Then run:
pip install pip --upgrade
For production:
pip 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
pip install -e ".[dev]"
To test the development package: Testing
License
BSD License (see license file)