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.3.0.tar.gz (51.1 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.3.0-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pandacite-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b416f2f4de5796242f4736438aaa8a2d58bf0a70e961d64375ed0589710b6d67
MD5 ea7784721df9431daf72cccc6e9b4212
BLAKE2b-256 02a4ab8106bf5dd6f8e0986f93ac6f6fe37995a4b3578423d8256e9ff2d87c9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandacite-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 57.0 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39c93b09b98bddf2e00ce17f0a4f305203f2b654aa6c0ef273905ff5dea69306
MD5 dc2b073f3ae4ad5e8e2276e7a1543e31
BLAKE2b-256 2056c88f3e7d316efcb5669c77a3d9a0246fa2694e03cd0c4963dd6ad27710f9

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