Python Document Viewer & Renderer SDK
Python APIs library to develop applications which can render & view all sorts of popular file formats. Render files as PDF, images or HTML5.Start Free Trial
GroupDocs.Viewer Cloud SDK for Python
Quickly get started using GroupDocs.Viewer Cloud with the help of GroupDocs.Viewer Cloud SDK for Python. The SDK is a modern, open-source Python library that makes it easy to integrate GroupDocs.Viewer Cloud API in your own Python applications. With the SDK, you can benefit from all the features of the API in a much easier and quicker manner. The SDK provides an abstraction over the "low-level" details of making requests and handling responses, for a simpler and more intuitive coding experience.
If you do not want to use any of our SDKs or the required SDK is not available at the moment, you can still easily get started with GroupDocs.Viewer REST API while using your favorite language & platform.
GroupDocs.Viewer Cloud SDK for Python requires Python 2.7 or 3.4 or later.
API Supported Document Formats
GroupDocs.Viewer Cloud SDK for Python supports a number of document formats.
- Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF
- Excel: XLS, XLSX, XLSM, XLSB, XLTX, XLTM
- PowerPoint: PPT, PPTX, PPS, PPSX, PPSM, POTM, PPTM, POTX
- Visio: VSD, VDX, VSS, VSX, VST, VTX, VSDX, VDW, VSSX, VSTX, VSDM, VSTM, VSSM
- Project: MPP, MPT
- Outlook: MSG, EML, PST, OST
- OneNote: ONE
- OpenDocument: ODT, OTT, ODS, ODP, OTP, OTS, ODG
- Apple Mail: EMLX
- Fixed Layout: PDF, XPS
- Image Files: BMP, GIF, JPG, PNG, TIFF, multi-page TIFF, WebP, DjVu, SVG, DNG
- Jpeg2000: JP2, J2C, J2K, JPF, JPX, JPM
- Web: HTML, MHT, MHTML
- Metafile: WMF, EMF, CGM
- Other: XML, TXT, CSV, TSV, TEX, DICOM, PCL, ICO, EPUB, MOBI
Advanced Document Viewer REST API Features
Render documents as HTML5
Render documents as image
Rotate, reorder & watermark pages
Render documents as PDF
Render document attachments
Get document information
Quick and Reliable Document Presentation
The cloud-based viewer API has the ability to display different document formats without compromising on the performance. Features of the API can be used via the SDK, with just a few lines of code.
Get Html representation of the document pages - Python
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required). app_sid = "XXX-XXXXXXX-XXXX" app_key = "XXXXXXXXXXXXX" # Create instance of the API api = groupdocs_viewer_cloud.ViewerApi.from_keys(app_sid, app_key) file = "template.docx" request = HtmlGetDocumentInfoRequest(file); response = api.html_get_document_info(request); print(response)
Quickly Get Started with Document Viewing REST API
Get started using GroupDocs.Viewer Cloud REST API with the GroupDocs.Viewer Cloud SDK for Python. It facilitates the users and speeds up the development of applications written in Python while taking care of low-level details of making requests and handling responses and lets the users focus on writing code specific to their particular project.
GroupDocs.Viewer Cloud SDK is 100% tested and out-of-the-box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of any charge.
GroupDocs.Viewer Cloud also offers individual document rendering SDKs for other popular languages as listed below: