Skip to main content

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

Project description

Citationer

一键式文献题录分析 CLI 工具 — 从描述统计到主题挖掘的完整文献分析报告

PyPI version License: MIT Python 3.10+

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/JasonCENG/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.2.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.2-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: citationer-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 370172f413bd2c831f2d1b4984b853b320597177c457f001d3ad889003215726
MD5 fee99bef56fc71ccda56d3b7ceb7e0e3
BLAKE2b-256 075edcc95e136a1a477bfea2454a8d64cb68418d6fd09783e67e71f07f29f777

See more details on using hashes here.

File details

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

File metadata

  • Download URL: citationer-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c892653aa3925bb73c90388014e92d07c3e8bfd1491c1c08ec66145be83878
MD5 7425c52e45bae8684417ba24bb43ce6d
BLAKE2b-256 3367bc94ed547020b6cdbf4b6e151bcb016d54b6108b6e1ddcd955590f1564d2

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