Skip to main content

A Python library to write XLSB files.

Project description

Python XLSB Writer

A Python library for writing large data sets to XLSB files efficiently.

Installation

pip install pyxlsbwriter

Usage

from pyxlsbwriter import XlsbWriter
import datetime
from decimal import Decimal

data = [
    ["Name", "Age", "City", "info"],
    [-123, 2147483647, 2147483648, 2147483999],
    ["x", "y", "z", datetime.datetime.today()],
    ["Alice", 25, "New York", datetime.date.today()],
    ["Bob", 30, "London", Decimal(3.14)],
    ["Charlie", 35, "Paris", datetime.datetime.now()],
    [True, False, None, datetime.datetime.utcnow()]
]

writer = XlsbWriter("test.xlsb")
writer.add_sheet("Sheet1")
writer.write_sheet(data)
writer.save()

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

pyxlsbwriter-0.0.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

pyxlsbwriter-0.0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pyxlsbwriter-0.0.1.tar.gz.

File metadata

  • Download URL: pyxlsbwriter-0.0.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyxlsbwriter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2e467387137e4609ea7537e04d71b38e34a2d44f71c4ab338e184299ab842bac
MD5 ac29ff211064c5f3f053fc38d93289ba
BLAKE2b-256 6083d0fa31c59febebf04753fa2dc36c38532304c0d63126bbab9920edfa9dff

See more details on using hashes here.

File details

Details for the file pyxlsbwriter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyxlsbwriter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyxlsbwriter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afb5478935d815391c9ca59678bebb8a6ade64a16fff2b6d5e1c6915703fcad0
MD5 8df77b29415bd9021d6b246deaf359fb
BLAKE2b-256 968613a47418e126d7aff160af18e785d6766024d7c902103c444de6af7c90b3

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