Skip to main content

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


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)

Uploaded Source

Built Distribution

ftpparser-0.0.3-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page