Skip to main content

GroupDocs.Merger for Python via .NET is a powerful API to merge several documents into one, split single document to multiple documents, reorder or replace document pages, change page orientation, manage document protection, render documents as images and more.

Project description

File Merger Python API

banner

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

GroupDocs.Merger for Python via .NET is a powerful API to merge several documents into one, split single document to multiple documents, reorder or replace document pages, change page orientation, manage document protection, render documents as images and more.

Without having to install any 3rd party component, you can use GroupDocs.Merger to build different types applications. For example, GroupDocs, using its own APIs, developed a free web application that allows people to merge their PDF documents online.

GroupDocs.Merger for Python requires you to use python programming language. For Python, Java and .NET languages, we recommend you get GroupDocs.Merger for Python, GroupDocs.Merger for Java and GroupDocs.Merger for .NET, respectively.

Python Merger API Features

  • Join two or more documents into one document, join specific pages or page ranges from several source documents into single resultant document.
  • Split a source document to several resultant documents.
  • Move page to another position within a document.
  • Remove single page or a collection of specific page numbers from the source document.
  • Rotate pages within document by setting rotation angle to 90,180 or 270 degrees.
  • Swap two pages positions within the source document. The result is a new document where two pages have their positions exchanged.
  • Extract specified page or page ranges from source document. The result is a new document that contains only specified pages from the source document.
  • Change orientation operation lets to set page orientation (portrait, landscape) for specific or all pages of the document.
  • Manage document password protection: add/update/delete document password and check its existence.
  • Get the basic information about source document - file type, size, pages count, page height and width etc.
  • Document preview feature allows to generate image representations of document pages. This may be helpful for better understanding about document content and its structure. Preview can be generated for all document pages (by default) or for specific page numbers or page range.

Supported File Formats

Merge documents of the most popular file formats (PDF, DOCX, XLSX, PPTX, JPG, ZIP and more) into single resultant document.

Platform Independence

GroupDocs.Merger for Python via .NET can be used to develop 32-bit and 64-bit applications for different operating systems (such as Windows, Linux and macOS) where Python 3.5 or later is installed.

Get Started

Ready to try GroupDocs.Merger for Python via .NET?

Fetch the package and install GroupDocs.Merger. Run this command: pip install groupdocs.merger

If you already have GroupDocs.Merger installed and want to get the latest version, you have to run pip install --upgrade groupdocs.merger instead.

Check out GroupDocs.Merger for Python for .NET documentation).

Merge DOCX using Python

import groupdocs.merger as gv

# Instantiate a Merger object and load a DOCX file
with gv.Merger("sample1.docx") as merger:
    //  Add another DOCX file to merge
    merger.join("sample2.docx")
    // Merge DOCX files and save result
    merger.save("merged.docx")

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

groupdocs_merger_net-24.10-py3-none-win32.whl (17.0 kB view hashes)

Uploaded Python 3 Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page