OpenParable
Skip to content
← Back to skills

Qrcodetools

Documents
qrcodetools

Qrcodetools is an Agent Skill for documents published in the CoderWanFeng/python-office repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

根据 URL 生成对应的二维码图片。当用户提到生成二维码、做二维码、QR 码、生二维码时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CoderWanFeng/python-office/blob/HEAD/skills/tools/qrcodetools/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/qrcodetools, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

qrcodetools Skill

生成二维码图片

功能描述

根据给定的 URL 生成对应的二维码图片。

所属分类

office/skills/tools/qrcodetools/

调用方式

from office.skills.tools import qrcodetools

qrcodetools(
    url='https://www.python-office.com',
    output='./qrcode.png'
)

参数说明

参数类型必填默认值说明
urlstr是-用于生成二维码的 URL 地址
outputstr否'./qrcode_img.png'生成的二维码图片保存路径

返回值

None

使用示例

from office.skills.tools import qrcodetools
qrcodetools(url='https://www.python-office.com', output='./my_qrcode.png')

原始函数

office.api.tools.qrcodetools