# File Redaction Python API
[Product Page](https://products.groupdocs.com/redaction/python-net/) | [Docs](https://docs.groupdocs.com/redaction/python-net/) | [Demos](https://products.groupdocs.app/redaction/family) | [API Reference](https://references.groupdocs.com/redaction/) | [Blog](https://blog.groupdocs.com/category/redaction/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/redaction) | [Temporary License](https://purchase.groupdocs.com/temporary-license) | [Release Notes](https://releases.groupdocs.com/redaction/python-net)
[GroupDocs.Redaction for Python via .NET](https://products.groupdocs.com/redaction/python-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](https://products.groupdocs.com/redaction/java/) or [GroupDocs.Redaction for .NET](https://products.groupdocs.com/redaction/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](http://docs.groupdocs.com/redaction/python-net/)).
## Add a Text Redaction to a Document
```py
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](https://products.groupdocs.com/redaction/python-net/) | [Docs](https://docs.groupdocs.com/redaction/python-net/) | [Demos](https://products.groupdocs.app/redaction/family) | [API Reference](https://references.groupdocs.com/redaction/) | [Blog](https://blog.groupdocs.com/category/redaction/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/redaction) | [Temporary License](https://purchase.groupdocs.com/temporary-license)
Raw data
{
"_id": null,
"home_page": "https://products.groupdocs.com/redaction",
"name": "groupdocs-redaction-net",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.14,>=3.5",
"maintainer_email": null,
"keywords": "redaction, document-redaction, text-redaction, metadata-redaction, image-redaction, pdf, word, excel, powerpoint, docx, xlsx, pptx",
"author": "GroupDocs",
"author_email": null,
"download_url": null,
"platform": "win32",
"description": "# File Redaction Python API\r\n\r\n[Product Page](https://products.groupdocs.com/redaction/python-net/) | [Docs](https://docs.groupdocs.com/redaction/python-net/) | [Demos](https://products.groupdocs.app/redaction/family) | [API Reference](https://references.groupdocs.com/redaction/) | [Blog](https://blog.groupdocs.com/category/redaction/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/redaction) | [Temporary License](https://purchase.groupdocs.com/temporary-license) | [Release Notes](https://releases.groupdocs.com/redaction/python-net)\r\n\r\n[GroupDocs.Redaction for Python via .NET](https://products.groupdocs.com/redaction/python-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.\r\n\r\n>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](https://products.groupdocs.com/redaction/java/) or [GroupDocs.Redaction for .NET](https://products.groupdocs.com/redaction/net/) to ensure full compatibility with your development environment.\r\n\r\n## View API Features\r\n\r\nGroupDocs.Redaction for Python via .NET provides these popular features:\r\n- Search and redact specific words or phrases with optional case sensitivity.\r\n- Apply redactions using regular expressions for advanced text pattern matching.\r\n- Implement custom redactions with support for AI-based logic.\r\n- Redact right-to-left languages such as Arabic and Hebrew.\r\n- Remove sensitive metadata fields using regular expressions.\r\n- Delete annotations, comments, and markup elements from documents.\r\n- Redact targeted cells or entire columns in Excel spreadsheets.\r\n- Mask specific areas of images (e.g., headers or footers) with a solid color box.\r\n- Process and redact content within PDFs and email attachments.\r\n- Use Optical Character Recognition (OCR) to detect and redact text inside images.\r\n- Remove selected pages from documents including PDFs, slides, and spreadsheets. \r\n\r\n\r\n## Supported File Formats\r\n\r\nWith GroupDocs.Redaction for Python via .NET enables developers to process files in widely used business formats: \r\n\r\n- Portable: PDF\r\n- Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF\r\n- Microsoft Excel: XLSX, XLSM, XLTM, XLT, XLTX, XLS, CSV\r\n- Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS\r\n- Image: JPG/JPEG, PNG, GIF, TIF/TIFF, BMP \r\n- Other: DJVU, RTF, CSV \r\n\r\n## Platform Independence\r\n\r\nGroupDocs.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. \r\n\r\n## Get Started\r\n\r\nReady to try GroupDocs.Redaction for Python via .NET?\r\n\r\nInstall **GroupDocs.Redaction** package with the following command: `pip install groupdocs-redaction-net`\r\n\r\nIf you already have it installed and want to upgrade to the latest version, run: `pip install --upgrade groupdocs-redaction-net` \r\n\r\nFor detailed usage and integration guidance, check out the [documentation](http://docs.groupdocs.com/redaction/python-net/)). \r\n\r\n## Add a Text Redaction to a Document\r\n\r\n```py\r\nimport groupdocs.redaction as gr\r\nimport groupdocs.redaction.redactions as grr\r\nfrom groupdocs.pydrawing import Color\r\n\r\n# Specify the redaction options\r\ncolor = Color.from_argb(128, 255, 0, 0)\r\nreplo = grr.ReplacementOptions(color)\r\nepred = grr.ExactPhraseRedaction(\"John Doe\", replo)\r\n\r\n# Load the document to be redacted\r\nwith gr.Redactor(\"document.pdf\") as redactor:\r\n\r\n # Apply the redaction\r\n result = redactor.apply(epred)\r\n\r\n # Save the redacted document\r\n redactor.save()\r\n```\r\n\r\n[Product Page](https://products.groupdocs.com/redaction/python-net/) | [Docs](https://docs.groupdocs.com/redaction/python-net/) | [Demos](https://products.groupdocs.app/redaction/family) | [API Reference](https://references.groupdocs.com/redaction/) | [Blog](https://blog.groupdocs.com/category/redaction/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/redaction) | [Temporary License](https://purchase.groupdocs.com/temporary-license)\r\n\r\n",
"bugtrack_url": null,
"license": "Other/Proprietary License",
"summary": "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.",
"version": "25.10",
"project_urls": {
"Homepage": "https://products.groupdocs.com/redaction"
},
"split_keywords": [
"redaction",
" document-redaction",
" text-redaction",
" metadata-redaction",
" image-redaction",
" pdf",
" word",
" excel",
" powerpoint",
" docx",
" xlsx",
" pptx"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0153e78ba54078e2aab2b0205b592fc6f76828175e39f54729bf933a462a0bf6",
"md5": "38d248a285e7395d287576672348cef4",
"sha256": "88dd6cc110ada2013db73f1667d505c8a3b6f5756193505c292d2522aeabac5f"
},
"downloads": -1,
"filename": "groupdocs_redaction_net-25.10-py3-none-macosx_10_14_x86_64.whl",
"has_sig": false,
"md5_digest": "38d248a285e7395d287576672348cef4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.5",
"size": 129613396,
"upload_time": "2025-10-06T13:02:30",
"upload_time_iso_8601": "2025-10-06T13:02:30.453124Z",
"url": "https://files.pythonhosted.org/packages/01/53/e78ba54078e2aab2b0205b592fc6f76828175e39f54729bf933a462a0bf6/groupdocs_redaction_net-25.10-py3-none-macosx_10_14_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "37656636fe5a27580bb198a94cad5225e77191ecbf1ec5e888f5d1e8f408990e",
"md5": "f87458ae0aa34aea672bf55ea747c8f2",
"sha256": "291f55d288ec32c53e5a54f815615be3a0efd3e61bfa827402c50619cdd62571"
},
"downloads": -1,
"filename": "groupdocs_redaction_net-25.10-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "f87458ae0aa34aea672bf55ea747c8f2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.5",
"size": 121865220,
"upload_time": "2025-10-06T13:02:31",
"upload_time_iso_8601": "2025-10-06T13:02:31.823045Z",
"url": "https://files.pythonhosted.org/packages/37/65/6636fe5a27580bb198a94cad5225e77191ecbf1ec5e888f5d1e8f408990e/groupdocs_redaction_net-25.10-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "762d0911021387687dfb73752e16ddedc4a1e5f01db1b15613dccb658d6bc95b",
"md5": "f1185b19c96be786a0394eca49a3e93d",
"sha256": "0eea3d876910f5d0d01f7244aabffe93ddd544f673056eed8f26fe31b6667f36"
},
"downloads": -1,
"filename": "groupdocs_redaction_net-25.10-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "f1185b19c96be786a0394eca49a3e93d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.5",
"size": 115283680,
"upload_time": "2025-10-06T12:44:10",
"upload_time_iso_8601": "2025-10-06T12:44:10.621494Z",
"url": "https://files.pythonhosted.org/packages/76/2d/0911021387687dfb73752e16ddedc4a1e5f01db1b15613dccb658d6bc95b/groupdocs_redaction_net-25.10-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "796ce4ea369a59893e86a90eb5dc95f2ca11b76419497020189cd8b7ed41af24",
"md5": "712ad28f565e0ec5e100cf6e63ec8de7",
"sha256": "9c3dc7a42d977bd01ad19c49c06b428c7eebfb2eb1acb286662a55c43ca237d8"
},
"downloads": -1,
"filename": "groupdocs_redaction_net-25.10-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "712ad28f565e0ec5e100cf6e63ec8de7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.5",
"size": 120899382,
"upload_time": "2025-10-06T12:44:33",
"upload_time_iso_8601": "2025-10-06T12:44:33.492958Z",
"url": "https://files.pythonhosted.org/packages/79/6c/e4ea369a59893e86a90eb5dc95f2ca11b76419497020189cd8b7ed41af24/groupdocs_redaction_net-25.10-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-06 13:02:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "groupdocs-redaction-net"
}