From 65453c0c796209cbc27a9c72561d15e04c898a84 Mon Sep 17 00:00:00 2001 From: Rakhim Aimaganbetov Date: Wed, 29 May 2024 18:25:23 +0500 Subject: [PATCH 1/5] update python-net installation & sys requirements --- python-net/getting-started/installation.md | 11 +++++++++++ python-net/getting-started/system-requirements.md | 9 +++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/python-net/getting-started/installation.md b/python-net/getting-started/installation.md index e32f5ad..37abdff 100644 --- a/python-net/getting-started/installation.md +++ b/python-net/getting-started/installation.md @@ -19,3 +19,14 @@ All Python packages are hosted at [PyPI](https://pypi.org/project/groupdocs-vie pip install groupdocs-viewer-net ``` +## Download GroupDocs.Viewer from the official website + +Visit [https://releases.groupdocs.com/viewer/python-net/](https://releases.groupdocs.com/viewer/net/) and download the **GroupDocs.Viewer** assemblies as a ZIP archive. + +1. Download the Wheel File: On the download page, locate the latest version of the **GroupDocs.Viewer** package. +Click on the download link to download the wheel file containing the package. +2. Choose the destination folder where you want to place the package. +3. Install package via pip using downloaded package. For example, +```batch +pip install .../groupdocs_viewer_net-24.5-py3-none-win32.whl +``` diff --git a/python-net/getting-started/system-requirements.md b/python-net/getting-started/system-requirements.md index 3cbc7f4..cf574ca 100644 --- a/python-net/getting-started/system-requirements.md +++ b/python-net/getting-started/system-requirements.md @@ -22,7 +22,7 @@ GroupDocs.Viewer for Python via .NET does not require any external software to b ## Supported Operating Systems -GroupDocs.Viewer for Python can be used on any 32-bit or 64-bit operating system where .NET is installed including, but not limited to: +GroupDocs.Viewer for Python can be used on any 32-bit or 64-bit operating system where .NET 6 is installed including, but not limited to: ### Windows @@ -33,13 +33,10 @@ GroupDocs.Viewer for Python can be used on any 32-bit or 64-bit operating system * Microsoft Windows 10 (x64, x86) * Microsoft Windows 11 (x64) -### Linux -* Linux (Ubuntu, OpenSUSE, CentOS and others) +## Supported Frameworks and Target Runtimes -### Mac - -* Mac OS X +GroupDocs.Viewer for Python supports .NET Framework and .NET platforms. Current version supports .NET Framework 4.6.2 and above, .NET 6 and above. ## Development Environments From 482c8d8f92a85d21dc869b8e0a16b54c5caddde1 Mon Sep 17 00:00:00 2001 From: Rakhim Aimaganbetov Date: Thu, 30 May 2024 12:44:40 +0500 Subject: [PATCH 2/5] update python-net installation guide --- python-net/getting-started/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-net/getting-started/installation.md b/python-net/getting-started/installation.md index 37abdff..00006dc 100644 --- a/python-net/getting-started/installation.md +++ b/python-net/getting-started/installation.md @@ -21,7 +21,7 @@ pip install groupdocs-viewer-net ## Download GroupDocs.Viewer from the official website -Visit [https://releases.groupdocs.com/viewer/python-net/](https://releases.groupdocs.com/viewer/net/) and download the **GroupDocs.Viewer** assemblies as a ZIP archive. +Visit [https://releases.groupdocs.com/viewer/python-net/](https://releases.groupdocs.com/viewer/net/) and download the **GroupDocs.Viewer** assemblies. 1. Download the Wheel File: On the download page, locate the latest version of the **GroupDocs.Viewer** package. Click on the download link to download the wheel file containing the package. From cdf8c0fa7f42fd9fac8e6e4de36a8c4382d12850 Mon Sep 17 00:00:00 2001 From: Rakhim Aimaganbetov Date: Thu, 30 May 2024 13:23:30 +0500 Subject: [PATCH 3/5] Hello world page added & pages were reordered --- .../getting-started/features-overview.md | 2 +- python-net/getting-started/hello-world.md | 37 +++++++++++++++++++ .../getting-started/how-to-run-examples.md | 2 +- python-net/getting-started/installation.md | 2 +- .../supported-document-formats.md | 2 +- .../getting-started/system-requirements.md | 2 +- 6 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 python-net/getting-started/hello-world.md diff --git a/python-net/getting-started/features-overview.md b/python-net/getting-started/features-overview.md index c7c302d..21e8964 100644 --- a/python-net/getting-started/features-overview.md +++ b/python-net/getting-started/features-overview.md @@ -2,7 +2,7 @@ id: features-overview url: viewer/python-net/features-overview title: Features overview -weight: 1 +weight: 3 description: "With GroupDocs.Viewer for Python you can render files to HTML, PNG, JPEG and PDF formats, list and save attachments, embedded files and compressed files, and extract document text." keywords: render files,viewer,html,PNG,JPEG,PDF productName: GroupDocs.Viewer for Python via .NET diff --git a/python-net/getting-started/hello-world.md b/python-net/getting-started/hello-world.md new file mode 100644 index 0000000..5df578c --- /dev/null +++ b/python-net/getting-started/hello-world.md @@ -0,0 +1,37 @@ +--- +id: hello-world +url: viewer/python-net/hello-world +title: Hello, World! +second_title: A simple example of how to use GroupDocs.Viewer for Python via .NET +linkTitle: Hello World +weight: 2 +keywords: installation, maven +description: ""Render files, list and save attachments in any supported format using GroupDocs.Viewer for Python via .NET to experience its simplicity and power in Python." +productName: GroupDocs.Viewer for Python via .NET +hideChildren: False +toc: True +--- + +A "Hello, World!" code is often the first simple example to write uisng "GroupDocs.Viewer for Python via .NET", and it can also be used as a sanity test to ensure the software intended to compile or run source code is correctly installed. + +"GroupDocs.Viewer for Python via .NET" library allows you to render documents in various formats as HTML, PDF, JPEG, and PNG files. There are many other file formats are [supported](/viewer/python-net/supported-document-formats/). + +Below code snippet follows these steps: + +1. Import GroupDocs.Viewer +2. Import GroupDocs.Viewer.Options class +3. Initialize a GroupDocs.Viewer passing path to sample document +4. Initialize an HtmlViewOptions passing file name format of output to render sample document to HTML format +5. Call view() method to render the sample document + +The following code snippet is a "Hello, World!" example to exhibit working of "GroupDocs.Viewer for Python via .NET" API: + +```python +import groupdocs.viewer as gv +import groupdocs.viewer.options as gvo + +def run(): + with gv.Viewer("sample.docx") as viewer: + options = gvo.HtmlViewOptions.for_embedded_resources("page_{0}.html") + viewer.view(options) +``` \ No newline at end of file diff --git a/python-net/getting-started/how-to-run-examples.md b/python-net/getting-started/how-to-run-examples.md index feb347c..01327bd 100644 --- a/python-net/getting-started/how-to-run-examples.md +++ b/python-net/getting-started/how-to-run-examples.md @@ -2,7 +2,7 @@ id: how-to-run-examples url: viewer/python-net/how-to-run-examples title: How to run examples -weight: 6 +weight: 7 description: "How to run examples." keywords: "groupdocs viewer python, examples, npm, eclipse ide" productName: GroupDocs.Viewer for Python via .NET diff --git a/python-net/getting-started/installation.md b/python-net/getting-started/installation.md index 00006dc..542a141 100644 --- a/python-net/getting-started/installation.md +++ b/python-net/getting-started/installation.md @@ -3,7 +3,7 @@ id: installation url: viewer/python-net/installation title: Install GroupDocs.Viewer for Python via .NET linkTitle: Installation -weight: 4 +weight: 1 keywords: installation, maven description: "This topic describes how to install GroupDocs.Viewer for Python." productName: GroupDocs.Viewer for Python via .NET diff --git a/python-net/getting-started/supported-document-formats.md b/python-net/getting-started/supported-document-formats.md index 5d28bf5..ea622d5 100644 --- a/python-net/getting-started/supported-document-formats.md +++ b/python-net/getting-started/supported-document-formats.md @@ -2,7 +2,7 @@ id: supported-document-formats url: viewer/python-net/supported-document-formats title: Supported file formats -weight: 2 +weight: 4 keywords: file formats, Microsoft Word, Microsoft Excel, Microsoft PowerPoint, PDF, HTML, Python Script, TAR, ZIP, DWG description: "This topic lists file formats supported by GroupDocs.Viewer for Python." productName: GroupDocs.Viewer for Python via .NET diff --git a/python-net/getting-started/system-requirements.md b/python-net/getting-started/system-requirements.md index cf574ca..9b21d3c 100644 --- a/python-net/getting-started/system-requirements.md +++ b/python-net/getting-started/system-requirements.md @@ -2,7 +2,7 @@ id: system-requirements url: viewer/python-net/system-requirements title: System requirements -weight: 3 +weight: 6 description: "GroupDocs.Viewer for Python via .NET does not require any external software to be installed such as Microsoft Word, Microsoft Excel or Microsoft PowerPoint for file rendering." keywords: file rendering productName: GroupDocs.Viewer for Python via .NET From f936e8ac4de7feab33cba548a2bc8f7ca7abbad6 Mon Sep 17 00:00:00 2001 From: Rakhim Aimaganbetov Date: Thu, 30 May 2024 13:28:38 +0500 Subject: [PATCH 4/5] add hello-world route --- python-net/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/python-net/_index.md b/python-net/_index.md index 29d8848..a0ea119 100644 --- a/python-net/_index.md +++ b/python-net/_index.md @@ -40,6 +40,7 @@ GroupDocs.Viewer ships with a wide range of options that allow you to control th

GET STARTED

    +
  • Hello World
  • System requirements
  • Installation
  • Licensing
  • From 5eb2a906bc8638ba6935c7cfccb7223d09505fd1 Mon Sep 17 00:00:00 2001 From: Rakhim Aimaganbetov Date: Thu, 30 May 2024 13:54:16 +0500 Subject: [PATCH 5/5] update python-net/hello-world.md --- python-net/getting-started/hello-world.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-net/getting-started/hello-world.md b/python-net/getting-started/hello-world.md index 5df578c..162390f 100644 --- a/python-net/getting-started/hello-world.md +++ b/python-net/getting-started/hello-world.md @@ -5,8 +5,8 @@ title: Hello, World! second_title: A simple example of how to use GroupDocs.Viewer for Python via .NET linkTitle: Hello World weight: 2 -keywords: installation, maven -description: ""Render files, list and save attachments in any supported format using GroupDocs.Viewer for Python via .NET to experience its simplicity and power in Python." +keywords: "hello world, example, get started" +description: "Render files, list and save attachments in any supported format using GroupDocs.Viewer for Python via .NET to experience its simplicity and power in Python." productName: GroupDocs.Viewer for Python via .NET hideChildren: False toc: True