GroupDocs.Metadata for Python via .NET lets you read basic file information — format, extension, MIME type, page count, size, and encryption state....which includes: File format (detected by the internal structure)...: # Read basic information detected from the file's internal structure...