sdownloader

A little program to download given list of matrices from SuiteSparse.


License
MIT
Install
pip install sdownloader==0.1.4

Documentation

Suite Downloader

This is a small program that helps you to download given list of matrices from the SuiteSparse matrix collection [1].

Installation

Install from source
git clone https://github.com/talhaokur/sdownloader.git
cd sdownloader
pip3 install -r requirements.txt
python3 setup.py install
Install from PyPI
pip3 install sdownloader

Usage

usage: sdownloader [-h] (-f LIST_FILE | -m M) [-d DESTINATION] [-V] [-v]

Data downloader from SparseSuite.

optional arguments:
  -h, --help            show this help message and exit
  -f LIST_FILE, --list-file LIST_FILE
                        matrix name list file destination.
  -m M                  matrix names. Example: `sdownloader -m
                        "HB/1138_bus;FIDAP/ex37"`
  -d DESTINATION, --destination DESTINATION
                        destination path. Optional, default=current working
                        directory.
  -V, --verbose         toggle verbose mode.
  -v, --version         show program's version number and exit

To download more than one matrix with -m argument, split names with semicolon.

Examples:

sdownloader -m "HB/1138_bus;FIDAP/ex37" -d data
sdownloader -f data.txt -d data

References

[1]: Timothy A. Davis and Yifan Hu. “The University of Florida Sparse Matrix Collection”. In: ACM Trans. Math. Softw. 38.1 (Dec. 2011), 1:1–1:25. ISSN : 0098-3500. DOI : 10.1145/2049662.2049663. URL : http://doi.acm.org/10.1145/2049662.2049663 .