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

If you already have GroupDocs.Viewer installed and want to get the latest version, you have to run pip install --upgrade groupdocs.viewer 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.5-py3-none-win_amd64.whl (92.1 MB view hashes)

Uploaded Python 3 Windows x86-64

groupdocs_viewer_net-24.5-py3-none-win32.whl (86.8 MB view hashes)

Uploaded Python 3 Windows x86

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