1. GroupDocs Documentation
  2. /
  3. GroupDocs.Viewer Product Family
  4. /
  5. GroupDocs.Viewer for Python via .NET

GroupDocs.Viewer for Python via .NET

groupdocs-viewer-python-via-net-home PyPI package PyPI downloads

Release notes Download from PyPI Online app

GroupDocs.Viewer for Python via .NET is a high-performance document rendering library that lets you view 170+ file formats — including DOCX, XLSX, PPTX, PDF, CAD drawings, emails, archives, and images — by rendering them to HTML, PDF, PNG, or JPG. No third-party software required.

Quick example

from groupdocs.viewer import Viewer
from groupdocs.viewer.options import HtmlViewOptions

# Render a DOCX file to HTML with embedded resources
with Viewer("sample.docx") as viewer:
    viewer.view(HtmlViewOptions.for_embedded_resources("page_{0}.html"))

Features

  • 170+ File Formats: Render Microsoft Office, PDF, HTML, CAD, email, archives, images, and more.
  • Multiple Output Formats: Render documents to HTML, PDF, PNG, and JPG.
  • Embedded or External Resources: Produce self-contained HTML pages or HTML with separate CSS, fonts, and images.
  • Format Detection: Automatically detects the format of input files.
  • Cross-Platform: Works on Windows, Linux, and macOS.

Supported File Formats

GroupDocs.Viewer supports a wide range of file formats. For a complete list, see the full list of supported formats.

  • Microsoft Office (Word, Excel, PowerPoint)
  • PDF (Standard PDFs, PDF/A)
  • OpenDocument (ODT, ODS, ODP)
  • Images (JPEG, PNG, TIFF, GIF, BMP, PSD)
  • Email (EML, MSG, PST, OST)
  • eBook (EPUB, MOBI)
  • Text/Markdown (TXT, MD)
  • HTML/Web (HTML, MHTML, CHM)
  • AutoCAD (DWG, DXF, DWF)
  • Archives (ZIP, RAR, 7Z)

Getting Started

To get started, refer to the System Requirements, Supported File Formats, Installation, and Quick Start Guide sections for setup instructions.

Developer Guide

For practical code examples and explanations of basic and advanced rendering functions, see the Developer Guide section. This guide includes instructions on loading documents, retrieving document metadata, and performing document rendering.

Technical Support

If you experience any issues or have suggestions, please refer to the Technical Support topic. This topic provides multiple support channels tailored to your needs.

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.