FTP LIST parsing library
Project description
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]
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
ftpparser-0.0.3.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file ftpparser-0.0.3.tar.gz
.
File metadata
- Download URL: ftpparser-0.0.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4bd00a6dab67cf67470ff816ad667f86747d262c04afa1f5dc2acc02181a0591
|
|
MD5 |
2f8d8695a2ba11b01dad8b759171a1d4
|
|
BLAKE2b-256 |
d5645d363e04c2c0a862b6a08c6825d3459eacc670cfd8c4e31ab104652b6fb3
|
File details
Details for the file ftpparser-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ftpparser-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
88b34c77c7a6c05005f0f22cf6b76ca27955438e1a91d3633fac3f842a9e3480
|
|
MD5 |
324891b222cedf507fee12fee11b2686
|
|
BLAKE2b-256 |
526a8d1db3ebbe9bc9298edf8e3d6dd4e6b31b7c0c3e68cedad940f4d5d66000
|