OneCite - Universal Citation & Academic Reference Toolkit
===========================================================
.. image:: https://img.shields.io/pypi/v/onecite?color=306998&logo=pypi&style=flat-square
:target: https://pypi.org/project/onecite/
:alt: PyPI Version
.. image:: https://img.shields.io/badge/Python-3.7+-blue?logo=python&style=flat-square
:target: https://www.python.org
:alt: Python Version
.. image:: https://img.shields.io/badge/License-MIT-green.svg?style=flat-square
:target: https://github.com/HzaCode/OneCite/blob/main/LICENSE
:alt: License
**OneCite** is a powerful command-line tool and Python library designed to automate the tedious process of citation management. Feed it anything—DOIs, paper titles, arXiv IDs, or even a mix—and get clean, accurate bibliographic entries in return.
.. toctree::
:maxdepth: 2
:caption: Getting Started
installation
quick_start
basic_usage
.. toctree::
:maxdepth: 2
:caption: User Guides
advanced_usage
python_api
mcp_integration
templates
output_formats
.. toctree::
:maxdepth: 2
:caption: API Reference
api/core
api/exceptions
api/pipeline
.. toctree::
:maxdepth: 2
:caption: Additional Resources
faq
contributing
changelog
Key Features
============
- 🔍 **Smart Recognition** - Fuzzy matching against multiple academic databases
- 📚 **Universal Formats** - Support for BibTeX, APA, and MLA output formats
- 🎯 **High-Accuracy Pipeline** - 4-stage process ensures highest quality output
- 🤖 **Auto-Completion** - Automatically enriches entries with missing metadata
- 🎓 **7+ Citation Types** - Handles journal articles, conference papers, books, software, datasets, theses, and preprints
- 📄 **Universal Identifiers** - Accepts DOI, PMID, arXiv ID, ISBN, GitHub URLs, Zenodo DOI, or plain text queries
- 🤖 **AI Assistant Integration** - Full Model Context Protocol (MCP) support
Data Sources
============
OneCite integrates with multiple authoritative academic data sources:
- `CrossRef `_ - Academic publication metadata
- `Semantic Scholar `_ - AI-powered literature search
- `OpenAlex `_ - Open academic graph
- `PubMed `_ - Biomedical literature
- `DBLP `_ - Computer science bibliography
- `arXiv `_ - Preprint repository
- `DataCite `_ - Scientific datasets
- `Zenodo `_ - Open research data
- `Google Books `_ - Book metadata
Quick Start
===========
Installation::
pip install onecite
Create a ``references.txt`` file::
10.1038/nature14539
Attention is all you need, Vaswani et al., NIPS 2017
Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning. MIT Press.
Run OneCite::
onecite process references.txt -o results.bib --quiet
For more information, see :doc:`quick_start`.
Indices and Tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`