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 details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pysftptail-0.0.1-py3.7.egg
(7.2 kB
view details)
File details
Details for the file pysftptail-0.0.1.tar.gz.
File metadata
- Download URL: pysftptail-0.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
298f332773b292f8c88b4d55e7d796f81bd207c63870b50bf11108cde9adb801
|
|
| MD5 |
ef678e3d25c9b5358b17e47365b7e9c0
|
|
| BLAKE2b-256 |
48a1a1330912bef826d1b76cbb474d718797cf5c454c062a4605bd49f3ebf6d4
|
File details
Details for the file pysftptail-0.0.1-py3.7.egg.
File metadata
- Download URL: pysftptail-0.0.1-py3.7.egg
- Upload date:
- Size: 7.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
184509921134161f935b9040dc181bf2b70a43e9895a6525bb18772225477b97
|
|
| MD5 |
849d8c88c217f84d5b005af8ecd854a7
|
|
| BLAKE2b-256 |
6c14f7e437c7966614dbb4bc98ac0611e36402215312d9d115ff9311959f9ebd
|
File details
Details for the file pysftptail-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pysftptail-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
164de002e6699b07a0fd038fa245258f2ce081906f562728aaae7bfd5998cdd2
|
|
| MD5 |
a9a1b34ce7d04e8323dcb01619567e3e
|
|
| BLAKE2b-256 |
f8ec050df75c18d467ea64bb57ba6510a8f3cd00e1497782645859f14ad0343f
|