Skip to content

KTH/diva-invenio-data-exchanger

Repository files navigation

Tests

DIVA Invenio data exchanger

The DIVA Invenio Data Exchanger is a Python-based tool designed to facilitate data exchange between the DIVA and Invenio systems. The tool provides a seamless way to move data between these two systems, making it easy to convert Diva data into Invenio platform and vice versa.

prerequisites:

Make sure your virtual environment is set up.

How to convert

Makefile provides you a convenient interface with the following commands:

make

List the available commands:

make

install

Installs the Python dependencies specified in the requirements.txt file

make install

run

Runs the main.py Python script with the input and output arguments provided as command line arguments.

make run path_in=data/input/100-pub.csv path_out=data/output/100-pub.json

expected input structure from Diva: here

Format

Formats the code using the black code formatter and isort.

make format

Test

make test

Contribution Request:

Find TODO, send PR.

Invenio API

Most likelly we will use newman it's a free command-line collection runner for Postman, it can generate reports and take care of the API requests part.

Resources:

TODOs

Look into the implementation of: https://github.com/front-matter/commonmeta-py

Releases

No releases published

Packages

No packages published