Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License
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.
- Wide Format Support: Supports over 10,000 conversion pairs across popular formats like Microsoft Office, PDF, HTML, and more.
- Flexible Conversion Options: Convert entire documents, specific pages, page ranges, or files within document containers such as compressed files.
- Format Detection: Automatically detects the format of input files.
GroupDocs.Conversion 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.
-
Set Up Environment: Ensure that Python 3.9 and the .NET 6 runtime (or higher) are installed on your system.
-
Get the Code: Clone or download this repository.
git clone git@github.com:groupdocs-conversion/GroupDocs.Conversion-for-Python-via-.NET.git
-
Navigate to the
Examples
Foldercd ./GroupDocs.Conversion-for-Python-via-.NET/Examples
-
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 theExamples
directory and run the following command:pip install ./groupdocs_conversion_net-*.whl
-
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.Conversion for Python via .NET checks for theGROUPDOCS_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. -
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.
Find additional details and examples in the GroupDocs.Conversion for Python via .NET documentation.
We also offer GroupDocs.Conversion packages for other platforms:
- GroupDocs.Conversion for .NET
- GroupDocs.Conversion for Java
- GroupDocs.Conversion for Node.js via Java
Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License