This package contains Python-based clients for .elf-format aliquot sequence
files. It can upload and download .elf files using either
FactorDB or
James Heinrich's cache at mersenne.ca,
defaulting to the latter, more reliable option when possible.
- Python 3.10+ (it may work with older versions, but I have not tested this)
- requests
The requirements list is also embedded in the script for the benefit of script
runners like uv.
python3 download_elf.py <sequence_start>
or
python3 upload_elf.py <sequence_start>
For more detailed help, run the following:
python3 download_elf.py --help
or
python3 upload_elf.py --help
Copy the factordb_user.ini.example file to factordb_user.ini and insert
your FactorDB username and password to use your FactorDB login when downloading
.elf files from that site. This is particularly relevant if you have an
account with higher data limits.
This code is written by Alexander Jones (happy5214) and released under the MIT License.