Skip to main content

No project description provided

Project description

turboxlsx

high performance python library to write xlsx file by rust pyo3

Usage

from turboxlsx import BookWriter

book = BookWriter(name="test.xlsx")

# first sheet with headers, 2 columns
book.add_sheet("my1", ["col1", "col2"])
book.add_column_str(0, ["hello", "world"])
book.add_column_str(0, ["hello", "world", "grey"])

# second sheet with headers, 2 columnds
book.add_sheet("test", [])
book.add_column_number(1, [i for i in range(10)])
book.add_column_number(1, [i * 10 for i in range(20)])

# save workbook
book.save()

Development

# activate python environment
source ~/envs/jupy12/bin/activate
# install maturin
pip install --upgrade maturin

maturin init
# choose pyo3

# change Cargo.toml features to 
# features = ["abi3-py38"]

maturin develop

# begin release *whl
maturin build --release

# begin publish to pypi
maturin publish

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

turboxlsx-1.0.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

turboxlsx-1.0.0-cp38-abi3-manylinux_2_34_x86_64.whl (732.8 kB view details)

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

File details

Details for the file turboxlsx-1.0.0.tar.gz.

File metadata

  • Download URL: turboxlsx-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for turboxlsx-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ca58ba0d6c243761451ee09e8e3ec5591710b99a800c24139c68e8904f124ea1
MD5 14c6cb7da15fb630cf04a049194f643f
BLAKE2b-256 6b794ac8146c8b51aae9de64228c6f7ed8ee3c30eedd1e99c092a4511d9f9e1f

See more details on using hashes here.

File details

Details for the file turboxlsx-1.0.0-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for turboxlsx-1.0.0-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5f0a8cbbc937b182b6959d19ce8b86284997dca1fdca12ce6dbe9322c9eb87f6
MD5 caa836023962c00b78b9b1f39db166d0
BLAKE2b-256 456f43c04e07666346e91aec97ad014abc6b9794f6379d6ce4448689795092f9

See more details on using hashes here.

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