DOI Upload
1. Overview and Context
This procedure extractsuploads the DOIs from a PDF by means of a custompublication Pythonto scriptthe andMetadata returns a CSV file.Record.
2. Triggers
The execution of this procedure is usually triggered by
3. Steps to Be Performed
- Save a copy of the DOI
ExtractionUpload Script to your hard drive asdoiextract.doiupload.py Move the PDF to the same folder.- Open the script file in a code
editoreditor. ChangeSetto thepdf_pathwork_idfileThothnameIdentifier.- Set
emailto your Thoth login. - Set
passwordto your Thoth password. - Set
csv_file_pathto the path of thePDFcorrected(incl.CSV.pdf)file. - Open a command line tool like
TerminalTerminal, Navigatenavigate to the foldercontainingwith thescript and the PDFscript.- Run
python3doiextract.doiupload.py The script will generate a CSV file of the PDF file suffixed with._dois.csv
4. Additional Information
If the CSV has errors, the script will return an error message. Correct the CSV and remove the entries that were already uploaded, which can be checked in the Metadata Record.
5. Document Control
| Document ID | PRO- |
| Document Owner | Vincent |
| Version | 1.0 |
| Last Date of Change | October 2, 2025 |
| Next Review Due Date | |
| Version & Change Tracking |