---
Product: Aspose.Font
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/font/python/batchsummary
---

# BatchSummary

## Overview

`BatchSummary` is a class in Aspose.Font FOSS for Python.

Top-level batch processing summary.

This class declares 2 methods for BatchSummary objects in Python programs.
Available methods include: `to_dict`, `write_json`.
Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: `failure_count`, `output_directory`, `results`, `success_count`, `total_count`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `total_count` | `int` | Read | Gets the total count. |
| `success_count` | `int` | Read | Gets the success count. |
| `failure_count` | `int` | Read | Gets the failure count. |
| `results` | `list[BatchResult]` | Read | Gets the results. |
| `output_directory` | `Path` | Read | Gets the output directory. |

## Methods

| Signature | Description |
|-----------|-------------|
| `to_dict()` → `dict[str, Any]` | Serialize to dictionary. |
| `write_json(path: str \| Path)` → `Path` | Write summary to JSON file. |

## See Also

- [Aspose.Font — Enterprise API Reference](https://reference.aspose.com/font/)