Skip to main content

GroupDocs.Viewer for Python via .NET is a robust document viewer API that supports over 180 file types and enables developers to easily render files to various formats, such as PDF, HTML, JPG, or PNG.

Project description

File Viewer Python API

banner

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License

GroupDocs.Viewer for Python via .NET is a powerful on-premise class library for rendering files into PDF, HTML or image formats. With this API, developers and applications are capable to convert / render files without relying on any other third-party software and services. With this API, you can seamlessly render a wide range of file types, including popular OpenDocument and Microsoft Office formats like DOCS, XLSX, and PPTX, as well as specialized CAD and graphic editor files like DWG, DXF, PSD, AI, and CDR.

Without having to install any 3rd party component, you can use GroupDocs.Viewer to build different types applications. For example, GroupDocs, using its own APIs, developed a free web application that allows people to view their PDF documents online.

GroupDocs.Viewer for Python requires you to use python programming language. For Node.js, Java and .NET languages, we recommend you get GroupDocs.Viewer for Node.js, GroupDocs.Viewer for Java and GroupDocs.Viewer for .NET, respectively.

View API Features

GroupDocs.Viewer for Python via .NET provides these popular features:

  • Rendering Documents
    • Rendering to HTML
    • Rendering to PNG or JPEG
    • Rendering to PDF
  • Retrieving File Information
    • File type, pages count, text with coordinates, etc.
    • Text extraction
    • Format specific info like - document printing restrictions for PDF, list of layers and layouts in a CAD document, list of folders contained in an Outlook data file etc.
  • Processing attachments
  • Output transformation
  • Caching results

Supported File Formats

With GroupDocs.Viewer for Python via .NET, developers and applications can view files of the following categories:

  • CAD and 3D formats
  • Database formats
  • EBook formats
  • Microsoft Outlook and other Email formats
  • Image formats
  • Note-taking formats
  • Outlook data formats
  • PDF and Page Layout formats
  • Microsoft PowerPoint formats
  • Project Management formats
  • Microsoft Excel and other spreadsheet formats
  • Text and programming formats
  • Microsoft Visio formats
  • Web file formats
  • Microsoft Word formats

Platform Independence

GroupDocs.Viewer for Python via .NET can be used to develop 32-bit and 64-bit applications for different operating systems (such as Windows, Linux and macOS) where Python 3.5 or later is installed.

Get Started

Ready to try GroupDocs.Viewer for Python via .NET?

Fetch the package and install GroupDocs.Viewer. Run this command: pip install groupdocs-viewer-net

If you already have GroupDocs.Viewer installed and want to get the latest version, you have to run pip install --upgrade groupdocs-viewer-net instead.

Check out GroupDocs.Viewer for Python for .NET documentation).

View DOCX as PDF file

import groupdocs.viewer as gv
import groupdocs.viewer.options as gvo

# Instantiate a Viewer object and load a DOCX file
with gv.Viewer("input.docx") as viewer:
    pdf_options = gvo.PdfViewOptions("output.pdf")
    # Save the DOCX file as PDF    
    viewer.view(pdf_options)

View DOCX as HTML file

import groupdocs.viewer as gv
import groupdocs.viewer.options as gvo

# Instantiate a Viewer object and load a DOCX file
with gv.Viewer("input.docx") as viewer:
    html_options = gvo.HtmlViewOptions.for_embedded_resources("page_{0}.html")
    # Save the DOCX file as HTML    
    viewer.view(html_options)

View DOCX as PNG file

import groupdocs.viewer as gv
import groupdocs.viewer.options as gvo

# Instantiate a Viewer object and load a DOCX file
with gv.Viewer("input.docx") as viewer:
    png_options = gvo.PngViewOptions("page_{0}.png")
    # Save the DOCX file as PNG    
    viewer.view(png_options)

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

groupdocs_viewer_net-24.9-py3-none-win_amd64.whl (160.4 MB view details)

Uploaded Python 3 Windows x86-64

groupdocs_viewer_net-24.9-py3-none-win32.whl (156.1 MB view details)

Uploaded Python 3 Windows x86

groupdocs_viewer_net-24.9-py3-none-macosx_11_0_arm64.whl (160.0 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

File details

Details for the file groupdocs_viewer_net-24.9-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for groupdocs_viewer_net-24.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d27cdff7647caca4566e6c1cac21b3a7bee57a462d38120f013bb439e6507785
MD5 08c29cefcb916516a9409f60e9302c9d
BLAKE2b-256 a7f6b56e72cc6dd75d96a3563bb864b58ca3b5d8f8958df6e5fbf9baa4430933

See more details on using hashes here.

File details

Details for the file groupdocs_viewer_net-24.9-py3-none-win32.whl.

File metadata

File hashes

Hashes for groupdocs_viewer_net-24.9-py3-none-win32.whl
Algorithm Hash digest
SHA256 939c4f7f5510c84b8a3fb01c5cb6a54f95119477a679548844499d952d032cba
MD5 cc4b387cfadb753587bf2beee603861e
BLAKE2b-256 f2ae6b9c62d11a1b2bc5a9600329a3b7e60a8888558b98943e880a37656fa1bd

See more details on using hashes here.

File details

Details for the file groupdocs_viewer_net-24.9-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for groupdocs_viewer_net-24.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4145c97e912f86a3b0b02ff029618ec2afed47dd024f9fd9ce4c1cd17f127a7
MD5 c221604ceae1c4b67d3191fc9a5daca2
BLAKE2b-256 983937940a01c65a68be37afe2193458041c5eb8c51b027bf38bdd27a8efc88c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page