Skip to main content

Optimally traversing extremely large FTP directory trees.

Project description

FTPflow is a Python package for optimally traversing extremely large FTP directory trees.

Here is an example of FTPflow traversing the Uniprot bioinformatics database:

from FTPflow.runwalker import FTPflow

walker = FTPflow("Uniprot", "ftp.uniprot.org")
walker.check_state()

This will create a dictionary formatted as a JSON file in the user’s home directory containing all the full paths as keys and the respective filenames as values. FTPflow is designed with speed in mind by utilizing state-of-the-art high performance parallelism and concurrency algorithms to traverse FTP directory trees. The resultant hash table (i.e., dictionary) supports fast lookup for any file in any biological database.

Installation:

For running the FTPflow you need to have python3.x+ installed. Then you can use pip or pip3 for installation.

# Install
    sudo pip3 install FTPflow

    # Upgrade
    sudo pip3 install FTPflow --upgrade

Project details


Release history Release notifications | RSS feed

This version

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

FTPflow-0.5-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file FTPflow-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for FTPflow-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ac20812e8ad06af07032330a1d837ac0536980701706398b1ef3c17abbb2bbee
MD5 fc143f3ab1a0e5612c6f62f2746505b4
BLAKE2b-256 a628e583291af675bb29589f9fd65ac02f37850d391228fc8fc52cd2a54b901e

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