deposit.zenodo.protocol module

class deposit.zenodo.protocol.ZenodoProtocol(repository, **kwargs)[source]

Bases: deposit.protocol.RepositoryProtocol

A protocol to submit using the Zenodo API

createMetadata(form)[source]
form_class

alias of ZenodoForm

get_form_initial_data()[source]
init_deposit(paper, user)[source]

Refuse deposit when the paper is already on Zenodo

submit_deposit(pdf, form, dry_run=False)[source]
deposit.zenodo.protocol.swordDocumentType(paper)[source]