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.
Make sure your virtual environment is set up.
Makefile provides you a convenient interface with the following commands:
List the available commands:
make
Installs the Python dependencies specified in the requirements.txt file
make install
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
Formats the code using the black code formatter and isort.
make format
make test
Find TODO, send PR.
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.
Look into the implementation of: https://github.com/front-matter/commonmeta-py