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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ftpparser-0.0.1.tar.gz.
File metadata
- Download URL: ftpparser-0.0.1.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 |
cda88a999fcb143f1acf5e605e08627782d6cc6d52b25d9296c7544767177d95
|
|
| MD5 |
7313a999ede20ab42dadac789b9fdb9e
|
|
| BLAKE2b-256 |
590476c364a07e6ccfe3651db1ac384bc146d81391ce92998110e37db644b2ee
|
File details
Details for the file ftpparser-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ftpparser-0.0.1-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 |
307641753bf98752c1e26207597dd9a892b1757beb696bd97366d046fb3430e3
|
|
| MD5 |
4d2c8221b8ed2b7da8aa1d97a58977bb
|
|
| BLAKE2b-256 |
5c4448b7d595ac7c09ff009961514324b9223703fc77f269f943cec5b55f1292
|