Skip to main content

A Python-based citation manager

Project description

PandaCite Logo

A Python-based citation manager for researchers & writers

PyPI Version License GitHub Stars GitHub Issues GitHub Forks Downloads

🚀 Features

  • 🔍 Generate citations from DOI, PMID, arXiv, ISBN, URLs, and more
  • 🖋 Supports 20+ popular citation styles: APA, Nature, Science, IEEE, Chicago, etc.
  • 📄 Automatically process and update citations in Microsoft Word documents (.docx)
  • 🔢 Full support for numbered and author-year styles
  • 🧠 Interactive CLI & programmable Python API

📦 Installation

pip install pandacite

💻 Command Line Usage

➤ Generate a single citation

pandacite single --id "https://doi.org/10.1126/sciadv.abb8097" --format nature

➤ Process citations in a Word document

pandacite word --input manuscript.docx --output manuscript_with_citations.docx --format ieee

➤ Interactive Mode

pandacite interactive
📘 CLI Help
usage: pandacite [-h] {single,batch,word,interactive} ...

positional arguments:
  {single,batch,word,interactive}
    single        Generate a single citation
    batch         Process multiple citations
    word          Process Word documents
    interactive   Run in interactive mode

optional arguments:
  -h, --help      Show this help message and exit

🧬 Python API

from pandacite import EnhancedCitationManager

# Create citation manager instance
manager = EnhancedCitationManager()

# Generate a citation
citation = manager.process_single_citation("doi", "10.1038/s41586-020-2649-2", "nature")
print(citation)

🎨 Supported Citation Styles

from pandacite.formatters import (
    APAFormatter, NatureFormatter, ScienceFormatter, IEEEFormatter, 
    ChicagoFormatter, MLAFormatter, HarvardFormatter, VancouverFormatter,
    ElsevierFormatter, SpringerFormatter, BMCFormatter, PLOSFormatter, 
    CellFormatter, JAMAFormatter, BMJFormatter, NEJMFormatter, 
    JBCFormatter, RSCFormatter, ACSFormatter, AIPFormatter, 
    ACMFormatter, OxfordFormatter
)

📥 Supported Parsers

from pandacite.parsers import (
    DOIParser, PMIDParser, ArXivParser, ISBNParser, 
    URLParser, BibTexParser, RISParser
)

🧠 Interactive Demo

A guided command-line session to generate citations with autocompletion and help built-in.

pandacite interactive

📄 License

This project is licensed under the MIT License.


Built for researchers, writers, and academics who deserve frictionless citations. 🐼

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandacite-0.2.0.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandacite-0.2.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file pandacite-0.2.0.tar.gz.

File metadata

  • Download URL: pandacite-0.2.0.tar.gz
  • Upload date:
  • Size: 50.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pandacite-0.2.0.tar.gz
Algorithm Hash digest
SHA256 51a7dd3eb8f7a44351a42ca869f4f4506a0535a496d2eb932eaa9abe1e98ebe8
MD5 9a6031261f29c1fd604a1cecebcb7ab3
BLAKE2b-256 c2505eb3282970b54247d110c6475177fac0222962f54f81404e70465f77e040

See more details on using hashes here.

File details

Details for the file pandacite-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pandacite-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pandacite-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 995fb5c51de8409d87924a94e3267bdcf9dac969d3a61b01078b0ae966799d36
MD5 a2011c6575eac0d39ea99e291656e4a1
BLAKE2b-256 26ec66916c8f37f0d932a153835c8fb0a99c570a11efa85dc25c03cf837a2427

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page