Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

duke_sheets-0.1.10.tar.gz (11.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

duke_sheets-0.1.10-cp38-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.8+Windows x86-64

duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

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

Hashes for duke_sheets-0.1.10.tar.gz
Algorithm Hash digest
SHA256 9cb424fd2b68d37b491f7abcf981b430a5f072e0c0a6c84e21168ac30422d16f
MD5 2b2922f86e02b9dcff44454165dca69b
BLAKE2b-256 411beb101f6181e08334591d2cb949df06160a8aec422d2491f9dc4ddcdd8779

See more details on using hashes here.

Provenance

The following attestation bundles were made for duke_sheets-0.1.10.tar.gz:

Publisher: python.yml on guseggert/duke-sheets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for duke_sheets-0.1.10-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b7564a18ee22c2af515e62bc3e70539b1eed62cf2373763bc0828cd023770e9d
MD5 0f92596950405174a227e12a60f2498d
BLAKE2b-256 acdbc122aa36e327f53a6ebba3370b99a2558f6e1df6e23b09ff3023d5cd6b20

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 891ef9eb87d30ae112956e88b1778cf7bac9af080a768eb6c81898653874a25f
MD5 f562c0458f2f7e8a65a8dd8e1a76e864
BLAKE2b-256 687fbaf821f214db363a6a6886ae4ec5672f189ca3a610effd9e15b4616e9b43

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for duke_sheets-0.1.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3da43d0a8a947b7d75b2a3ca7c0a35ede06efb95d4d78e96d99b513ec996a4d8
MD5 b1873d32017b32afa24f75e41a367668
BLAKE2b-256 0c395c8b33a9b3a538712a4494ecd9f56f086d690b23f26733bcac0156e94307

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for duke_sheets-0.1.10-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 433dd160d9dc8e06491ecd011257e810ae2f71f6daeef2ed4c07f4d03b62f7c7
MD5 c79f00a9c16ade73b8c076fc333d69dd
BLAKE2b-256 11e0a66347fbc1d2283ae02c67df0aadadbe440bc9df589e3253c833dbd44f7a

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for duke_sheets-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4126a3b71ede6bc0159ad7322cc88dd6b7546ccadf3f014867720c30fae88dd1
MD5 9f9b4680e8b792211b78fedb34ab40a7
BLAKE2b-256 2bbedee90152f6e139d79386e01ab11239d48d78a214427f7ae6eebe633c02f8

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page