Skip to main content

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 as doiextract.doiupload.py
  • Move the PDF to the same folder.
  • Open the script file in a code editoreditor.
  • ChangeSet pdf_pathwork_id to the fileThoth nameIdentifier.
  • Set email to your Thoth login.
  • Set password to your Thoth password.
  • Set csv_file_path to the path of the PDFcorrected (incl.CSV .pdf)file.
  • Open a command line tool like Terminal
  • Terminal,
  • Navigatenavigate to the folder containingwith the script and the PDFscript.
  • Run python3 doiextract.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-003005
Document Owner Vincent
Version 1.0
Last Date of Change October 2, 2025
Next Review Due Date
Version & Change Tracking