# GroupDocs.Viewer for Python via .NET Native Python library that renders 190+ file formats — DOCX, PDF, XLSX, PPTX, CAD, email, archives, images — to HTML, PDF, PNG, or JPG on Windows, Linux, and macOS. No Microsoft Office or Adobe Acrobat required. groupdocs-viewer-python-net-home PyPI package PyPI downloads {{< button style="primary" link="https://releases.groupdocs.com/viewer/python-net/release-notes/" >}} Release notes {{< /button >}} {{< button style="primary" link="https://pypi.org/project/groupdocs-viewer-net/" >}} {{< icon "gdoc_download" >}} Download from PyPI {{< /button >}} {{< button style="primary" link="https://products.groupdocs.app/viewer/family" >}} Online app {{< /button >}} [GroupDocs.Viewer for Python via .NET](https://products.groupdocs.com/viewer/python-net/) is a high-performance document rendering library that lets you view 190+ 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 ```python 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 - **190+ 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]({{< ref "viewer/python-net/getting-started/supported-document-formats.md" >}}). - **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]({{< ref "viewer/python-net/getting-started/system-requirements.md" >}}), [Supported File Formats]({{< ref "viewer/python-net/getting-started/supported-document-formats.md" >}}), [Installation]({{< ref "viewer/python-net/getting-started/installation" >}}), and [Quick Start Guide]({{< ref "viewer/python-net/getting-started/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]({{< ref "viewer/python-net/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]({{< ref "viewer/python-net/technical-support" >}}) topic. This topic provides multiple support channels tailored to your needs.