Metadata-Version: 2.4
Name: groupdocs-conversion-net
Version: 25.12
Summary: GroupDocs.Conversion for Python via .NET is a document conversion API that supports over 10,000 conversion pairs across popular formats and enables developers to easily convert files to various formats, such as PDF, HTML, JPG, or PNG. With this API, you can seamlessly convert a wide range of file types, including popular OpenDocument and Microsoft Office formats like DOCX, XLSX, and PPTX, as well as specialized CAD and graphic editor files like DWG, DXF, PSD, AI, and CDR. Supports Python 3.5 and higher.
Home-page: https://products.groupdocs.com/conversion/python-net/
Author: GroupDocs
License: Other/Proprietary License
Keywords: conversion,convert,file,document,api,pdf,docx,xlsx,pptx,html,png,word,excel,powerpoint,visio,opendocument,photoshop
Platform: linux_x86_64
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: File Formats
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Python: >=3.5,<3.14
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: platform
Dynamic: requires-python
Dynamic: summary

[![GroupDocs.Conversion for Python via .NET Banner](https://raw.githubusercontent.com/groupdocs/groupdocs.github.io/master/img/banners/groupdocs-conversion-python-net-banner.png)](https://purchase.groupdocs.com/temporary-license)

[Product Home](https://products.groupdocs.com/conversion/python-net/) | [Docs](https://docs.groupdocs.com/conversion/python-net/) | [Live Demos](https://products.groupdocs.app/conversion/family) | [API Reference](https://reference.groupdocs.com/conversion/) | [Blog](https://blog.groupdocs.com/category/conversion/) | [Search](https://search.groupdocs.com/) | [Free Support Forum](https://forum.groupdocs.com/c/conversion) | [Temporary License](https://purchase.groupdocs.com/temporary-license)

## Table of Contents

- [About](#about)
- [Quick Example](#quick-example-convert-docx-to-pdf)
- [Key Features](#key-features)
- [Supported Document Formats](#supported-document-formats)
- [Getting Started](#getting-started)
  - [Prerequisites](#prerequisites)
  - [Installation](#installation)
  - [Use Cases](#use-cases)
- [Licensing](#licensing)
- [Support](#support)
- [Additional Resources](#additional-resources)

## About

GroupDocs.Conversion for Python via .NET is a document conversion API that lets you easily convert the most popular file formats, including DOCX, XLSX, PPTX, PDF, CAD drawings, and many more. It preserves layout and formatting while offering customization options for each format.

## Quick Example: Convert DOCX to PDF

Use a few lines of Python code to convert documents between different formats:

```py
from groupdocs.conversion import Converter
from groupdocs.conversion.options.convert import PdfConvertOptions

# Instantiate Converter with the input document
with Converter("./business-plan.docx") as converter:
    # Instantiate convert options to define the output format
    pdf_convert_options = PdfConvertOptions()

    # Convert the input document to PDF
    converter.convert("./business-plan.pdf", pdf_convert_options)
```

## Key Features

**GroupDocs.Conversion for Python via .NET** provides a single, unified API for advanced document conversion:

- **Wide format support** – Supports over 10,000 conversion pairs across popular formats like Microsoft Office, PDF, HTML, images, CAD drawings, and more without requiring the original applications.
- **Flexible conversion options** – Convert entire documents, specific pages, page ranges, or files within document containers such as compressed files and email archives.
- **Format detection** – Automatically detects the format of input files, eliminating the need to specify source formats manually.
- **Layout preservation** – Maintains original document structure, formatting, and layout during conversion with high fidelity output.
- **Customizable output** – Fine-tune conversion settings for each target format, including page size, orientation, quality, and format-specific options.
- **Cross-platform support** – Work with documents on Windows, Linux and macOS using the .NET-powered conversion engine from your Python code.

---

## Supported Document Formats

**GroupDocs.Conversion for Python via .NET** supports a wide range of document families including:

- **Word processing** – DOC, DOCX, RTF, TXT, ODT and others
- **PDF & markup** – PDF, PDF/A, HTML/MHTML, Markdown, XML
- **Spreadsheets** – XLS, XLSX, ODS, CSV and related formats
- **Presentations** – PPT, PPTX, ODP and similar formats
- **Email & notes** – EML, MSG and related formats
- **eBooks & web content** – EPUB, MOBI and others
- **Images** – JPEG, PNG, TIFF, GIF, BMP, SVG and more
- **CAD & 3D formats** – DWG, DXF, OBJ, 3DS and others

See the [complete list of supported document formats](https://docs.groupdocs.com/conversion/python-net/supported-file-formats/).

---

## Getting Started

### Prerequisites

- Python 3.5+
- .NET 6 runtime or higher
- Windows, Linux, or macOS

Learn more about [system requirements](https://docs.groupdocs.com/conversion/python-net/system-requirements/).

### Installation

You can install **GroupDocs.Conversion for Python via .NET** from **PyPI** or download it from the official website.

**Install from PyPI**

```bash
pip install groupdocs-conversion-net
```

**Upgrade to the latest version**

```bash
pip install --upgrade groupdocs-conversion-net
```

**Download from the official website**

To download the GroupDocs.Conversion package for your operating system, please visit the official [GroupDocs Releases website](https://releases.groupdocs.com/conversion/python-net/) and choose the appropriate package based on your system's architecture.

Learn more about [installation](https://docs.groupdocs.com/conversion/python-net/installation/).

---

### Use Cases

Beyond basic document conversion, here are the most common use cases for converting documents between different formats.

> **📁 Code Examples**: For complete, runnable examples with sample files, check out the [GroupDocs.Conversion for Python via .NET - Code Examples](https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Python-via-.NET/) repository.
> See [how to run code examples](https://docs.groupdocs.com/conversion/python-net/how-to-run-examples/) for more details.

#### Convert All Pages to Images

This example shows how to convert each slide in a PPTX presentation to a PNG image and save the output images to a specified folder.

```py
from groupdocs.conversion import Converter
from groupdocs.conversion.filetypes import ImageFileType
from groupdocs.conversion.options.convert import ImageConvertOptions

# Instantiate Converter with the input document
with Converter("./basic-presentation.pptx") as converter:
    # Instantiate convert options
    png_convert_options = ImageConvertOptions()
    # Define the output format as PNG
    png_convert_options.format = ImageFileType.PNG

    # Convert all pages and save to the output folder
    converter.convert_by_page("./converted-pages", png_convert_options)
```

#### Convert Files Within Document Container

This example shows how to convert each compressed file in a ZIP archive to PDF.

```py
from groupdocs.conversion import Converter
from groupdocs.conversion.options.convert import PdfConvertOptions

# Instantiate Converter with the input document
with Converter("./compressed.zip") as converter:
    # Instantiate convert options
    pdf_convert_options = PdfConvertOptions()

    # Extract, convert and save output files in PDF format
    converter.convert_multiple("./converted-files", pdf_convert_options)
```

---

## Licensing

For testing without trial limitations, you can request a 30-day Temporary License:

* Visit the [Get a Temporary License](https://purchase.groupdocs.com/temporary-license/) page
* Follow the instructions to request your temporary license
* Copy the license file and apply it using the code example

```python
import os
from groupdocs.conversion import License

# Get absolute path to license file
license_path = os.path.abspath("./GroupDocs.Conversion.lic")

# Instantiate License and set the license
license = License()
license.set_license(license_path)
```

This product is licensed under the GroupDocs End User License Agreement (EULA). For pricing information, visit the [GroupDocs.Conversion for Python via .NET pricing page](https://purchase.groupdocs.com/pricing/conversion/python-net/).

---

## Support

GroupDocs provides unlimited free technical support for all of its products. Support is available to all users, including evaluation. The support is provided at [Free Support Forum](https://forum.groupdocs.com/), [Paid Support Helpdesk](https://helpdesk.groupdocs.com/) and [Paid Consulting](https://consulting.groupdocs.com/).

### Free Support Forum

The [GroupDocs Free Support Forum](https://forum.groupdocs.com/) is available to all users and provides:
- Direct access to the GroupDocs development team
- Community-driven support and knowledge sharing
- No time limitations on support requests
- Access to historical solutions and discussions

### Paid Support Helpdesk

The [Paid Support Helpdesk](https://helpdesk.groupdocs.com/) offers:
- Higher priority response times
- Dedicated support team
- Extended support hours
- Priority issue resolution

### Paid Consulting

We can work together with you on your project and develop a part or complete application. If you need new features in the existing GroupDocs product or to create API for new file formats, send us a request at [consulting.groupdocs.com/contact](https://consulting.groupdocs.com/contact/).

---

## Additional Resources

- **[Documentation](https://docs.groupdocs.com/conversion/python-net/)** – Complete API documentation and guides
- **[API Reference](https://reference.groupdocs.com/conversion/)** – Detailed API reference documentation
- **[Live Demos](https://products.groupdocs.app/conversion/family)** – Interactive online demos
- **[Code Examples](https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Python-via-.NET/)** – Working code examples with sample files
- **[Blog](https://blog.groupdocs.com/category/conversion/)** – Latest updates and tutorials
