用 Python 以编程方式编辑文档

8月 1, 2025
GroupDocs.Redaction for Python via .NET 允许开发人员删除或屏蔽 PDF、Word 文件、图像等中的机密内容。

继续用英语阅读:

GroupDocs.Redaction for Python via .NET is a powerful, cross-platform API designed to enable Python developers to remove sensitive or confidential information from documents by leveraging the GroupDocs.Redaction engine built on .NET. It provides a unified interface for redacting text, metadata, annotations, images, spreadsheets, and even scanned content using optical character recognition (OCR) across more than 50 file types, including PDFs, Microsoft Office formats, OpenDocument formats, and common images.

By integrating GroupDocs.Redaction for Python via .NET, organizations benefit from a comprehensive and format-agnostic solution for sanitizing documents in Python-based workflows. It supports precise control through exact phrase, regex, metadata, annotation, and image-area redactions, plus filters for defining page ranges and regions. OCR integration allows secure redaction of scanned and image-based documents. Users can export redacted files either in their original format for further editing or as rasterized PDFs to prevent text extraction. The API is well-suited for automating compliance-related tasks in legal, healthcare, finance, or government systems. It also simplifies bulk processing with redaction policies, protects sensitive metadata, and ensures redaction consistency across diverse file types, all without requiring additional software dependencies.

GroupDocs.Redaction for Python via .NET is offered as Developer Small Business, Developer OEM, Site Small Business, and Site OEM licenses catering to a range of business needs. Licenses are perpetual, and include 1 year of support and maintenance. Subscription renewals are also available. See our GroupDocs.Redaction for Python via .NET licensing page for full details.

GroupDocs.Redaction for Python via .NET is available individually or as part of the following products: