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 hashes)
Built Distribution
Close
Hashes for ftpparser-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b34c77c7a6c05005f0f22cf6b76ca27955438e1a91d3633fac3f842a9e3480 |
|
MD5 | 324891b222cedf507fee12fee11b2686 |
|
BLAKE2b-256 | 526a8d1db3ebbe9bc9298edf8e3d6dd4e6b31b7c0c3e68cedad940f4d5d66000 |