If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Download GroupDocs.Assembly package via Python API
GroupDocs.Assembly for Python via .NET is a document automation and reports generation API designed to create custom documents from templates. This Python via .NET reporting API intelligently assembles the given data with the defined template document and generates output document based on the data source in the same format as of the template document format.
Get Started
Open
pypi package manager, search for GroupDocs.Assembly and install.
Install
To install please execute pip install groupdocs.assembly from command line interface to fetch & reference GroupDocs.Assembly module in your project.
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Template Syntax
Composing Template
Templates consist of common content and tags for structure and data binding.
Tag Elements
Tags include a name, an expression in brackets, and optional switches.
Some tags require a closing counterpart with a “/” character.
Lexical Tokens
Use restricted tokens for template expressions, adhering to specific rules.
Outputting Expression Results
Expression results replace placeholders during runtime.
HTML Switch
The “-html” switch formats output as HTML.
Format numeric and date-time results using format strings.
Data Band
Output sequence elements using foreach
tags.
Iteration Variable
Declare an iteration variable in foreach
tags for referencing elements.
GroupDocs.Assembly Engine APIs
API Overview
DocumentAssembler
builds reports from templates using various data sources.
Data Source Support
Supports JSON, XML, CSV, and custom objects for report generation.
Document Overloads
AssembleDocument
offers multiple overloads for flexibility.
GroupDocs.Assembly API Features
Document Assembler Class
Provides functionality for report generation.
Template and Data Source Integration
Supports JSON, XML, CSV, DataSet
, DataTable
, and more.
Dynamic Content Population
Populates templates with data at runtime for report generation.
Sequential Expression Evaluation
Evaluates template expressions sequentially using data sources.
Data Source Object Identification
Identifies data sources in templates via the dataSourceName
parameter.
Loading and Saving with External Resource Files
Load HTML Template with Resources
Loads HTML templates with external resources.
Save Assembled Documents with External Resources
Saves documents with external resources in a separate folder.
Working with Reports
Bulleted List in Documents
Dynamically creates bulleted lists in Word, Spreadsheet, Presentation, HTML, Text, and Email documents.
Bubble Chart in Documents
Generates bubble charts in Word, Spreadsheet, Presentation, and Email documents using dynamic data.
Column Chart in Documents
Creates filtered, ordered, and grouped column charts in Word, Spreadsheet, Presentation, and Email documents.
Removing Selective Chart Series
Dynamically removes specific chart series in reports.
Inserting Chart Axis Titles
Inserts chart axis titles dynamically across document types.
Common List Image in Documents
Embeds common list images in Word, Spreadsheet, Presentation, HTML, Text, and Email documents.
In-Table Master-Detail in Documents
Generates customer order reports in Word, Spreadsheet, Presentation, HTML, and Email documents.
Highlighted Rows in Documents
Adds row highlighting in Word, Spreadsheet, Presentation, HTML, and Email tables.
Multicolored Numbered List in Documents
Generates multicolored numbered lists in Word, Spreadsheet, Presentation, HTML, and Email documents.
Numbered List in Documents
Supports numbered lists in Word, Spreadsheet, Presentation, HTML, Text, and Email documents.
Pie Chart in Documents
Creates and formats pie charts in Word, Spreadsheet, Presentation, and Email documents.
Single Row Image in Documents
Generates single row image reports in Word, Spreadsheet, Presentation, HTML, Text, and Email documents.
Scatter Chart in Documents
Creates scatter charts in Word, Spreadsheet, Presentation, and Email documents.
Format | Description | Load | Save | Populate |
---|
DOC | Microsoft Word 97 - 2007 Document. | ✔️ | ✔️ | ✔️ |
DOT | Microsoft Word 97 - 2007 Template. | ✔️ | ✔️ | ✔️ |
DOCX | Office Open XML WordprocessingML Document (macro-free). | ✔️ | ✔️ | ✔️ |
DOCM | Office Open XML WordprocessingML Macro-Enabled Document. | ✔️ | ✔️ | ✔️ |
DOTX | Office Open XML WordprocessingML Template (macro-free). | ✔️ | ✔️ | ✔️ |
DOTM | Office Open XML WordprocessingML Macro-Enabled Template. | ✔️ | ✔️ | ✔️ |
RTF | RTF format. | ✔️ | ✔️ | ✔️ |
XLSX | OOXML 2007-2010 | ✔️ | ✔️ | ✔️ |
XLSM | OOXML Macro Enabled Workbook | ✔️ | ✔️ | ✔️ |
XLTX | OOXML Workbook Template | ✔️ | ✔️ | ✔️ |
XLTM | OOXML Macro Enabled Workbook Template | ✔️ | ✔️ | ✔️ |
XLSB | OOXML Binary Workbook | ✔️ | ✔️ | ✔️ |
XLS | Excel Workbook 97-2003 | ✔️ | ✔️ | ✔️ |
XLT | Excel Workbook Template 97-2003 | ✔️ | ✔️ | ✔️ |
XML | Spreadsheet Markup Language | ✔️ | ✔️ | ✔️ |
ODS | Open Document Spreadsheet | ✔️ | ✔️ | ✔️ |
PPTX | OOXML Presentation | ✔️ | ✔️ | ✔️ |
PPTM | OOXML Macro Enabled Presentation | ✔️ | ✔️ | ✔️ |
PPSX | OOXML SlideShow | ✔️ | ✔️ | ✔️ |
PPSM | OOXML Macros Enabled Presentation | ✔️ | ✔️ | ✔️ |
POTX | OOXML Presentation Template | ✔️ | ✔️ | ✔️ |
POTM | OOXML Macro Enabled Presentation Template | ✔️ | ✔️ | ✔️ |
PPT | PowerPoint Presentation 97-2003 | ✔️ | ✔️ | ✔️ |
PPS | PowerPoint SlideShow 97-2003 | ✔️ | ✔️ | ✔️ |
ODP | OpenDocument Presentation | ✔️ | ✔️ | ✔️ |
EML | Email Message Format | ✔️ | ✔️ | ✔️ |
MSG | Outlook Email Message Format | ✔️ | ✔️ | ✔️ |
EMLX | Apple’s Email Message Format | ✔️ | ✔️ | ✔️ |
TXT | Plain Text | ✔️ | ✔️ | ✔️ |
XML | Word Processing Markup Language | ✔️ | ✔️ | ✔️ |
HTML | HTML format | ✔️ | ✔️ | ✔️ |
ODT | ODF Text Document | ✔️ | ✔️ | ✔️ |
OTT | ODF Text Document Template | ✔️ | ✔️ | ✔️ |
PDF | Saves the document as PDF (Adobe Portable Document) format. | ✔️ | ✔️ | ✔️ |
XPS | Saves the document in the XPS (XML Paper Specification) format. | ✔️ | ✔️ | ✔️ |
EPUB | Saves the document in the IDPF EPUB format. | ✔️ | ✔️ | ✔️ |
MHTML | Mime HTML (MHTML) | ✔️ | ✔️ | ✔️ |
TIFF | Tagged Image File Format (TIFF) | ✔️ | ✔️ | ✔️ |
XAML | XML Based Markup Language | ✔️ | ✔️ | ✔️ |
OXPS | OpenXPS File | ✔️ | ✔️ | ✔️ |
SVG | Scalable Vector Graphics (SVG) | ✔️ | ✔️ | ✔️ |
PS | PostScript (PS) | ✔️ | ✔️ | ✔️ |
PCL | Printer Command Language (PCL) | ✔️ | ✔️ | ✔️ |
MD | Markdown Documentation File | ✔️ | ✔️ | ✔️ |
POT | PowerPoint template files created by PowerPoint 97-2003 versions | ✔️ | ✔️ | ✔️ |
OTP | OpenDocument Presentation Template | ✔️ | ✔️ | ✔️ |
Feature | MSG with RTF Body | MSG , EML , MHTML with HTML Body Created Using Microsoft Outlook or Microsoft Word | MSG , EML , EMLX , MHTML with HTML Body Created Outside Microsoft Outlook or Microsoft Word | MSG , EML , EMLX , MHTML with Plain Text Body |
---|
Building Charts Dynamically | ✔️ (outside loops and conditions) | ✔️ (outside loops and conditions) | ❌ | ❌ |
Inserting Documents Dynamically | ✔️ | ✔️ | To be supported | ❌ |
Inserting Images Dynamically | ✔️ | ✔️ | ✔️ | ❌ |
Inserting Barcodes Dynamically | ✔️ | ✔️ | To be supported | ❌ |
Input File Formats (from left to right) and Output File Formats (top down) | Word Processing (DOC , DOCX , DOCM , DOT , DOTX , DOTM , WordprocessingML , RTF , ODT , OTT ) | Spreadsheet (XLS , XLT , XLSX , XLSM , XLTX , XLTM , XLSB , SpreadsheetML , ODS ) | Presentation (PPT , PPTX , PPTM , PPS , PPSX , PPSM , POT , POTX , POTM , ODP , OTP ) | Email (EML , EMLX , MSG ) | HTML, Markdown, and Plain Text |
---|
Word Processing (DOC , DOCX , DOCM , DOT , DOTX , DOTM , WordprocessingML , RTF , ODT , OTT ) | ✔️ | ❌ | ❌ | ✔️ | ✔️ |
Spreadsheet (XLS , XLT , XLSX , XLSM , XLTX , XLTM , XLSB , SpreadsheetML , ODS ) | ❌ | ✔️ | ❌ | ❌ | ❌ |
Presentation (PPT , PPTX , PPTM , PPS , PPSX , PPSM , POT , POTX , POTM , ODP , OTP ) | ❌ | ❌ | ✔️ | ❌ | ❌ |
Email (EML , EMLX , MSG ) | ❌ | ❌ | ❌ | ✔️ | ❌ |
HTML, PDF, XPS, TIFF | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MHTML | ✔️ | ✔️ | ❌ | ✔️ | ✔️ |
Markdown, Plain Text, XAML , OpenXPS , EPUB , SVG , PS , PCL | ✔️ | ❌ | ❌ | ✔️ | ✔️ |
Supported Operating Systems
Works on any 32-bit or 64-bit system with .NET or Mono installed:
Windows
- Windows Server (2003, 2008, 2012, 2016, 2019)
- Windows XP, Vista, 7, 8, 8.1, 10
- Microsoft Azure
Linux
- Ubuntu, OpenSUSE, CentOS, and more
Mac
Supported Frameworks
.NET Framework
- Versions from 2.0 to 4.7.2
Mono Framework
Development Environments
- Visual Studio (2010-2019)
- Xamarin (Android, iOS, Mac)
- MonoDevelop 2.4+
