crabxl-openpyxl
A drop-in replacement for openpyxl, with a Rust core.
crabxl-openpyxl gives you the openpyxl 3.1.5 API for reading, writing and
editing Excel .xlsx files. The CrabXL Rust core
does the work, so your openpyxl code runs faster and in less memory, without
changes. The unchanged openpyxl test suite passes for its public API.
- Workbooks, worksheets, cells, styles, number formats, formulas, merged cells, tables, data validation, conditional formatting, comments, hyperlinks, images and charts.
read_only=Trueandwrite_only=Truestream large files.wb.save(path, calculate=True)also calculates formulas and saves their results.- openpyxl is not a dependency, and this package never falls back to it.
Installation
pip install crabxl-openpyxl
It supports CPython 3.9 to 3.15. Its native module comes from the crabxl-bindings package, with wheels for Linux x86_64/ARM64, Windows x86_64, and macOS Intel/Apple Silicon.
Usage
Import crabxl_openpyxl in place of openpyxl. The calls are the same.
import crabxl_openpyxl as openpyxl
from crabxl_openpyxl.styles import Font
book = openpyxl.load_workbook("input.xlsx")
sheet = book.active
sheet["A1"] = "Updated"
sheet["A1"].font = Font(bold=True)
book.save("output.xlsx")
This package follows openpyxl's behavior. For example, inserting rows moves
only the cells, and text that starts with = becomes a formula.
With the typed CrabXL API
On Python 3.13 and newer, crabxl offers a
typed API with lossless saves and streaming. Install both, and use the same
modules as crabxl.openpyxl:
pip install "crabxl[openpyxl]"
import crabxl.openpyxl as openpyxl
Documentation
License
MIT. Parts of this package are adapted from
openpyxl (MIT,
Copyright (c) 2010-2024 openpyxl); see licenses/openpyxl-MIT.txt. Source
code: crabxl/crabxl-python.
Metadata
Release files for crabxl-openpyxl 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crabxl_openpyxl-0.6.0.tar.gz | 201.8 kB | With provenance | Details for crabxl_openpyxl-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crabxl_openpyxl-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for crabxl_openpyxl-0.6.0-py3-none-any.whl |
Total release size: 477.9 kB
Release files / crabxl_openpyxl-0.6.0.tar.gz
| Download URL | crabxl_openpyxl-0.6.0.tar.gz |
|---|---|
| Size | 201.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c27b39c358d1a3097f21451c1ae08b7afbc2296f0933c279251d5f4a66733a60
|
|
BLAKE2b-256 checksum How to use checksums |
82f68a752b52422511027bb9a0d836b40fb3e50c3245a9d5870d45c83eb40248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / crabxl_openpyxl-0.6.0-py3-none-any.whl
| Download URL | crabxl_openpyxl-0.6.0-py3-none-any.whl |
|---|---|
| Size | 276.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1396eb754f8b5839b4510cd32f169acaa1a8396dd1d0b767a654612254bdb720
|
|
BLAKE2b-256 checksum How to use checksums |
19503c5ca4009c6e673adab3653abd0cbc3b51539581c5c2fa0961fbf1018fb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for crabxl-openpyxl 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for crabxl_openpyxl-0.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.