You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for the incredible work on python-docx ! It’s been such a reliable library for creating and handling Word documents, and I use it extensively in my projects.
I’m reaching out because I’ve run into a bit of a challenge with a specific workflow. In my use case, I generate documents dynamically and upload them to S3. Right now, I’m using a "file-part" approach: I generate a portion of the document, upload that part to S3, then later reassemble all the parts to create the final document.
This works, but it’s a bit clunky. The main issue is that I still have to generate parts of the document in memory before I can upload them. If I could stream the document content as it’s being generated, it would simplify things so much. I’m thinking of something similar to how video streaming works—you don’t wait for the whole file to be ready, you just send data as it’s created.
Here’s why streaming would be a game-changer:
Simpler workflows: No more splitting files or managing reassembly logic.
Lower memory usage: I wouldn’t need to hold big chunks of the document in memory or create temporary files.
Real-time uploads: This would let me generate and upload content on the fly, which is perfect for large or dynamic documents.
Thank you so much for considering this request, and thanks again for all the effort that goes into maintaining and improving this library!
Best regards,
The text was updated successfully, but these errors were encountered:
Hi there,
First off, thank you for the incredible work on python-docx ! It’s been such a reliable library for creating and handling Word documents, and I use it extensively in my projects.
I’m reaching out because I’ve run into a bit of a challenge with a specific workflow. In my use case, I generate documents dynamically and upload them to S3. Right now, I’m using a "file-part" approach: I generate a portion of the document, upload that part to S3, then later reassemble all the parts to create the final document.
This works, but it’s a bit clunky. The main issue is that I still have to generate parts of the document in memory before I can upload them. If I could stream the document content as it’s being generated, it would simplify things so much. I’m thinking of something similar to how video streaming works—you don’t wait for the whole file to be ready, you just send data as it’s created.
Here’s why streaming would be a game-changer:
Thank you so much for considering this request, and thanks again for all the effort that goes into maintaining and improving this library!
Best regards,
The text was updated successfully, but these errors were encountered: