Metadata-Version: 2.4
Name: ftp_reliable
Version: 1.1.0
Summary: FTP with retries, verification, parallelization, and logging
Author: Jacob K
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: filelock>=3.32.3
Requires-Dist: pandas>=3.0.5

# FTP reliable

## Install

```
pip install ftp_reliable
```

## Use

```
# single example
PATTERN=SRR000648.verify_pass
ftp_reliable \
    --host "ftp.sra.ebi.ac.uk" \
    --path "/vol1/fastq/SRR000/SRR000648/SRR000648.fastq.gz" \
    --out tests/output/${PATTERN}.fastq.gz \
    --logfile tests/output/${PATTERN}.log \
    --algo md5 \
    --expected_hash "4284579146b4096bb0a287bec039fa10" \
    --retries 1

# parallel
ftp_reliable \
    --query tests/input/two_queries.tsv \
    --logfile tests/output/two_queries.log \
    --cpus 2 \
    --algo md5
```
