Skip to main content

py3office

⏰ 提供python3版本的自动化办公常用处理方法

GitHub repo stars

使用

安装

确保已安装 Python 3,然后通过 pip 安装:

pip3 install py3office

可视化界面

安装完成后,在命令行中执行:

py3office

即可启动可视化界面,快速完成日常办公中的常用文件转换,目前支持:

  • PDF 转图片:选择一份或多份 PDF 文件,批量转换为图片
  • 图片转 PDF:选择一张或多张图片,合并拼接为一个 PDF 文件

等。转换过程中会弹出任务进度窗口,实时展示每个文件的转换状态。

作为基础库使用

除了在可视化界面中使用,py3office 也可以作为基础库集成到你自己的 Python 项目中,下面列出所有可用内容:

例如在代码中将 PDF 转换为图片:

from py3office import pdf

pdf.toImage("example.pdf", "./output")

版权

MIT License

Copyright (c) zxl20070701 走一步,再走一步

Metadata

Release files for py3office 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py3office 0.4.0
File Size Uploaded Provenance Actions
py3office-0.4.0.tar.gz 24.2 kB Without provenance Details for py3office-0.4.0.tar.gz

Release files / py3office-0.4.0.tar.gz

Download URL py3office-0.4.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d0e4079144d18975223cb21e67b61921117123a397b8e16bfb825626d2bebd8a
BLAKE2b-256 checksum
How to use checksums
2dac212ce280981cb6c086d53ce72ed8b36bd61ef0bd1c02c032724c66196f72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for py3office 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page