-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XlsxWriter Roadmap v2 #1028
Comments
@jmcnamara Would you consider having the next version just rely on the Rust version through |
I don't think that would be practical from a maintenance point of view or desirable from an end user point of view. At the moment the Python version has zero dependencies and more functionality than the Rust version. However, I would see scope for a "lite" version of XlsxWriter + |
Makes sense, thanks for the info! I think a minimal version for compatibility with Polars/Pandas would be great. Polars also recently added support for Calamine as a reader, so I feel this is something that might be pretty open to as well. |
That is good to know.
Polars could take the Rust version directly. I wrote polars_excel_writer as a prototype for that and there has been some initial engagement with the Polars folks here. For Pandas I started a PYO3 wrapper called xlsxwriter_lite. However, that is currently very rudimentary. |
We've been thinking about taking |
Eventually, the Rust version may have equal or greater functionality than the Python version. But I fully agree with @jmcnamara that having zero dependencies is desirable. In fact, it is a lifeline for those of us who want to use the full capabilities of XlsxWriter on systems with Python but no support for Rust. Even for systems that do support Rust, there will be some users who find the pure-Python XlsxWriter fast enough for their needs and would rather not introduce extra downloads or dependencies. |
I just wanted to add a +1 for type annotations! Following this issue with great interest ^^ |
As part of the XlsxWriter 2 refactoring I'm looking for comments on: Refactoring of return values to Enums or Exceptions #1100 |
Previous roadmap
XlsxWriter is almost 10 years old. The first version was released was in February 17 2013. According to pypinfo it has around 12 million monthly downloads so it is probably fair to say that it has been useful.
Recently I have been porting/rewriting XlsxWriter in Rust and it has been an interesting experience. When I'm finished with the Rust port, sometime near the end of 2024, I'd like to revisit XlsxWriter and bring it up to date with modern Python and practice. Some ideas:
worksheet.insert_image_fit_to_cell()
method easier to implement.autofit()
.The text was updated successfully, but these errors were encountered: