Skip to main content

一键式文献题录分析 CLI 工具

Project description

Citationer

Citationer — A one-click bibliometric analysis CLI tool.

License: MIT Python 3.10+ PyPI version

Citationer 是一个面向科研工作者的轻量级、本地化、零配置文献分析工具。进入包含题录文件的目录,运行一条命令,即可获得从描述统计到知识图谱的完整文献分析报告。

Citationer — A one-click bibliometric analysis CLI tool. Auto-detects CNKI, Web of Science, and Scopus export formats; delivers descriptive statistics, co-occurrence/collaboration networks, AI-powered topic labeling via DeepSeek, and one-shot Markdown/HTML/PDF report generation.

✨ 特性

  • 🔍 自动格式检测 — 支持 CNKI、Web of Science、Scopus 等多种题录格式
  • 📊 描述统计分析 — 年度趋势、高产作者/期刊/机构、引用分析
  • 🔗 网络分析 — 关键词共现、作者合作、共被引网络
  • 🤖 AI 增强 — 集成 DeepSeek 大模型进行主题标注和综述生成
  • 📝 报告生成 — 一键生成 Markdown/HTML/PDF 报告
  • 🎨 Rich 终端界面 — 彩色表格、进度条、交互式输出
  • 📦 管道友好 — 输出结果可被 grepjq 等标准 Unix 工具处理

📦 安装

# 推荐: 使用 pipx 隔离安装
pipx install citationer

# 或使用 pip
pip install citationer

# 或从源码安装
git clone https://github.com/jbiter/citationer.git
cd citationer
pip install -e .

🚀 快速开始

# 1. 进入题录文件目录
cd /path/to/your/literature

# 2. 扫描目录中的题录文件
citationer scan

# 3. 导入题录数据
citationer import

# 4. 数据清洗与去重
citationer clean

# 5. 查看统计概览
citationer stats overview

# 6. 年度趋势分析
citationer stats yearly

# 7. 高产期刊 Top-20
citationer stats journals --top 20

# 8. 高产作者 Top-20
citationer stats authors --top 20

📖 文档

完整文档请访问 GitHub Wiki.

🛠 开发

# 安装依赖
poetry install

# 运行测试
poetry run pytest

# 代码检查
poetry run ruff check src/ tests/
poetry run mypy src/citationer/

📄 许可证

MIT © Jason Yu

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

citationer-1.0.3.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

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

citationer-1.0.3-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file citationer-1.0.3.tar.gz.

File metadata

  • Download URL: citationer-1.0.3.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for citationer-1.0.3.tar.gz
Algorithm Hash digest
SHA256 57a59f3f0d3b9b8e9147f9dbbced4e1543727295e634aedebfc24c5c9b7a92f0
MD5 641242a97b9d56fba146728db26d0863
BLAKE2b-256 68c2ac7f88ea0c3824278cffa227d8eca4796bc8086486c4c33a14e9b5bee841

See more details on using hashes here.

File details

Details for the file citationer-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: citationer-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 39.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for citationer-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 502b48d2d5a8d8ffeaea1592f9752871103748da46f9c234da700a3441b693f1
MD5 b61270795ea42d20e28ca0f1be33c6fb
BLAKE2b-256 b82e4c12d45dd5504a1465e18d23d6bb705d9bf43afe964f1060c64640dc029e

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