ftpparser
ftpparser is a Python 3 package for parsing FTP LIST results for a variety of FTP server formats
Install:
pip3 install ftpparser
Usage:
import ftpparser
parser = ftpparser.FTPParser()
results = parser.parse(['-r-xr-xr-x 1 root wheel 3258128 Nov 20 2019 kernel.GENERIC'])
name, size, timestamp, isdirectory, downloadable, islink, permissions = results[0]
Metadata
Release files for ftpparser 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ftpparser-0.0.3.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ftpparser-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / ftpparser-0.0.3.tar.gz
| Download URL | ftpparser-0.0.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bd00a6dab67cf67470ff816ad667f86747d262c04afa1f5dc2acc02181a0591
|
|
BLAKE2b-256 checksum How to use checksums |
d5645d363e04c2c0a862b6a08c6825d3459eacc670cfd8c4e31ab104652b6fb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / ftpparser-0.0.3-py3-none-any.whl
| Download URL | ftpparser-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88b34c77c7a6c05005f0f22cf6b76ca27955438e1a91d3633fac3f842a9e3480
|
|
BLAKE2b-256 checksum How to use checksums |
526a8d1db3ebbe9bc9298edf8e3d6dd4e6b31b7c0c3e68cedad940f4d5d66000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|