Skip to content

Software for creating all the OpenCitations Indexes (e.g. COCI)

License

Notifications You must be signed in to change notification settings

opencitations/index

Repository files navigation

Python package

OpenCitations: Index

This software allows the creation of indexes of open citations (e.g. COCI).

Requirements

Mandatory

  • Python 3.7+
  • libzip, see INSTALL.md from official repository for additional information.

Optional

  • Redis (* mandatory for redis data source), see Installing Redis for additional information.

Install

To install the index software you must first meet all the requirements above.

  1. First of all let's compile the cpp source files for the OCI lookup management
$ make build
  1. Then install the binaries and add them to the $PATH
$ sudo make install
  1. As a last step the python package must be installed, at the same time all the python scripts will be added to the $PATH
$ pip install .
  1. To ensure that the installation has been carried out correctly start the tests
$ python -m unittest discover -s ./index/python/test -p "test_*.py"

Done, enjoy :)

Configuration

By default when index is installed a configuration file is created in ~/.opencitations/index/, namely config.ini. For more information about the semantics of the settings see config.ini.

Usage

See Usage.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

OpenCitations Index is released under the ISC License.

About

Software for creating all the OpenCitations Indexes (e.g. COCI)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published