citations-count

citations_count is a Python library designed to fetch citation counts for academic publications from multiple sources, including CrossRef, OpenCitations, and Google Scholar.

https://github.com/ezefranca/citations_count_lib

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 11 DOI reference(s) in README
  • Academic publication links
    Links to: scholar.google, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

citations_count is a Python library designed to fetch citation counts for academic publications from multiple sources, including CrossRef, OpenCitations, and Google Scholar.

Basic Info
  • Host: GitHub
  • Owner: ezefranca
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 301 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created 11 months ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

citationscountlib PyPI - Version DOI

Overview

citations-count is a Python library designed to fetch citation counts for academic publications from multiple sources, including CrossRef, OpenCitations, and Google Scholar.

This library provides a unified interface to retrieve citation counts using DOIs (Digital Object Identifiers).

Check the example on Google Colab.

Features

  • Fetch citation counts from CrossRef, OpenCitations, and Google Scholar.
  • Support for verbose logging to aid in debugging.
  • Handles rate limiting by introducing delays between API calls.

Installation

To install the library, clone the repository and install the dependencies:

bash git clone https://github.com/ezefranca/citations_count_lib.git cd citations_count_lib pip install -r requirements.txt

Usage

```python from citationscount.core import fetchmultiple_citations

dois = [ "10.1109/SeGAH.2017.7939283", "10.1109/SeGAH.2011.6165447", "10.3390/info16030246", "10.1038/s41586-020-2649-2" ] results = fetchmultiplecitations(dois, delay=1.0, verbose=True) for result in results: print(result) ```

Example output:

json [ { "doi": "10.1109/SeGAH.2017.7939283", "citations_crossref": 62, "citations_opencitations": 64, "citations_google_scholar": 160 }, { "doi": "10.1109/SeGAH.2011.6165447", "citations_crossref": 48, "citations_opencitations": 48, "citations_google_scholar": 116 }, { "doi": "10.3390/info16030246", "citations_crossref": 0, "citations_opencitations": 0, "citations_google_scholar": 0 }, { "doi": "10.1038/s41586-020-2649-2", "citations_crossref": 14710, "citations_opencitations": None, "citations_google_scholar": 22393 } ]

Logging

Verbose logging can be enabled by setting the verbose parameter to True. This will print detailed logs for debugging purposes.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

Citation

bibtex @software{Santos_citations_count_is_a_2025, title = {{citations\_count is a Python library designed to fetch citation counts for academic publications from multiple sources, including CrossRef, OpenCitations, and Google Scholar.}}, author = {Santos, Ezequiel}, year = 2025, month = {mar}, doi = {10.5281/zenodo.15079456}, url = {https://github.com/ezefranca/citations_count_lib}, license = {MIT}, version = {1.0.0} }

License

This project is licensed under the MIT License. See the LICENSE file for details.

Owner

  • Name: Ezequiel Santos
  • Login: ezefranca
  • Kind: user
  • Location: Lisbon, Portugal
  • Company: @miniclip

💼 Mobile Developer @miniclip 📲👾 📚 Phd Student @iade-pt 👨🏻‍💻

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this package in your research, please cite it as below."
authors:
  - family-names: Santos
    given-names: Ezequiel
    orcid: "0000-0001-9321-8444"
title: "citations_count is a Python library designed to fetch citation counts for academic publications from multiple sources, including CrossRef, OpenCitations, and Google Scholar."
version: "1.0.0"
url: "https://github.com/ezefranca/citations_count_lib"
repository-code: "https://github.com/ezefranca/citations_count_lib"
doi: "10.5281/zenodo.15079456"
date-released: "2025-03-24"
license: "MIT"

GitHub Events

Total
  • Release event: 6
  • Watch event: 2
  • Push event: 10
  • Create event: 8
Last Year
  • Release event: 6
  • Watch event: 2
  • Push event: 10
  • Create event: 8

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 21 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: citations-count

Fetch citation counts from CrossRef, OpenCitations, and Google Scholar.

  • Homepage: https://github.com/ezefranca/citations_count_lib
  • Documentation: https://citations-count.readthedocs.io/
  • License: MIT License Copyright (c) 2025 Ezequiel Santos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 1.0.0
    published 11 months ago
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 21 Last month
Rankings
Dependent packages count: 9.4%
Average: 31.3%
Dependent repos count: 53.1%
Maintainers (1)
Last synced: 6 months ago