pySFTPtail is a Python3 implementaion of the tail command over a sftp connection
Project description
/ ___| ___|_ _| ___ \ | (_) |
_ __ _ _\ `--.| |_ | | | |_/ / |_ __ _ _| |
| '_ \| | | |`--. \ _| | | | __/| __/ _` | | |
| |_) | |_| /\__/ / | | | | | | || (_| | | |
| .__/ \__, \____/\_| \_/ \_| \__\__,_|_|_|
| | __/ |
|_| |___/
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
Release history Release notifications | RSS feed
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)
Built Distributions
pysftptail-0.0.1-py3.7.egg
(7.2 kB
view hashes)
Close
Hashes for pysftptail-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164de002e6699b07a0fd038fa245258f2ce081906f562728aaae7bfd5998cdd2 |
|
MD5 | a9a1b34ce7d04e8323dcb01619567e3e |
|
BLAKE2b-256 | f8ec050df75c18d467ea64bb57ba6510a8f3cd00e1497782645859f14ad0343f |