openpyxl - Programmatically create and manipulate Excel workbooks
Create and manipulate Excel 2010+ xlsx/xlsm workbooks with formulas, charts, formatting, pivot tables, and large-dataset support.
Tags
Updated: 2026-12-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create workbooks
- Format cells
- Support formulas
- Generate charts
- Apply conditional formatting
- Create pivot tables
- Handle large datasets
- Use streaming mode
Inputs
- Spreadsheet data
- Existing xlsx/xlsm files
- Output file path
Outputs
- Created or modified Excel workbooks
- Workbook formulas and charts
- Workbook formatting and pivot tables
Requirements
- Python environment
- openpyxl library
- Windows, macOS, or Linux
