Top Features of GroupDocs.Redaction for Python via .NET

Clean Metadata from POWERPOINT with Python

Get better control over your files using Python tools that quickly remove hidden metadata.

Steps to Erase Metadata in Powerpoint

GroupDocs.Redaction lets your Python via .NET apps clean up metadata from documents in a few clicks.

  1. Create a Redactor instance and open your document.
  2. Pick which metadata fields to erase.
  3. Configure and apply redaction settings.
  4. Save the final version without the hidden data.
import groupdocs.redaction as gr
import groupdocs.redaction.redactions as grr

# Erase metadata from POWERPOINT

# Pick metadata to remove
redaction = grr.EraseMetadataRedaction(grr.MetadataFilters.ALL)

# Load file into redactor
with gr.Redactor("input.pptx") as redactor:

    # Clean and save document
    result = redactor.apply(redaction)
    redactor.save()
pip install groupdocs-redaction-net
click to copy
copied
More examples Documentation

Advanced Redaction for POWERPOINT

GroupDocs.Redaction for Python via .NET helps clean files by deleting sensitive content. Works with multiple file formats and data types.

Main Redaction Options

Erase Private Text

Search and remove words or phrases that shouldn’t be shared.

Cover Image Sections

Hide parts of images that contain private or sensitive visuals.

Wipe Metadata

Erase metadata fields like Author, Title, and Comments from your files.

How to Remove Hidden Metadata

This sample shows how to erase embedded metadata such as Author and Title from your POWERPOINT document.

Python

import groupdocs.redaction as gr
import groupdocs.redaction.options as gro
import groupdocs.redaction.redactions as grr
import groupdocs.pydrawing as grd

# Clear Author field
redaction_author = grr.MetadataSearchRedaction("[A-Za-z0-9 ]+", "GroupDocs Company")
redaction_author.filter = grr.MetadataFilters.AUTHOR

# Clear Title field
redaction_title = grr.MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs.Redaction Usage")
redaction_title.filter = grr.MetadataFilters.TITLE

# Open file in redactor
with gr.Redactor("source.pptx") as redactor:

    # Perform redaction
    redactions = [
      redaction_author,
      redaction_title
    ]
    result = redactor.apply(redactions)

    # Save updated file
    save_options = gro.SaveOptions()
    save_options.add_suffix = True
    save_options.rasterize_to_pdf = False
    result_path = redactor.save(save_options)
pip install groupdocs-redaction-net
click to copy
copied
More examples Documentation

Learn About GroupDocs.Redaction for Python via .NET

GroupDocs.Redaction is made for Python developers to help with redacting text, images, and metadata in POWERPOINT files.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Redaction for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Metadata Cleanup for POWERPOINT Using Python

Use Python to clear private data from POWERPOINT documents. Great for legal, business, and personal use.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English