biofetcher-cli is a Python-based Command Line Interface (CLI) tool that downloads biomedical data files from the web. It supports both synchronous and asynchronous file download methods, providing flexible options for handling large datasets.
- Command-line interface development with
argparse - Asynchronous and synchronous downloading via
aiohttpandrequests - Modular Python structure for future extensibility (e.g., Globus integration)
- Unit testing using
pytestandpytest-asyncio - Sync Download: Downloads files using synchronous requests.
- Async Download: Downloads files asynchronously, optimizing performance for large datasets.
- Supports output file naming for easy file management.
To use biofetcher-cli, you need Python 3.7+ and pip. Install the dependencies with:
pip install -r requirements.txt