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.1.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for ftpparser-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307641753bf98752c1e26207597dd9a892b1757beb696bd97366d046fb3430e3 |
|
MD5 | 4d2c8221b8ed2b7da8aa1d97a58977bb |
|
BLAKE2b-256 | 5c4448b7d595ac7c09ff009961514324b9223703fc77f269f943cec5b55f1292 |