Skip to main content

GroupDocs.Redaction is a comprehensive API designed to remove or mask classified or sensitive content from a wide range of document formats within your applications. It supports various redaction types, including text, metadata, annotations, and images. GroupDocs.Redaction is highly versatile and supports over 50 document types, making it an essential tool for organizations that handle sensitive data.

Project description

File Redaction Python API

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License | Release Notes

GroupDocs.Redaction for Python via .NET is a powerful API designed to remove or mask classified or sensitive content from a wide range of document formats within your .NET applications. It supports various redaction types, including text, metadata, annotations, and images. The API also integrates with OCR engines to redact text within images and offers the ability to remove entire pages or embedded images, ensuring thorough protection of confidential information. GroupDocs.Redaction is highly versatile and supports over 50 document types, making it an essential tool for organizations that handle sensitive data.

GroupDocs.Redaction for Python is intended for use with the Python programming language. If you are working with Java or .NET, we recommend using GroupDocs.Redaction for Java or GroupDocs.Redaction for .NET to ensure full compatibility with your development environment.

View API Features

GroupDocs.Redaction for Python via .NET provides these popular features:

  • Search and redact specific words or phrases with optional case sensitivity.
  • Apply redactions using regular expressions for advanced text pattern matching.
  • Implement custom redactions with support for AI-based logic.
  • Redact right-to-left languages such as Arabic and Hebrew.
  • Remove sensitive metadata fields using regular expressions.
  • Delete annotations, comments, and markup elements from documents.
  • Redact targeted cells or entire columns in Excel spreadsheets.
  • Mask specific areas of images (e.g., headers or footers) with a solid color box.
  • Process and redact content within PDFs and email attachments.
  • Use Optical Character Recognition (OCR) to detect and redact text inside images.
  • Remove selected pages from documents including PDFs, slides, and spreadsheets.

Supported File Formats

With GroupDocs.Redaction for Python via .NET enables developers to process files in widely used business formats:

  • Portable: PDF
  • Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
  • Microsoft Excel: XLSX, XLSM, XLTM, XLT, XLTX, XLS, CSV
  • Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
  • Image: JPG/JPEG, PNG, GIF, TIF/TIFF, BMP
  • Other: DJVU, RTF, CSV

Platform Independence

GroupDocs.Redaction for Python via .NET supports the development of 32-bit and 64-bit applications across multiple operating systems, including Windows, Linux, and macOS, where Python 3.5 or later is installed.

Get Started

Ready to try GroupDocs.Redaction for Python via .NET?

Install GroupDocs.Redaction package with the following command: pip install groupdocs-redaction-net

If you already have it installed and want to upgrade to the latest version, run: pip install --upgrade groupdocs-redaction-net

For detailed usage and integration guidance, check out the documentation).

Add a Text Redaction to a Document

import groupdocs.redaction as gr
import groupdocs.redaction.redactions as grr
from groupdocs.pydrawing import Color

# Specify the redaction options
color = Color.from_argb(128, 255, 0, 0)
replo = grr.ReplacementOptions(color)
epred = grr.ExactPhraseRedaction("John Doe", replo)

# Load the document to be redacted
with gr.Redactor("document.pdf") as redactor:

    # Apply the redaction
    result = redactor.apply(epred)

    # Save the redacted document
    redactor.save()

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

groupdocs_redaction_net-25.10-py3-none-win_amd64.whl (120.9 MB view details)

Uploaded Python 3Windows x86-64

groupdocs_redaction_net-25.10-py3-none-win32.whl (115.3 MB view details)

Uploaded Python 3Windows x86

groupdocs_redaction_net-25.10-py3-none-macosx_11_0_arm64.whl (121.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

groupdocs_redaction_net-25.10-py3-none-macosx_10_14_x86_64.whl (129.6 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

File details

Details for the file groupdocs_redaction_net-25.10-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for groupdocs_redaction_net-25.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9c3dc7a42d977bd01ad19c49c06b428c7eebfb2eb1acb286662a55c43ca237d8
MD5 712ad28f565e0ec5e100cf6e63ec8de7
BLAKE2b-256 796ce4ea369a59893e86a90eb5dc95f2ca11b76419497020189cd8b7ed41af24

See more details on using hashes here.

File details

Details for the file groupdocs_redaction_net-25.10-py3-none-win32.whl.

File metadata

File hashes

Hashes for groupdocs_redaction_net-25.10-py3-none-win32.whl
Algorithm Hash digest
SHA256 0eea3d876910f5d0d01f7244aabffe93ddd544f673056eed8f26fe31b6667f36
MD5 f1185b19c96be786a0394eca49a3e93d
BLAKE2b-256 762d0911021387687dfb73752e16ddedc4a1e5f01db1b15613dccb658d6bc95b

See more details on using hashes here.

File details

Details for the file groupdocs_redaction_net-25.10-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for groupdocs_redaction_net-25.10-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 291f55d288ec32c53e5a54f815615be3a0efd3e61bfa827402c50619cdd62571
MD5 f87458ae0aa34aea672bf55ea747c8f2
BLAKE2b-256 37656636fe5a27580bb198a94cad5225e77191ecbf1ec5e888f5d1e8f408990e

See more details on using hashes here.

File details

Details for the file groupdocs_redaction_net-25.10-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for groupdocs_redaction_net-25.10-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 88dd6cc110ada2013db73f1667d505c8a3b6f5756193505c292d2522aeabac5f
MD5 38d248a285e7395d287576672348cef4
BLAKE2b-256 0153e78ba54078e2aab2b0205b592fc6f76828175e39f54729bf933a462a0bf6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page