🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

pysftptail

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pysftptail

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

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

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts