The following blog post talks about downloading curl ranges using Python:
https://remotalks.blogspot.com/2025/07/download-large-files-in-chunks_19.html