CoderWanFeng/python-office

DirSkills catalogs 50 skills from this repository, across 4 categories: AI Engineering, Automation, Data, Writing.

1.3K stars301 forksView on GitHub
🖼️
3w ago

Add Image Watermark

Add Image Watermark adds an image watermark to a PDF, such as a logo. Use it when you need to brand or mark PDF pages with an image watermark.
Automation
1.3K301
📝
2026/07/20

Add Line by Type

Add configured code lines to a selected file with python-office, with an explicit warning that this historical function remains untested.
Automation
1.3K299
💧
3w ago

Add Text Watermark

Add Text Watermark adds text watermarks to PDF files with custom font, size, color, and position. Use it when you need to mark a PDF with labels like confidential or draft.
Automation
1.3K301
🖼️
2026/07/20

Add Watermark

Adds text watermarks to images with customizable color, size, opacity, spacing, and angle. Use when you need to batch watermark images for copyright or branding.
Automation
1.3K299
💧
3w ago

Add Watermark

Add Watermark adds a watermark to a PDF through an interactive, no-argument call. Use it when a user wants to apply a watermark to a PDF document.
Automation
1.3K301
🏷️
2026/07/20

Batch Add Filename Prefix

Add a specified prefix to filenames in bulk. Useful for organizing files with a common prefix, like adding 'backup_' to document names.
Automation
1.3K299
🏷️
2026/07/20

Batch Add Suffix to Filenames

Facilitates batch renaming of files by appending a specified suffix. Useful when you need to add version numbers, backup tags, or other identifiers to multiple files at once.
Automation
1.3K299
📁
2026/07/20

Batch File Rename

Batch rename files and folders by replacing or deleting specified substrings in their names. Use when you need to clean up or standardize many filenames at once.
Automation
1.3K299
🖼️
2026/07/14

Compress Image

Compresses image files by adjusting quality parameters to reduce file size. Use when you need to shrink image volume or lower image quality for storage or transmission.
Automation
1.3K299
📚
3w ago

Course

Course displays python-office usage tutorials, group info, source links, and related resources in the terminal. Use it when someone asks for python-office introduction, help, or course information.
Writing
1.3K301
📝
3w ago

Create Article

Create Article generates an article of a specified length from a given topic. Use it for AI writing, auto-drafting, or generating稿子 when you need a structured article from a theme.
Writing
1.3K301
📷
2026/07/20

Decode QR Code

Parses QR code images and extracts the text content. Use when you need to decode QR codes from images in Python office workflows.
Automation
1.3K299
📄
3w ago

Del4PDF

Del4PDF removes specified pages from a PDF file. Use it when you need to delete one or more pages from a document.
Automation
1.3K301
🖼️
2026/07/20

Download Image

Download images from a given URL and save them to a local path. Use this when you need to fetch images from the web and store them on disk.
Automation
1.3K299
🗂️
3w ago

Empty Label JSON Filter

Empty Label JSON Filter筛选 shapes 为空的 JSON 标注文件,并将它们移动到“无标签json文件”子目录。适合清洗标注数据时按空标签快速归档。
Data
1.3K301
🔒
3w ago

Encrypt PDF

Encrypt PDF adds a password to a PDF file for protection. Use it when you need to lock a PDF with a user password or generate a password-protected copy.
Automation
1.3K301
🧪
2026/07/20

Excel Mock Data Generator

Automatically generates Excel files filled with fake data for testing, including names, phones, addresses, and more. Supports Chinese and English locales.
Automation
1.3K299
📑
2026/07/20

Excel Sheet Splitter

Splits a single Excel file containing multiple sheets into individual Excel files, one per sheet. Use when you need to separate combined data into standalone workbooks.
Automation
1.3K299
📄
3w ago

Excel To Markdown

Excel To Markdown converts Excel files into Markdown documents, with optional selection of a specific worksheet. Use it when turning spreadsheets into MD tables or documenting spreadsheet content.
Writing
1.3K301
📄
2026/07/20

Excel to PDF

Convert Excel file's specified worksheet to PDF format. Useful when users need to export Excel sheets as PDF documents.
Automation
1.3K299
📝
2026/07/20

File Name Insert Content

Insert characters into filenames at specific positions during batch renaming operations. Useful for adding timestamps, identifiers, or other text to existing file names programmatically.
Automation
1.3K299
🔍
2026/07/20

File Type Search

Search for files of a specified type (e.g., .txt, .pdf) in a given directory using Python. Useful for locating all files of a certain extension within a folder.
Automation
1.3K299
🔍
2026/07/20

Find Excel Data

Searches Excel files in a directory for a keyword and returns matching file names, row numbers, and content details. Use when you need to quickly locate specific data across multiple spreadsheets.
Data
1.3K299
🔍
2026/07/20

Get Files

Searches for files in a specified path and returns a list of file paths, with support for filtering by suffix, subdirectory, and depth level. Use when the user needs to get a file list, find files of a specific type, or list all files.
Automation
1.3K299
🗂️
2026/07/20

Group by Name

Group files into directories from filename rules with python-office; this historical helper is untested and del_old_file may remove originals.
Automation
1.3K299
🖼️
2026/07/20

