📄
AutomationPython

Excel to PDF

by CoderWanFeng

Excel to PDF is an Automation skill for Claude Code, published by CoderWanFeng in python-office.

1.3K stars299 forkson CoderWanFeng/python-officeAdded 2026/07/20Repository updated 2026/08/04
officepippypipythonweixin
Install in seconds
Install Excel to PDF
Copy Excel to PDF into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/excel/excel2pdf ~/.claude/skills/excel2pdf

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CoderWanFeng/python-office.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/excel/excel2pdf/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/excel2pdf
Collection
One of 50 skills cataloged from this repository
Category
Automation2226 skills

What Excel to PDF does

Convert Excel file's specified worksheet to PDF format. Useful when users need to export Excel sheets as PDF documents.

Excel to PDF is cataloged under Automation on DirSkills. Excel to PDF comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

excel2pdf Skill

将 Excel 文件的指定工作表转换为 PDF 格式

功能描述

将 Excel 文件的指定工作表转换为 PDF 文件。

所属分类

office/skills/excel/excel2pdf/

调用方式

from skills.excel import excel2pdf

excel2pdf(
    excel_path='./data.xlsx',
    pdf_path='./data.pdf',
    sheet_id=0
)

参数说明

参数 类型 必填 默认值 说明
excel_path str - Excel 文件的路径
pdf_path str - 转换后生成的 PDF 文件的路径
sheet_id int 0 工作表的索引(默认第一个工作表)

返回值

None

使用示例

from skills.excel import excel2pdf
excel2pdf(excel_path='./report.xlsx', pdf_path='./report.pdf', sheet_id=0)

视频教程

https://www.bilibili.com/video/BV1A84y1N7or/

原始函数

office.api.excel.excel2pdf

Frequently asked about Excel to PDF

  • What else does CoderWanFeng publish alongside Excel to PDF?

    Excel to PDF is one of 50 skills that DirSkills catalogs from CoderWanFeng/python-office, the repository it ships in. Its siblings there include Add Image Watermark, Add Line by Type and Add Text Watermark. Each one is a separate skill with its own page in this directory, installs the same way Excel to PDF does, and is maintained by CoderWanFeng in that same repository. The rest of the collection is listed on the CoderWanFeng/python-office page.

  • How does Excel to PDF compare to other Automation skills?

    Excel to PDF ranks #652 by stars among the 2226 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Excel to PDF against them. Open each page to compare what they document and how they install.