GroupDocs.Assembly Overview

Accelerate document workflows in Python using a robust automation API with seamless data integration.

Illustration assembly

Merge Business Data into Documents with Python

Simplify reporting: With GroupDocs.Assembly for Python via .NET, inject data from XML, JSON, or databases into template-based documents without manual formatting.

Populate Native Content with Live Data

Auto-fill complex document structures like tables, charts, and diagrams using real-time or embedded data sources.

Powerful Automation Features

Unlock advanced capabilities—create barcodes, connect to web data, customize layouts, and export documents to multiple formats using GroupDocs.Assembly for Python via .NET.

Platform independence

GroupDocs.Assembly for Python via .NET works seamlessly with major platforms, operating systems, and package managers for broad deployment compatibility.

Amazon
Docker
Azure
VS Code
ReSharper
macOS
Linux
NuGet

Supported file formats

View the complete list of file formats supported by GroupDocs.Assembly for Python via .NET.

Microsoft Office formats

  • Word: DOCX, DOC, DOCM, DOT, DOTX, DOTM, RTF, WordprocessingML
  • Excel: XLSX, XLS, XLSM, XLSB, XLTM, XLT, XLTM, XLTX, SpreadsheetML
  • PowerPoint: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POTM, POTX

Images & Other Formats

  • Portable: PDF
  • Images: SVG, TIFF
  • Other office formats: ODT, OTT, OTS, ODS, ODP, OTP

Other formats

  • Web: HTML, MHTML
  • Emails: EML, MSG, EMLX
  • Other: EPUB, MD

GroupDocs.Assembly Key Features

Automate smart document generation with rich data-driven elements.

Feature icon

Dynamic Data Representation

Render tables, charts, images, and lists within your document templates using structured or semi-structured data.

Feature icon

Formula-Based Data Processing

Use expressions and sequential logic to calculate and format content before rendering.

Feature icon

Multi-Format Template and Output Support

Work with DOCX, XLSX, PPTX, PDF, HTML, and other formats for templates and output files.

Feature icon

Advanced Template Markup

Take advantage of powerful syntax options including custom counters, number formats, and conditional blocks.

Feature icon

Barcode Generation

Create barcodes dynamically and embed them directly into generated reports or documents.

Feature icon

String and Case Formatting

Control output styling with flexible string formatting: upper, lower, title case, or first-letter capitalization.

Feature icon

Smart Content Insertion

Merge sections from other documents dynamically, supporting modular document composition.

Feature icon

Multi-Format Document Output

Export documents to desired formats using file extensions or custom output configurations.

Feature icon

Base64 & Embedded Object Support

Insert images, files, or data blobs directly from Base64-encoded strings or byte arrays.

Code samples

Explore real-world examples of using GroupDocs.Assembly for document automation and data integration.

Creating a Bulleted List in Microsoft Word

Bulleted lists help organize business data clearly in reports and contracts. Use GroupDocs.Assembly to insert lists into Word templates using dynamic data sources.

How to Populate a List in Documents

# Insert this template on a document page:
# Managers' performance indicators
# . <<foreach [in products]>><<[ProductName]>>
# <</foreach>>

import groupdocs.assembly as ga

def run():
    # Specify the template path
    template = "Bulleted List Template.docx"

    # Set the output file path
    result = "Result Report.docx"

    # Retrieve managers' data from a JSON source
    dataSource = ga.data.JsonDataSource("Report data.json")
    data = ga.DataSourceInfo(dataSource, "managers")

    # Generate the report with the filled data
    assembler = ga.DocumentAssembler()
    assembler.assemble_document(template, result, data)

Generating Pie Charts in PPTX Presentations

Build pie charts from XML or JSON data to visually display key metrics. Enhance presentation documents with charts automatically populated by your application.

How to Represent Data in a Pie Chart

# Add the chart title template to the presentation:
# Customers' revenue <<foreach [in customers]>> 
# <<x [CustomerName]>>

# Also include the chart data template:
# Total Order Price<<foreach [in customers]>> 
# <<x [CustomerName]>>

import groupdocs.assembly as ga

    def run():
        # Specify the chart template path
        template = "Pie Chart Template.pptx";

        # Set the output file path
        result = "Result Report.pptx"

        # Retrieve customers' data from an XML source
        dataSource = ga.data.JsonDataSource("Chart data.xml")
        data = ga.DataSourceInfo(dataSource, "customers")

        # Generate the chart and save the result
        assembler = ga.DocumentAssembler()
        assembler.assemble_document(template, result, data)

Ready to get started?

Download GroupDocs.Assembly for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English