High-performance Excel file library for Python
Project description
duke-sheets
High-performance Excel file library for Python, powered by Rust.
Installation
pip install duke-sheets
Quick Start
import duke_sheets
# Create a new workbook
wb = duke_sheets.Workbook()
sheet = wb.get_sheet(0)
# Set cell values
sheet.set_cell("A1", 10)
sheet.set_cell("A2", 20)
sheet.set_formula("A3", "=A1+A2")
# Calculate formulas
wb.calculate()
# Get the result
result = sheet.get_calculated_value("A3")
print(result.as_number()) # 30.0
# Save to file
wb.save("output.xlsx")
Opening Existing Files
# Open an Excel file
wb = duke_sheets.Workbook.open("input.xlsx")
# Or a CSV file
wb = duke_sheets.Workbook.open("data.csv")
Features
- Read and write Excel files (.xlsx)
- Read and write CSV files
- Full formula calculation engine
- Support for named ranges
- Cell merging
- Row heights and column widths
License
MIT OR Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file duke_sheets-0.1.10.tar.gz.
File metadata
- Download URL: duke_sheets-0.1.10.tar.gz
- Upload date:
- Size: 11.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cb424fd2b68d37b491f7abcf981b430a5f072e0c0a6c84e21168ac30422d16f
|
|
| MD5 |
2b2922f86e02b9dcff44454165dca69b
|
|
| BLAKE2b-256 |
411beb101f6181e08334591d2cb949df06160a8aec422d2491f9dc4ddcdd8779
|
Provenance
The following attestation bundles were made for duke_sheets-0.1.10.tar.gz:
Publisher:
python.yml on guseggert/duke-sheets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
duke_sheets-0.1.10.tar.gz -
Subject digest:
9cb424fd2b68d37b491f7abcf981b430a5f072e0c0a6c84e21168ac30422d16f - Sigstore transparency entry: 1303062316
- Sigstore integration time:
-
Permalink:
guseggert/duke-sheets@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Branch / Tag:
refs/tags/python-v0.1.10 - Owner: https://github.com/guseggert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Trigger Event:
push
-
Statement type:
File details
Details for the file duke_sheets-0.1.10-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: duke_sheets-0.1.10-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7564a18ee22c2af515e62bc3e70539b1eed62cf2373763bc0828cd023770e9d
|
|
| MD5 |
0f92596950405174a227e12a60f2498d
|
|
| BLAKE2b-256 |
acdbc122aa36e327f53a6ebba3370b99a2558f6e1df6e23b09ff3023d5cd6b20
|
Provenance
The following attestation bundles were made for duke_sheets-0.1.10-cp38-abi3-win_amd64.whl:
Publisher:
python.yml on guseggert/duke-sheets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
duke_sheets-0.1.10-cp38-abi3-win_amd64.whl -
Subject digest:
b7564a18ee22c2af515e62bc3e70539b1eed62cf2373763bc0828cd023770e9d - Sigstore transparency entry: 1303062494
- Sigstore integration time:
-
Permalink:
guseggert/duke-sheets@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Branch / Tag:
refs/tags/python-v0.1.10 - Owner: https://github.com/guseggert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Trigger Event:
push
-
Statement type:
File details
Details for the file duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
891ef9eb87d30ae112956e88b1778cf7bac9af080a768eb6c81898653874a25f
|
|
| MD5 |
f562c0458f2f7e8a65a8dd8e1a76e864
|
|
| BLAKE2b-256 |
687fbaf821f214db363a6a6886ae4ec5672f189ca3a610effd9e15b4616e9b43
|
Provenance
The following attestation bundles were made for duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
python.yml on guseggert/duke-sheets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
891ef9eb87d30ae112956e88b1778cf7bac9af080a768eb6c81898653874a25f - Sigstore transparency entry: 1303062591
- Sigstore integration time:
-
Permalink:
guseggert/duke-sheets@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Branch / Tag:
refs/tags/python-v0.1.10 - Owner: https://github.com/guseggert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Trigger Event:
push
-
Statement type:
File details
Details for the file duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3da43d0a8a947b7d75b2a3ca7c0a35ede06efb95d4d78e96d99b513ec996a4d8
|
|
| MD5 |
b1873d32017b32afa24f75e41a367668
|
|
| BLAKE2b-256 |
0c395c8b33a9b3a538712a4494ecd9f56f086d690b23f26733bcac0156e94307
|
Provenance
The following attestation bundles were made for duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
python.yml on guseggert/duke-sheets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
3da43d0a8a947b7d75b2a3ca7c0a35ede06efb95d4d78e96d99b513ec996a4d8 - Sigstore transparency entry: 1303062663
- Sigstore integration time:
-
Permalink:
guseggert/duke-sheets@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Branch / Tag:
refs/tags/python-v0.1.10 - Owner: https://github.com/guseggert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Trigger Event:
push
-
Statement type:
File details
Details for the file duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
433dd160d9dc8e06491ecd011257e810ae2f71f6daeef2ed4c07f4d03b62f7c7
|
|
| MD5 |
c79f00a9c16ade73b8c076fc333d69dd
|
|
| BLAKE2b-256 |
11e0a66347fbc1d2283ae02c67df0aadadbe440bc9df589e3253c833dbd44f7a
|
Provenance
The following attestation bundles were made for duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl:
Publisher:
python.yml on guseggert/duke-sheets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl -
Subject digest:
433dd160d9dc8e06491ecd011257e810ae2f71f6daeef2ed4c07f4d03b62f7c7 - Sigstore transparency entry: 1303062742
- Sigstore integration time:
-
Permalink:
guseggert/duke-sheets@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Branch / Tag:
refs/tags/python-v0.1.10 - Owner: https://github.com/guseggert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Trigger Event:
push
-
Statement type:
File details
Details for the file duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4126a3b71ede6bc0159ad7322cc88dd6b7546ccadf3f014867720c30fae88dd1
|
|
| MD5 |
9f9b4680e8b792211b78fedb34ab40a7
|
|
| BLAKE2b-256 |
2bbedee90152f6e139d79386e01ab11239d48d78a214427f7ae6eebe633c02f8
|
Provenance
The following attestation bundles were made for duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl:
Publisher:
python.yml on guseggert/duke-sheets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl -
Subject digest:
4126a3b71ede6bc0159ad7322cc88dd6b7546ccadf3f014867720c30fae88dd1 - Sigstore transparency entry: 1303062408
- Sigstore integration time:
-
Permalink:
guseggert/duke-sheets@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Branch / Tag:
refs/tags/python-v0.1.10 - Owner: https://github.com/guseggert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@a834dbbceba04efc7f4c5a49c71ab8362bcedd21 -
Trigger Event:
push
-
Statement type: