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.1.0.tar.gz (50.5 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.1.0-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pandacite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 45da9c7fac8dd90fdd0a6b1e7aa7f7096d099cd8c919ab37ba7951a8845fd653
MD5 c581bfa52f0bbf32b0cb86950150aa07
BLAKE2b-256 cfcc9ff85bffd36d5993c4aa0d0b7e4aac421c7abc08d35cbdd8844b6c7cc65f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandacite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8efd4817cbad293c598823f1cb3c64d6f8381f3be6a08ca28701b42a21af6ec
MD5 bf31f416f1f2be75e2b4136662cd6668
BLAKE2b-256 e9dfc6d2efcd27d132ca8eaf80f65ba7f8b951769b61e5ea12b5f4c614ab4577

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