Skip to main content

File Assembly Python API

banner

Product Page | Docs | Demo | API Reference | Examples | Blog | Releases | Free Support | Temporary License

An on-premise API to generate documents of various formats based on user-defined templates as well as from other data sources, such as XML, OData, JSON, etc.

Document Assembly Processing Features

  • Support for multiple data formats.
  • Perform sequential data operations.
  • Supports upper, lower, capital, first-cap formatting to template syntax strings.
  • Apply ordinal, cardinal, alphabetic, numeric formatting in template syntax.
  • Use custom variables in the template documents.
  • Support for text comments within template syntax tags.
  • Dynamically insert document content & hyperlinks in reports.
  • Apply attributes to the email message body.
  • Dynamically apply email attachments.
  • Generate barcode in reports.
  • Dynamically set background color of HTML documents.
  • Supports formatting of numeric, text, image, date-time, chart elements in the template.
  • Apply conditional formatting on template text elements.
  • Linq-based template syntax.
  • Use explicit specifications or file extensions to change the format of the assembled files.
  • Supports the next field analog of Microsoft Word.
  • Update fields during word processing document assembly.
  • Support for applying formula during spreadsheet file assembly.
  • Automatically remove empty paragraphs.
  • Generate various report types, such as charts, lists, tables, etc.
  • Instead of exception throwing, support for inline template syntax errors in generated docs.
  • Load template documents from HTML with resources.
  • Save assembled documents to HTML with resources.

Read & Write Microsoft Office Formats

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

Read & Write Other Formats

OpenOffice: ODS, ODT, OTT, OTP, ODP, OXPS
Email: EML, MSG, EMLX
Fixed Layout: PDF, XPS
Markup: HTML, MHTML, XML, XAML
Images: TIFF, SVG
eBook: EPUB
PostScript: PS
Printer Control: PCL
Markdown: MD
Text: TXT

Please visit the Supported Document Formats for details.

Platform Independence

GroupDocs.Assembly for .Net can be used to build applications for Windows, Mac OS X x64 as well as Linux x64. Developers may also code in PHP, VBScript, Delphi & C++ programming languages while using GroupDocs.Assembly for .Net via COM Interop.

Get Started

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

Fetch the package and install GroupDocs.Assembly. Run this command: pip install groupdocs-assembly-net

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

Check out GroupDocs.Assembly for Python for .NET documentation.

Generate email report with common list

import groupdocs.assembly as ga
import constants

def run():
	assembler = ga.DocumentAssembler()
    dataSource = ga.data.JsonDataSource(constants.customerJsonFile)
    DataSourceInfo = ga.DataSourceInfo(dataSource, "customers")
    array = [DataSourceInfo, ga.DataSourceInfo(["test@test.mail", "groupdocs@groupdocs.mail"], "recipients"), ga.DataSourceInfo("sender@sender.mail", "sender"), ga.DataSourceInfo("cc@example.com", "cc"), ga.DataSourceInfo("groupdocs", "subject")]
    print(assembler.assemble_document(constants.input_common_list_msg, constants.output_common_list_msg, array))

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

Release files for groupdocs-assembly-net 25.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for groupdocs-assembly-net 25.5.1
File Interpreter ABI Platform
groupdocs_assembly_net-25.5.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
groupdocs_assembly_net-25.5.1-py3-none-win32.whl Python 3 none Windows x86-32 Details

Total release size: 141.3 MB

Release files / groupdocs_assembly_net-25.5.1-py3-none-win_amd64.whl

Download URL groupdocs_assembly_net-25.5.1-py3-none-win_amd64.whl
Size 72.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
39c0be50f018c1f9a49aac1b40cce0893ba903e08eef1a6b543296282ab95be7
BLAKE2b-256 checksum
How to use checksums
93dab5edb867da3e895075addbad824d534f82069e551c2fc0be95a04eddba8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release files / groupdocs_assembly_net-25.5.1-py3-none-win32.whl

Download URL groupdocs_assembly_net-25.5.1-py3-none-win32.whl
Size 68.6 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
d719e3e3c4ab6b3423c6f7c903441507271546cd16b391564260dfc94efb1b32
BLAKE2b-256 checksum
How to use checksums
ed939d47458c877948c80885c3f1fa09a0afe3e4d662d76098f014da1d7593a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

25.5.1 This release

2 release files

25.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page