Skip to content

Game plan, thoughts and discussions #7

Answered by slint
mguidoti asked this question in Tech
Discussion options

You must be logged in to vote
  • Lycophron should have a separate module to handle the Zenodo communication;

Something more of a Zenodo "client", where one can do e.g.:

client = ZenodoClient(token='<your-api-token>')

record = client.records.get('12345')
record['title']
# 'My record title'

deposit = client.deposits.create()
deposit.metadata.update({'title': 'some title', ... })  # updates the metadat
deposit.files.add(path='/path/to/figure.png')  # uploads a file
deposit.publish()  # publishes the deposit
  • It should load/export data using Pandas Dataframes;

A lighter alternative to Pandas (since we're not doing any strictly computational work) is also openpyxl... Not sure if there are major speed/ease-of-use diff…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mguidoti
Comment options

mguidoti
Jan 31, 2022
Collaborator Author

You must be logged in to vote
1 reply
@slint
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #1 on January 31, 2022 00:24.