GroupDocs.Viewer


NameGroupDocs.Viewer JSON
Version 24.5 PyPI version JSON
download
home_pagehttps://products.groupdocs.com/viewer
SummaryGroupDocs.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.
upload_time2024-05-16 10:39:35
maintainerNone
docs_urlNone
authorGroupDocs
requires_python<3.12,>=3.5
licenseOther/Proprietary License
keywords viewer view file render api pdf docx xlsx pptx html png word excel powerpoint visio opendocument photoshop
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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`

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](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",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.5",
    "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": "win32",
    "description": "# File Viewer Python API\r\n\r\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/)\r\n\r\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)\r\n\r\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.\r\n\r\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.\r\n\r\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.\r\n\r\n## View API Features\r\n\r\nGroupDocs.Viewer for Python via .NET provides these popular features:\r\n- Rendering Documents\r\n  - Rendering to HTML\r\n  - Rendering to PNG or JPEG\r\n  - Rendering to PDF\r\n- Retrieving File Information\r\n  - File type, pages count, text with coordinates, etc.\r\n  - Text extraction\r\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.  \r\n- Processing attachments\r\n- Output transformation\r\n- Caching results\r\n\r\n\r\n## Supported File Formats\r\n\r\nWith GroupDocs.Viewer for Python via .NET, developers and applications can view files of the following categories: \r\n\r\n- CAD and 3D formats\r\n- Database formats\r\n- EBook formats\r\n- Microsoft Outlook and other Email formats\r\n- Image formats\r\n- Note-taking formats\r\n- Outlook data formats\r\n- PDF and Page Layout formats\r\n- Microsoft PowerPoint formats\r\n- Project Management formats\r\n- Microsoft Excel and other spreadsheet formats\r\n- Text and programming formats\r\n- Microsoft Visio formats\r\n- Web file formats\r\n- Microsoft Word formats\r\n\r\n## Platform Independence\r\n\r\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. \r\n\r\n## Get Started\r\n\r\nReady to try GroupDocs.Viewer for Python via .NET?\r\n\r\nFetch the package and install **GroupDocs.Viewer**. Run this command: `pip install groupdocs.viewer`\r\n\r\nIf you already have **GroupDocs.Viewer** installed and want to get the latest version, \r\nyou have to run `pip install --upgrade groupdocs.viewer` instead. \r\n\r\nCheck out GroupDocs.Viewer for Python for .NET [documentation](http://docs.groupdocs.com/viewer/python-net/)).  \r\n\r\n## View DOCX as PDF file\r\n\r\n```py\r\nimport groupdocs.viewer as gv\r\nimport groupdocs.viewer.options as gvo\r\n\r\n# Instantiate a Viewer object and load a DOCX file\r\nwith gv.Viewer(\"input.docx\") as viewer:\r\n    pdf_options = gvo.PdfViewOptions(\"output.pdf\")\r\n    # Save the DOCX file as PDF    \r\n    viewer.view(pdf_options)\r\n```\r\n\r\n## View DOCX as HTML file\r\n\r\n```py\r\nimport groupdocs.viewer as gv\r\nimport groupdocs.viewer.options as gvo\r\n\r\n# Instantiate a Viewer object and load a DOCX file\r\nwith gv.Viewer(\"input.docx\") as viewer:\r\n    html_options = gvo.HtmlViewOptions.for_embedded_resources(\"page_{0}.html\")\r\n    # Save the DOCX file as HTML    \r\n    viewer.view(html_options)\r\n```\r\n\r\n## View DOCX as PNG file\r\n\r\n```py\r\nimport groupdocs.viewer as gv\r\nimport groupdocs.viewer.options as gvo\r\n\r\n# Instantiate a Viewer object and load a DOCX file\r\nwith gv.Viewer(\"input.docx\") as viewer:\r\n    png_options = gvo.PngViewOptions(\"page_{0}.png\")\r\n    # Save the DOCX file as PNG    \r\n    viewer.view(png_options)\r\n```\r\n\r\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)\r\n\r\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.5",
    "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": "456b297c0c16b52292cba2165402cb24063d76d552987603b57e6f46bd5e1ccd",
                "md5": "432675a1b9ae197df95566a0d7203357",
                "sha256": "1a8497eb4d2c4107d2597f04f1684706af9df92b1f994204554dba3605742e5c"
            },
            "downloads": -1,
            "filename": "GroupDocs.Viewer-24.5-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "432675a1b9ae197df95566a0d7203357",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 86842539,
            "upload_time": "2024-05-16T10:39:35",
            "upload_time_iso_8601": "2024-05-16T10:39:35.945821Z",
            "url": "https://files.pythonhosted.org/packages/45/6b/297c0c16b52292cba2165402cb24063d76d552987603b57e6f46bd5e1ccd/GroupDocs.Viewer-24.5-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d2b1d485449c705f8953fc9bd75409b74ae4f18d47f66eb1a676c72d907735ff",
                "md5": "1c989b36dd0ce4b282e1f86238510dd4",
                "sha256": "6f2cb3e3a3854cee5f3c0b7c53c900245911bed78a88e192672cd9b82c42a052"
            },
            "downloads": -1,
            "filename": "GroupDocs.Viewer-24.5-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1c989b36dd0ce4b282e1f86238510dd4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 92052843,
            "upload_time": "2024-05-16T10:39:46",
            "upload_time_iso_8601": "2024-05-16T10:39:46.476042Z",
            "url": "https://files.pythonhosted.org/packages/d2/b1/d485449c705f8953fc9bd75409b74ae4f18d47f66eb1a676c72d907735ff/GroupDocs.Viewer-24.5-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-16 10:39:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "groupdocs.viewer"
}
        
Elapsed time: 0.28258s