Key Features of GroupDocs.Redaction for Python via .NET

Remove Hidden Metadata in EXCEL with Python

Take control of your EXCEL files with Python. Get rid of unwanted data to keep your files private.

Steps to Clean Metadata in Excel Files

In your Python via .NET apps, GroupDocs.Redaction helps remove metadata in just a few steps.

  1. Start a Redactor and open the Excel file.
  2. Choose metadata fields to remove.
  3. Run the redaction process.
  4. Export the final file.
import groupdocs.redaction as gr
import groupdocs.redaction.redactions as grr

# Remove hidden data in EXCEL

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

# Open your file with redactor
with gr.Redactor("input.xslx") as redactor:

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

Clean All Types of Sensitive Data

GroupDocs.Redaction for Python via .NET gives you tools to erase metadata, text, and images in many formats. Perfect for secure document sharing.

Metadata and Privacy Tools

Remove Private Text

Detect and delete personal or hidden information from your documents.

Mask Image Details

Cover parts of images to block out private visuals.

Clean Metadata

Erase hidden metadata fields that could contain sensitive data.

Remove Author and Title Metadata

See how GroupDocs.Redaction for Python via .NET clears specific metadata fields from EXCEL documents.

Python

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

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

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

# Open document for redaction
with gr.Redactor("source.xslx") as redactor:

    # Apply changes
    redactions = [
      redaction_author,
      redaction_title
    ]
    result = redactor.apply(redactions)

    # Save cleaned document
    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

Get to Know GroupDocs.Redaction for Python via .NET

GroupDocs.Redaction is built for Python developers who need to clean and protect EXCEL files. Remove unwanted metadata, text, and images easily.
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.

Clean Metadata in EXCEL with Python

Use Python to remove sensitive metadata from your EXCEL files. Secure content before sharing.

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