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
importcodecsfromgroupdocs.metadataimportMetadata,Constants,TarRootPackageencoding=codecs.getencoding('cp866')withMetadata(Constants.InputTar)asmetadata:root=metadata.get_root_package(TarRootPackage)print(root.tar_package.total_entries)forfileinroot.tar_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 namesprint(encoding.decode(file.raw_name))