---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/minimalcfbwriter
---

# MinimalCFBWriter

## Overview

`MinimalCFBWriter` is a class in Aspose.Cells FOSS for Python.

Minimal CFB file writer for encrypted Office documents.

This class declares 3 methods for MinimalCFBWriter objects in Python programs.
Available methods include: `__init__`, `add_stream`, `write`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: `major_version`, `sector_size`, `streams`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `sector_size` | - | Read | Gets the sector size. |
| `major_version` | - | Read | Gets the major version. |
| `streams` | - | Read | Gets the streams. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(sector_size)` | Initialize CFB writer. |
| `add_stream(name, data)` | Add a stream to the CFB file. |
| `write(file_path)` | Write CFB file. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)