Skip to content

groupdocs-viewer/GroupDocs.Viewer-for-Python-via-.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupDocs.Viewer for Python via .NET - Code Examples

banner

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License

GroupDocs.Viewer for Python via .NET is a document rendering API that lets you easily render the most popular file formats, including DOCX, XLSX, PPTX, PDF, CAD drawings, and many more.

Features

  • Wide Format Support: Supports rendering of popular formats like Microsoft Office, PDF, HTML, and more.
  • Multiple Output Formats: Render documents to HTML, PDF, PNG, JPEG, and other formats.
  • Format Detection: Automatically detects the format of input files.

Supported File Formats

GroupDocs.Viewer for Python via .NET supports a wide range of file formats, including Word, Excel, PowerPoint, PDF, OpenDocument, Image, Email, and many others. See the full list of supported formats for details.

Get Started

  1. Set up the environment: Make sure Python 3.5–3.13 is installed on your system.

  2. Get the Code: Clone or download this repository.

    git clone [email protected]:groupdocs-viewer/GroupDocs.Viewer-for-Python-via-.NET.git
  3. Navigate to the Examples Folder

    cd ./GroupDocs.Viewer-for-Python-via-.NET/Examples
  4. Set up the virtual environment: Create a virtual environment using Python 3.13.

    py -3.13 -m venv .venv

    On Windows, activate the virtual environment:

    .venv\Scripts\activate

    On Linux/macOS, activate the virtual environment:

    source .venv/bin/activate
  5. Install Package: To install the package, run pip install -r requirements.txt. We typically keep the package up to date with the latest version. If you need to use a different package version, you can update the requirements.txt file accordingly.

    Alternatively, you can download the whl file for your operating system from the official GroupDocs Releases website. To install the package manually, copy the whl file to the Examples directory and run the following command:

    pip install ./groupdocs_viewer_net-*.whl
  6. Configure License (Optional): If you have a license file, you can set the license path in the run_all_examples.py file. By default, GroupDocs.Viewer for Python via .NET checks for the GROUPDOCS_LIC_PATH environment variable or looks for files with the .lic extension in the project's root directory. You can also get a temporary license to test all the features.

  7. Run the Examples: To run all the examples, execute the following command:

    python ./run_all_examples.py

    You can also run individual examples by navigating to the folder containing the example script and running it. Output files are placed in the same folder as the script file.

More Resources

Find additional details and examples in the GroupDocs.Viewer for Python via .NET documentation.

We also offer GroupDocs.Viewer packages for other platforms:


Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License

About

GroupDocs.Viewer for Python via .NET - Code Examples and Demo Apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •