mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #510] Feature Request: Streaming writes to XLSX file #397
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#397
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evanefsvals on GitHub (Mar 23, 2026).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/510
Hi,
Is there a streaming writes functionality for large data writes to an XLSX file?
If not, could that be implemented?
Kind regards,
Evangelos
@jmcnamara commented on GitHub (Mar 23, 2026):
That functionality isn't available and it isn't easy to add.
There are two issues that would need to be resolved to enable this. The first is that it would require a streaming zip library in C. I believe these exist but supporting them would require rewriting the backend of libxlsxwriter. The second is that the xlsx format contains XML elements that can only be created when the entire file is ready to be finalized, so streaming an intermediary version isn't feasible. It is probably technically possible to do it but with a high degree of difficulty and work. Xlsx isn't a simple file format like CSV which can be streamed as it is written.
So, for these reasons, streaming is unlikely to be supported.