Image to Cartoon

Converts images to cartoon style using Baidu's image processing API. Use when you need to cartoonize photos or generate cartoon versions of pictures.
AI Engineering
1.3K299
🎞️
2026/07/20

Image to GIF

Invoke python-office’s current no-argument image2gif wrapper; the source does not document input discovery, output location, timing, or animation controls.
Automation
1.3K299
🎫
3w ago

Lottery Ticket Generator

Lottery Ticket Generator randomly generates an 8-digit lottery number. Use it when someone asks for a lottery pick, random numbers, or an automatic ticket number.
Automation
1.3K301
📑
2026/07/20

Merge Excel Files

Merges multiple Excel files from a directory into a single Excel workbook, with each original file placed in a separate sheet. Use it when you need to combine several spreadsheets into one file for easier management.
Automation
1.3K299
📄
3w ago

Merge To PDF

Merge To PDF combines multiple PDF files into a single PDF. Use it when you need to join separate PDFs or respond to requests for PDF merging and concatenation.
Automation
1.3K301
📊
2026/07/20

Merge to Sheet

Merges multiple sheets from multiple Excel files into a single sheet. Use when combining data across spreadsheets.
Data
1.3K299
📎
3w ago

Merge4Ppt

Merge4Ppt combines multiple PowerPoint files into one PPTX. Use it when you need to merge slides or consolidate several presentations into a single deck.
Automation
1.3K301
📊
2026/07/20

Output File List to Excel

Exports all file names from a given directory into an Excel spreadsheet. Use when you need a quick list of files in a folder for reporting or cataloging.
Automation
1.3K299
🔓
3w ago

PDF Decrypt

PDF Decrypt unlocks encrypted PDF files given a password. Use it when you need to remove a PDF password or convert a protected PDF into an unencrypted copy.
Automation
1.3K301
📄
3w ago

PDF Watermark

PDF Watermark adds a text watermark to a PDF file. Use it when you need to mark PDFs with text such as a label, brand, or confidentiality note.
Automation
1.3K301
📄
3w ago

PDF Watermark By Parameters

PDF Watermark By Parameters adds a text watermark to PDF files using input and output parameters. Use it for parameterized or batch PDF watermarking.
Automation
1.3K301
📄
3w ago

PPT To PDF

PPT To PDF converts PowerPoint files into PDF format. Use it when you need to turn PPT or PPTX slides into a PDF.
Automation
1.3K301
📄
3w ago

Pdf To Docx

Pdf To Docx converts PDF files into Word .docx documents. Use it for single-file or batch PDF-to-Word conversions.
Automation
1.3K301
🖼️
3w ago

Pdf To Images

Pdf To Images converts PDF files into images, either as separate pages or as one merged long image. Use it when you need PDF screenshots, page images, or a long scrollable image from a PDF.
Automation
1.3K301
✏️
2026/07/20

Image to Pencil Sketch

Convert an input image to a pencil-sketch style file with python-office, choosing the output directory and filename without promising realistic results.
Automation
1.3K299
🖼️
3w ago

Ppt To Image

Ppt To Image converts PowerPoint files into images, either as separate slides or merged into one long image. Use it when you need PPT screenshots, slide images, or a combined long screenshot.
Automation
1.3K301
🖼️
2026/07/20

Remove Watermark

Call python-office’s del_watermark operation with input and output paths; its source does not specify algorithms, supported formats, or output quality.
Automation
1.3K299
🖼️
3w ago

Screen Unmarked Images

Screen Unmarked Images finds images in a folder that do not have matching .xml annotation files and moves them to a "未标注图片" subfolder. Use it when cleaning image datasets or filtering unannotated files.
Automation
1.3K301
✂️
2026/07/20

Split Excel By Column

Splits an Excel file into multiple files based on unique values in a specified column. Useful when you need to separate data by categories like regions or departments.
Automation
1.3K299
📄
3w ago

Split PDF

Split PDF removes a specified page range from a PDF into a separate file. Use it when you need to split, cut, or extract pages from a PDF document.
Automation
1.3K301
💰
2026/07/20

T+0 Profit Calculator

Calculates profit of stock T+0 trades considering buy/sell prices, shares, commissions, and stamp tax. Useful for users discussing T+0 or short-term stock trading.
Automation
1.3K299
📄
3w ago

Txt To Pdf

Txt To Pdf converts .txt files into PDF documents. Use it when you need to turn a text file into a PDF for sharing or archiving.
Automation
1.3K301
☁️
3w ago

Txt2WordCloud

Txt2WordCloud generates a word cloud image from a text file. Use it when you need word frequency visualization with a custom background color.
Data
1.3K301
🧾
3w ago

Vat Invoice OCR To Excel

Vat Invoice OCR To Excel uses OCR to extract Chinese VAT invoice details from images and export them to Excel. Use it for invoice recognition, batch invoice processing, and optional translation.
Data
1.3K301
🏷️
3w ago

XML Label Renamer

XML Label Renamer batch-replaces a specified tag name across XML annotation files in a directory. Use it to update dataset labels such as changing old_label to new_label.
Automation
1.3K301