# File Viewer Python API
[![banner](https://raw.githubusercontent.com/groupdocs/groupdocs.github.io/master/img/banners/groupdocs-viewer-python-net-banner.png)](https://releases.groupdocs.com/viewer/python-net/)
[Product Page](https://products.groupdocs.com/viewer/python-net/) | [Docs](https://docs.groupdocs.com/viewer/python-net/) | [Demos](https://products.groupdocs.app/viewer/family) | [API Reference](https://references.groupdocs.com/viewer/) | [Blog](https://blog.groupdocs.com/category/viewer/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/viewer) | [Temporary License](https://purchase.groupdocs.com/temporary-license)
[GroupDocs.Viewer for Python via .NET](https://products.groupdocs.com/viewer/python-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](https://products.groupdocs.app/viewer/pdf) 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](https://products.groupdocs.com/viewer/nodejs-java/), [GroupDocs.Viewer for Java](https://products.groupdocs.com/viewer/java/) and [GroupDocs.Viewer for .NET](https://products.groupdocs.com/viewer/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](http://docs.groupdocs.com/viewer/python-net/)).
## View DOCX as PDF file
```py
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
```py
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
```py
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](https://products.groupdocs.com/viewer/python-net/) | [Docs](https://docs.groupdocs.com/viewer/python-net/) | [Demos](https://products.groupdocs.app/viewer/family) | [API Reference](https://references.groupdocs.com/viewer/) | [Blog](https://blog.groupdocs.com/category/viewer/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/viewer) | [Temporary License](https://purchase.groupdocs.com/temporary-license)
Raw data
{
"_id": null,
"home_page": "https://products.groupdocs.com/viewer",
"name": "groupdocs-viewer-net",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.9",
"maintainer_email": null,
"keywords": "viewer, view, file, render, api, pdf, docx, xlsx, pptx, html, png, word, excel, powerpoint, visio, opendocument, photoshop",
"author": "GroupDocs",
"author_email": null,
"download_url": null,
"platform": "macos_arm64",
"description": "# File Viewer Python API\n\n[![banner](https://raw.githubusercontent.com/groupdocs/groupdocs.github.io/master/img/banners/groupdocs-viewer-python-net-banner.png)](https://releases.groupdocs.com/viewer/python-net/)\n\n[Product Page](https://products.groupdocs.com/viewer/python-net/) | [Docs](https://docs.groupdocs.com/viewer/python-net/) | [Demos](https://products.groupdocs.app/viewer/family) | [API Reference](https://references.groupdocs.com/viewer/) | [Blog](https://blog.groupdocs.com/category/viewer/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/viewer) | [Temporary License](https://purchase.groupdocs.com/temporary-license)\n\n[GroupDocs.Viewer for Python via .NET](https://products.groupdocs.com/viewer/python-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.\n\nWithout 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](https://products.groupdocs.app/viewer/pdf) that allows people to view their PDF documents online.\n\n>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](https://products.groupdocs.com/viewer/nodejs-java/), [GroupDocs.Viewer for Java](https://products.groupdocs.com/viewer/java/) and [GroupDocs.Viewer for .NET](https://products.groupdocs.com/viewer/net/), respectively.\n\n## View API Features\n\nGroupDocs.Viewer for Python via .NET provides these popular features:\n- Rendering Documents\n - Rendering to HTML\n - Rendering to PNG or JPEG\n - Rendering to PDF\n- Retrieving File Information\n - File type, pages count, text with coordinates, etc.\n - Text extraction\n - 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. \n- Processing attachments\n- Output transformation\n- Caching results\n\n\n## Supported File Formats\n\nWith GroupDocs.Viewer for Python via .NET, developers and applications can view files of the following categories: \n\n- CAD and 3D formats\n- Database formats\n- EBook formats\n- Microsoft Outlook and other Email formats\n- Image formats\n- Note-taking formats\n- Outlook data formats\n- PDF and Page Layout formats\n- Microsoft PowerPoint formats\n- Project Management formats\n- Microsoft Excel and other spreadsheet formats\n- Text and programming formats\n- Microsoft Visio formats\n- Web file formats\n- Microsoft Word formats\n\n## Platform Independence\n\nGroupDocs.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. \n\n## Get Started\n\nReady to try GroupDocs.Viewer for Python via .NET?\n\nFetch the package and install **GroupDocs.Viewer**. Run this command: `pip install groupdocs-viewer-net`\n\nIf you already have **GroupDocs.Viewer** installed and want to get the latest version, \nyou have to run `pip install --upgrade groupdocs-viewer-net` instead. \n\nCheck out GroupDocs.Viewer for Python for .NET [documentation](http://docs.groupdocs.com/viewer/python-net/)). \n\n## View DOCX as PDF file\n\n```py\nimport groupdocs.viewer as gv\nimport groupdocs.viewer.options as gvo\n\n# Instantiate a Viewer object and load a DOCX file\nwith gv.Viewer(\"input.docx\") as viewer:\n pdf_options = gvo.PdfViewOptions(\"output.pdf\")\n # Save the DOCX file as PDF \n viewer.view(pdf_options)\n```\n\n## View DOCX as HTML file\n\n```py\nimport groupdocs.viewer as gv\nimport groupdocs.viewer.options as gvo\n\n# Instantiate a Viewer object and load a DOCX file\nwith gv.Viewer(\"input.docx\") as viewer:\n html_options = gvo.HtmlViewOptions.for_embedded_resources(\"page_{0}.html\")\n # Save the DOCX file as HTML \n viewer.view(html_options)\n```\n\n## View DOCX as PNG file\n\n```py\nimport groupdocs.viewer as gv\nimport groupdocs.viewer.options as gvo\n\n# Instantiate a Viewer object and load a DOCX file\nwith gv.Viewer(\"input.docx\") as viewer:\n png_options = gvo.PngViewOptions(\"page_{0}.png\")\n # Save the DOCX file as PNG \n viewer.view(png_options)\n```\n\n[Product Page](https://products.groupdocs.com/viewer/python-net/) | [Docs](https://docs.groupdocs.com/viewer/python-net/) | [Demos](https://products.groupdocs.app/viewer/family) | [API Reference](https://references.groupdocs.com/viewer/) | [Blog](https://blog.groupdocs.com/category/viewer/) | [Search](https://search.groupdocs.com/) | [Free Support](https://forum.groupdocs.com/c/viewer) | [Temporary License](https://purchase.groupdocs.com/temporary-license)\n\n",
"bugtrack_url": null,
"license": "Other/Proprietary License",
"summary": "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.",
"version": "24.7",
"project_urls": {
"Homepage": "https://products.groupdocs.com/viewer"
},
"split_keywords": [
"viewer",
" view",
" file",
" render",
" api",
" pdf",
" docx",
" xlsx",
" pptx",
" html",
" png",
" word",
" excel",
" powerpoint",
" visio",
" opendocument",
" photoshop"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1b9cfc1ccea3de69d6d6e366b639147926bef9660d6d8f8ed40af681eba8d5cf",
"md5": "e345c0e0401c8a0c3288feb33ad04b67",
"sha256": "10487b50d2fbfc2033fdd2db50dcb2e479a13e259097e53609ce8f95814fc5a3"
},
"downloads": -1,
"filename": "groupdocs_viewer_net-24.7-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "e345c0e0401c8a0c3288feb33ad04b67",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.9",
"size": 147184933,
"upload_time": "2024-07-03T12:34:48",
"upload_time_iso_8601": "2024-07-03T12:34:48.823757Z",
"url": "https://files.pythonhosted.org/packages/1b/9c/fc1ccea3de69d6d6e366b639147926bef9660d6d8f8ed40af681eba8d5cf/groupdocs_viewer_net-24.7-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5e24426089d0e481cb3fcf81221bfea00d1707b684160d73ac9163f13121cb35",
"md5": "54d88fe4733a920173ddc4180541a892",
"sha256": "7ada3d7eb1643fb82c8f27f83a66e603da8dabce411969a1da67384554cbd709"
},
"downloads": -1,
"filename": "groupdocs_viewer_net-24.7-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "54d88fe4733a920173ddc4180541a892",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.9",
"size": 144107650,
"upload_time": "2024-07-03T12:36:16",
"upload_time_iso_8601": "2024-07-03T12:36:16.459464Z",
"url": "https://files.pythonhosted.org/packages/5e/24/426089d0e481cb3fcf81221bfea00d1707b684160d73ac9163f13121cb35/groupdocs_viewer_net-24.7-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "20dddcd9b6f3424d3a300f1bdab98f9fb93a77eb27fc262cecb8249a3affe8ea",
"md5": "382cdea76b4fd0b910d39202f89db581",
"sha256": "f3d26c4c3d7d23a354682108480441da2d7a71a54993047ce5e88348b626323c"
},
"downloads": -1,
"filename": "groupdocs_viewer_net-24.7-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "382cdea76b4fd0b910d39202f89db581",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.9",
"size": 149282260,
"upload_time": "2024-07-03T12:36:27",
"upload_time_iso_8601": "2024-07-03T12:36:27.779912Z",
"url": "https://files.pythonhosted.org/packages/20/dd/dcd9b6f3424d3a300f1bdab98f9fb93a77eb27fc262cecb8249a3affe8ea/groupdocs_viewer_net-24.7-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-03 12:34:48",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "groupdocs-viewer-net"
}