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.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ftpparser-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ftpparser-0.0.2.tar.gz.

File metadata

  • Download URL: ftpparser-0.0.2.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

Hashes for ftpparser-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4b883f22909f01bd698a09beffe465ba03a13a702e0e8eaeded984e52e4ce3af
MD5 d9cf14486fa744a1b6e27eb3b6ba6f48
BLAKE2b-256 939bbd37fdc996a74f651c16b2e22d3858803483b5d5468a9b6cb8825879a929

See more details on using hashes here.

File details

Details for the file ftpparser-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ftpparser-0.0.2-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

Hashes for ftpparser-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7736c4110e861c83fd87327d4b62c2194b3d7f7c14c0d667d1ee648caaf172f6
MD5 8db0293efbaa42d1ff8a5fdbd59fdd1d
BLAKE2b-256 8e3542936f5d4e8814f3649d527d6a479a13bf833a74699f2e0eb74fad1f3e6e

See more details on using hashes here.

Supported by

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