Calcwright
Calculate Excel workbooks without Excel. Load an .xlsx, set the inputs, read the outputs, and get the numbers Excel would give: on a server, with no Office licence and no LibreOffice.
import calcwright
wb = calcwright.load("pricing-model.xlsx")
wb["Inputs!B2"] = 120_000 # numbers, text, bools, dates; "=..." sets a formula
print(wb["Quote!C10"]) # recalculated on read
print(wb["Quote!A1:D20"]) # ranges come back as lists of rows
wb.save("quote-1042.xlsx") # opens in Excel with the new values
report = wb.verify() # recompute every formula and compare with what Excel saved
print(report["matched"], "/", report["cells"])
Error values come back as calcwright.ExcelError("#N/A") objects, not exceptions; blank cells are None.
Judged by Excel
Every workbook Excel saves stores the value it computed for each formula. Across the 15,871-workbook Enron corpus, Calcwright reproduces Excel's value for 99.924% of 15,403,944 formula cells. On the same 1,000 workbooks, LibreOffice in headless mode reproduces 97.35%. Method and per-function results: https://github.com/Huckcity/calcwright/blob/main/BENCHMARK.md
473 functions, including XLOOKUP, FILTER, SORT, UNIQUE, LET and LAMBDA, plus array and dynamic-array formulas, structured table references, names, 3D references, data tables and Excel's number formats.
Licence
Free for workbooks of up to 2,000 formula cells. A Developer licence ($249) or Team licence ($990), each a one-time
payment with 12 months of updates, removes the limit and covers commercial use: https://calcwright.dev/#pricing.
Install a key with calcwright.install_licence(key) or the CALCWRIGHT_LICENSE environment variable. Keys are
checked offline.
Made by ALGD LTD (NI744090). Microsoft Excel is a trademark of Microsoft Corporation; Calcwright is not affiliated with Microsoft.
Metadata
Release files for calcwright 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| calcwright-0.1.1-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for calcwright-0.1.1-cp39-abi3-win_amd64.whl |
| calcwright-0.1.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details for calcwright-0.1.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| calcwright-0.1.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details for calcwright-0.1.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| calcwright-0.1.1-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 | Details for calcwright-0.1.1-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl |
Total release size: 5.6 MB
Release files / calcwright-0.1.1-cp39-abi3-win_amd64.whl
| Download URL | calcwright-0.1.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5989b10f4541ce858cb3ab560a67fb90a92e46a97dd0d8c8c323eb3b9ace01bb
|
|
BLAKE2b-256 checksum How to use checksums |
95eccd432c79990f353147ef3b5ee061dac564a8363fb226d1f288472836cc13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / calcwright-0.1.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | calcwright-0.1.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b2b683f2d548e4b55fc4a0ad73b88d26eafd4eae7f375a4f76d6e4818647d2cc
|
|
BLAKE2b-256 checksum How to use checksums |
b1830d5fd3f6a68eaa3f9317f8221083fb951c32eb819a529cd685d539837fd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / calcwright-0.1.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | calcwright-0.1.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5bed5e1931eabe0f6b7e16cab17c6ef2c6f98fe5be3ba0356cced45258520463
|
|
BLAKE2b-256 checksum How to use checksums |
5e816a317ac0d4dfb6527efa0ca3b5a7bfb200dcbb5f3a05c4cd8cb286c7819a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / calcwright-0.1.1-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
| Download URL | calcwright-0.1.1-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
eef9b04dc334f236a9b5abab7749a46564ac193553d25bd9d6b659d20ee58b09
|
|
BLAKE2b-256 checksum How to use checksums |
cf96fb94cdbd0f231532a17fa8822e8ee62e9914b897df7f9eb68f13c64a41fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for calcwright 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.