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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for groupdocs_viewer_net-24.7-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d26c4c3d7d23a354682108480441da2d7a71a54993047ce5e88348b626323c |
|
MD5 | 382cdea76b4fd0b910d39202f89db581 |
|
BLAKE2b-256 | 20dddcd9b6f3424d3a300f1bdab98f9fb93a77eb27fc262cecb8249a3affe8ea |
Hashes for groupdocs_viewer_net-24.7-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ada3d7eb1643fb82c8f27f83a66e603da8dabce411969a1da67384554cbd709 |
|
MD5 | 54d88fe4733a920173ddc4180541a892 |
|
BLAKE2b-256 | 5e24426089d0e481cb3fcf81221bfea00d1707b684160d73ac9163f13121cb35 |
Hashes for groupdocs_viewer_net-24.7-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10487b50d2fbfc2033fdd2db50dcb2e479a13e259097e53609ce8f95814fc5a3 |
|
MD5 | e345c0e0401c8a0c3288feb33ad04b67 |
|
BLAKE2b-256 | 1b9cfc1ccea3de69d6d6e366b639147926bef9660d6d8f8ed40af681eba8d5cf |