The following bash scripts can be used to download and merge sets of EPSS scores:
Script | Description |
---|---|
download-all.sh |
Download all historical sets of EPSS scores to a directory |
download-latest.sh |
Download the latest set of EPSS scores to a directory |
merge.sh |
Merge one or more sets of EPSS scores into a single CSV or CSV.GZ file |
get-online-date-range.sh |
Get the range of dates for which EPSS scores are available via the Cyentia Institute's website |
get-offline-date-range.sh |
Get the range of dates for which EPSS scores are available in the local repository |
- bash 4.2+ (for associative arrays)
⚠️ macOS ships with bash 3.2.57, which is too old. You can install a newer version of bash using Homebrew (brew install bash
).
- Download the latest set of EPSS scores
- Download all historical sets of EPSS scores
- Merge a directory of EPSS scores into a single file
- Get the range of dates for which EPSS scores are available via the Cyentia Institute's website
- Get the range of dates for which EPSS scores are available in the local repository
./download-all.sh data/
./download-latest.sh data/
./merge-dir.sh data/ epss-scores.csv.gz
Get the range of dates for which EPSS scores are available via the Cyentia Institute's website
./get-online-date-range.sh
2022-07-15,2024-01-11
./get-offline-date-range.sh
2022-07-15,2024-01-11