Skip to main content

pySFTPtail is a Python3 implementaion of the tail command over a sftp connection

Project description


            /  ___|  ___|_   _| ___ \ |      (_) |
 _ __  _   _\ `--.| |_    | | | |_/ / |_ __ _ _| |
| '_ \| | | |`--. \  _|   | | |  __/| __/ _` | | |
| |_) | |_| /\__/ / |     | | | |   | || (_| | | |
| .__/ \__, \____/\_|     \_/ \_|    \__\__,_|_|_|
| |     __/ |                                     
|_|    |___/                                      

Build Status codecov

MIT Licence

pysftp-tail

pySFTPtail is a Python3 implementaion of the tail command over a sftp connection

Usage

# pysftptail script

python3 pysftptail.py -h host -u username -p password -n 5

Usage: pysftptail.py [OPTIONS] FILE_PATH

Options:
  -h, --host TEXT      SFTP host server, prompted if omitted.
  -u, --username TEXT  SFTP username, prompted if omitted.
  -p, --password TEXT  SFTP password, prompted if omitted.
  -n, --lines INTEGER  Output the last n lines.  [default: 5]
  -f, --follow         Output data as the file grows.
  --version            Show the version and exit.
  --help               Show this message and exit.

# Execute tests
pytest

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

pysftptail-0.0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distributions

pysftptail-0.0.1-py3.7.egg (7.2 kB view hashes)

Uploaded Source

pysftptail-0.0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page