How to install
Installing from Pypi
To get the official and updated version of this package, follow these simple steps:
install python >= 3.8:
sudo apt install python3
Install oc_graphenricher via pip:
pip install oc-graphenricher
Installing from the sources
It’s also possible to build the package from the sources. To do that, follow the following:
Having already installed python, you can also install GraphEnricher via cloning this repository:
git clone https://github.com/opencitations/oc_graphenricher` cd ./oc_graphenricher
install poetry:
pip install poetry
install all the dependencies:
poetry install
build the package:
poetry build
install the package:
pip install ./dist/oc_graphenricher-<VERSION>.tar.gz
Run the tests
To run the tests (from the root of the project):
poetry run test