Metadata-Version: 2.4
Name: oc_meta
Version: 3.0.0
Summary: OpenCitations Meta contains bibliographic metadata associated with the documents involved in the citations stored in the OpenCitations infrastructure. The OpenCitations Meta Software performs two main actions: a data curation of the provided CSV files and the generation of new RDF files compliant with the OpenCitations Data Model.
Author: Fabio Mariani, Simone Persiani, Marta Soricetti, Arianna Moretti
Author-email: Arcangelo Massari <arcangelo.massari@unibo.it>, Silvio Peroni <silvio.peroni@unibo.it>
License-Expression: ISC
License-File: LICENSE
Requires-Python: <3.14,>=3.10
Requires-Dist: beautifulsoup4>=4.14.0
Requires-Dist: filelock>=3.24.0
Requires-Dist: numpy>=2.2.0
Requires-Dist: oc-ds-converter>=2.0.3
Requires-Dist: oc-ocdm==11.0.16
Requires-Dist: orjson>=3.11.0
Requires-Dist: pandas>=2.2.3
Requires-Dist: piccione>=3.1.2
Requires-Dist: polars>=1.39.3
Requires-Dist: psutil>=7.2.0
Requires-Dist: py7zr>=1.1.0
Requires-Dist: python-dateutil>=2.9.0
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: rapidfuzz>=3.14.5
Requires-Dist: rdflib>=7.6.0
Requires-Dist: requests>=2.32.0
Requires-Dist: rich-argparse>=1.7.2
Requires-Dist: rich>=14.3.0
Requires-Dist: scandir-rs>=2.9.5
Requires-Dist: sparqlwrapper>=2.0.0
Requires-Dist: time-agnostic-library<8,>=7
Requires-Dist: tqdm>=4.67.3
Requires-Dist: triplelite>=1.4.1
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: 2020 FabioMariani <fabios.ap93@hotmail.com>
SPDX-FileCopyrightText: 2021-2026 Arcangelo Massari <arcangelo.massari@unibo.it>

SPDX-License-Identifier: ISC
-->

[<img src="https://img.shields.io/badge/powered%20by-OpenCitations-%239931FC?labelColor=2D22DE" />](http://opencitations.net)
[![Run tests](https://github.com/opencitations/oc_meta/actions/workflows/run_tests.yml/badge.svg)](https://github.com/opencitations/oc_meta/actions/workflows/run_tests.yml)
[![Ruff](https://github.com/opencitations/oc_meta/actions/workflows/ruff.yml/badge.svg)](https://github.com/opencitations/oc_meta/actions/workflows/ruff.yml)
[![Pyright](https://github.com/opencitations/oc_meta/actions/workflows/pyright.yml/badge.svg)](https://github.com/opencitations/oc_meta/actions/workflows/pyright.yml)
[![Coverage](https://opencitations.github.io/oc_meta/coverage/coverage-badge.svg)](https://opencitations.github.io/oc_meta/coverage/)
![PyPI](https://img.shields.io/pypi/pyversions/oc_meta?logo=python&logoColor=white&label=python&color=blue)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/opencitations/oc_meta)
[![REUSE](https://github.com/opencitations/oc_meta/actions/workflows/reuse.yml/badge.svg)](https://github.com/opencitations/oc_meta/actions/workflows/reuse.yml)

# OpenCitations Meta

OpenCitations Meta processes bibliographic metadata for the [OpenCitations](https://opencitations.net/) infrastructure. It curates data from CSV files and generates RDF compliant with the [OpenCitations Data Model](https://figshare.com/articles/Metadata_for_the_OpenCitations_Corpus/3443876).

## Documentation

Full documentation: **https://opencitations.github.io/oc_meta/**

## Installation

```bash
pip install oc_meta
```

## Quick start

```bash
uv run python -m oc_meta.run.meta_process -c meta_config.yaml
```

See the [getting started guide](https://opencitations.github.io/oc_meta/01-getting-started.html) for configuration details.

## Development

```bash
git clone https://github.com/opencitations/oc_meta.git
cd oc_meta
uv sync
```

Run tests:

```bash
./test/start-test-databases.sh
uv run coverage run --rcfile=test/coverage/.coveragerc
./test/stop-test-databases.sh
```

## How to cite

If you use OpenCitations Meta in your research, please cite:

Arcangelo Massari, Fabio Mariani, Ivan Heibi, Silvio Peroni, David Shotton; OpenCitations Meta. *Quantitative Science Studies* 2024; 5 (1): 50-75. doi: [https://doi.org/10.1162/qss_a_00292](https://doi.org/10.1162/qss_a_00292)
