Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. (inherited from MetadataPackage)
The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
Example
fromgroupdocs.metadataimportMetadata,Constantsfromgroupdocs.metadata.formats.archiveimportBz2RootPackage# Load metadata from a BZ2 archivewithMetadata(Constants.InputBz2)asmetadata:root=metadata.get_root_package(Bz2RootPackage)print(root.bz2_package.total_entries)forfileinroot.bz2_package.files:print(file.name)print(file.compressed_size)print(file.modification_date_time)print(file.uncompressed_size)# Use a specific encoding for the file names (code page 866)print(file.raw_name.decode('cp866'))