GroupDocs.Metadata for Python via .NET is a metadata management API for documents that lets you create, preview, analyze, update, and remove meta information across all popular file formats. It takes a file as input, gives you access to its property information, and lets you perform metadata operations in a unified way regardless of the file format.
GroupDocs.Metadata supports over 170 popular file formats. Load text documents, spreadsheets, presentations, PDF files, email messages, and images.
Quick example
Install the package with pip install groupdocs-metadata-net, then read every metadata property from a document in a few lines:
fromgroupdocs.metadataimportMetadata# Open a file and read all of its detected metadata propertieswithMetadata("input.docx")asmetadata:forpropinmetadata.find_properties(lambdap:True):print(f"{prop.name} = {prop.value}")
See the Quick Start Guide for editing, removing, and exporting metadata.