Manage Documents Metadata using Python APIs

Retrieve, view and modify Microsoft Word, PowerPoint Presentations and PDF metadata using Aspose.Total for Python via .NET.

 Metadata via C# .NET  Metadata via Java  Metadata via C++  Metadata in Android Apps

 

Managing document metadata is an important aspect of organizing, categorizing, and tracking information associated with documents. Metadata provides additional context and details about a document, making it easier to search, retrieve, and manage. By effectively managing document metadata, organizations can enhance document organization, retrieval, and overall information management processes. This is particularly valuable in collaborative environments or when dealing with large document repositories.

Ways to Manage Document Metadata

  • Document Properties
  • Custom Metadata Fields
  • Metadata Standards
  • Document Management Systems (DMS)
  • Automated Metadata Extraction
  • Metadata Tagging
  • Version Control
  • Searchable Index
  • Metadata Templates
  • Regular Audits
  • Security and Access Controls
  • Retention Policies
  • Integration with Workflows
  • Training and Documentation

Manage Microsoft Word Document Metadata

Document metadata management using Aspose.Total for Python via .NET offers a powerful and efficient way to retrieve basic properties, advanced properties, and custom metadata specific to your needs without the need to write code from scratch:

Python Code - View Microsoft Word Document Metadata

doc = aw.Document(docs_base.my_dir + "Properties.docx")
print("1. Document name: 0", doc.original_file_name)
print("2. Built-in Properties")
for prop in doc.built_in_document_properties :
print("0 : 1", prop.name, prop.value)
print("3. Custom Properties")
for prop in doc.custom_document_properties :
print("0 : 1", prop.name, prop.value)

Python Code - Add Microsoft Word Document Properties

docMetadata = aw.Document(my_dir + "Properties.docx")
customProperties = docMetadata.custom_document_properties
if (customProperties.get_by_name("Authorized") != None) :
return
customProperties.add("Authorized", True)
customProperties.add("Authorized By", "John Smith")
customProperties.add("Authorized Date", datetime.today())
customProperties.add("Authorized Revision", doc.built_in_document_properties.revision_number)
customProperties.add("Authorized Amount", 123.45)