upload big files to Zenodo.org using python
Uploading big files to https://zenodo.org using poython.
Inspired by this stackExchange discussion: https://stackoverflow.com/questions/13909900/progress-of-python-requests-post
- Python
- requests
- tdqm
- create a new upload in Zenodo using the web ui and click
save
- copy the depositions url id e.g.
https://zenodo.org/deposit/depositions/12345
and set it in the scipt (upload_url=...
) - copy your access token (see https://zenodo.org/account/settings/applications/tokens/new/)
- save all files to upload i a folder, set
folder="path/to/your/folder/
5.run the script. you should see something like this:100%|##########| 3.17G/3.17G [28:11<00:00, 2.01MB/s]
- go back to the web ui to finalize and publish your upload.
good luck!