XlsxWriter 3.2.9__tar.gz → 3.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/Changes +101 -0
  2. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/LICENSE.txt +1 -1
  3. xlsxwriter-3.3.1/MANIFEST.in +4 -0
  4. {xlsxwriter-3.2.9/xlsxwriter.egg-info → xlsxwriter-3.3.1}/PKG-INFO +12 -15
  5. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/array_formula.py +1 -1
  6. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/autofilter.py +19 -21
  7. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/autofit.py +1 -1
  8. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/autofit_manually.py +1 -1
  9. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/background.py +1 -1
  10. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/cell_indentation.py +1 -1
  11. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart.py +1 -1
  12. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_area.py +1 -1
  13. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_bar.py +1 -1
  14. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_clustered.py +1 -1
  15. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_column.py +1 -1
  16. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_combined.py +1 -1
  17. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_data_labels.py +1 -1
  18. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_data_table.py +1 -1
  19. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_data_tools.py +1 -1
  20. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_date_axis.py +1 -1
  21. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_doughnut.py +1 -1
  22. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_gauge.py +1 -1
  23. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_gradient.py +1 -1
  24. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_line.py +1 -1
  25. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_pareto.py +1 -1
  26. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_pattern.py +1 -1
  27. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_pie.py +1 -1
  28. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_radar.py +1 -1
  29. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_scatter.py +1 -1
  30. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_secondary_axis.py +1 -1
  31. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_stock.py +1 -1
  32. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chart_styles.py +1 -1
  33. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/chartsheet.py +1 -1
  34. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/check_close.py +1 -1
  35. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/checkbox.py +1 -1
  36. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/colors.py +1 -1
  37. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/comments1.py +1 -1
  38. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/comments2.py +1 -1
  39. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/conditional_format.py +1 -1
  40. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/context_manager.py +1 -1
  41. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/data_validate.py +1 -1
  42. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/datetimes.py +1 -1
  43. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/defined_name.py +1 -1
  44. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/demo.py +1 -1
  45. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/diagonal_border.py +1 -1
  46. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/django_simple.py +1 -1
  47. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/doc_properties.py +1 -1
  48. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/dynamic_arrays.py +1 -1
  49. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/embedded_images.py +1 -1
  50. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/headers_footers.py +1 -1
  51. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/hello_world.py +1 -1
  52. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/hide_row_col.py +1 -1
  53. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/hide_sheet.py +1 -1
  54. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/http_server.py +1 -2
  55. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/hyperlink.py +1 -1
  56. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/ignore_errors.py +1 -1
  57. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/images.py +1 -1
  58. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/images_bytesio.py +3 -4
  59. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/inheritance1.py +1 -1
  60. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/inheritance2.py +1 -1
  61. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/lambda.py +1 -1
  62. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/macros.py +1 -1
  63. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/merge1.py +1 -1
  64. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/merge_rich_string.py +1 -1
  65. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/outline.py +1 -1
  66. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/outline_collapsed.py +1 -1
  67. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_autofilter.py +2 -2
  68. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_chart.py +2 -2
  69. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_chart_columns.py +1 -1
  70. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_chart_line.py +2 -2
  71. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_column_formats.py +1 -1
  72. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_conditional_format.py +2 -2
  73. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_datetime.py +2 -2
  74. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_header_format.py +1 -1
  75. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_multiple.py +1 -1
  76. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_percentage.py +1 -1
  77. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_positioning.py +1 -1
  78. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_simple.py +1 -1
  79. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/pandas_table.py +2 -2
  80. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/panes.py +4 -4
  81. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_chart.py +2 -2
  82. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_checkbox.py +1 -1
  83. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_conditional_format.py +1 -1
  84. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_format_custom.py +1 -1
  85. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_format_default.py +1 -1
  86. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_multiple.py +1 -1
  87. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_positioning.py +1 -1
  88. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_simple.py +1 -1
  89. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_sparklines.py +1 -1
  90. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/polars_xlsxwriter.py +1 -1
  91. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/rich_strings.py +1 -1
  92. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/right_to_left.py +1 -1
  93. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/sensitivity_label.py +1 -1
  94. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/sparklines1.py +1 -1
  95. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/sparklines2.py +1 -1
  96. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/tab_colors.py +1 -1
  97. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/tables.py +1 -1
  98. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/text_indent.py +1 -1
  99. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/textbox.py +1 -1
  100. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/tutorial1.py +1 -1
  101. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/tutorial2.py +1 -1
  102. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/tutorial3.py +1 -1
  103. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/unicode.py +1 -1
  104. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/unicode_polish_utf8.py +1 -1
  105. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/unicode_shift_jis.py +1 -1
  106. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/user_types1.py +1 -1
  107. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/user_types2.py +1 -1
  108. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/user_types3.py +1 -1
  109. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/vba_extract.py +9 -10
  110. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/watermark.py +1 -1
  111. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/worksheet_protection.py +1 -1
  112. xlsxwriter-3.3.1/pyproject.toml +37 -0
  113. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/setup.cfg +0 -3
  114. xlsxwriter-3.3.1/xlsxwriter/__init__.py +10 -0
  115. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/app.py +2 -2
  116. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart.py +7 -9
  117. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_area.py +2 -2
  118. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_bar.py +2 -2
  119. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_column.py +2 -2
  120. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_doughnut.py +2 -3
  121. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_line.py +2 -2
  122. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_pie.py +2 -3
  123. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_radar.py +2 -2
  124. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_scatter.py +2 -2
  125. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_stock.py +3 -7
  126. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chart_title.py +1 -1
  127. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/chartsheet.py +4 -5
  128. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/color.py +1 -1
  129. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/comments.py +8 -5
  130. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/contenttypes.py +2 -2
  131. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/core.py +2 -2
  132. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/custom.py +2 -2
  133. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/drawing.py +5 -10
  134. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/exceptions.py +5 -1
  135. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/feature_property_bag.py +2 -2
  136. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/format.py +47 -11
  137. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/image.py +35 -18
  138. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/metadata.py +2 -2
  139. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/packager.py +35 -41
  140. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/relationships.py +2 -2
  141. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/rich_value.py +2 -3
  142. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/rich_value_rel.py +2 -2
  143. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/rich_value_structure.py +2 -2
  144. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/rich_value_types.py +2 -2
  145. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/shape.py +1 -1
  146. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/sharedstrings.py +3 -3
  147. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/styles.py +30 -12
  148. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/table.py +42 -2
  149. xlsxwriter-3.3.1/xlsxwriter/theme.py +69 -0
  150. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/url.py +9 -8
  151. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/utility.py +36 -9
  152. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/vml.py +10 -8
  153. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/workbook.py +224 -66
  154. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/worksheet.py +525 -364
  155. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter/xmlwriter.py +2 -2
  156. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1/xlsxwriter.egg-info}/PKG-INFO +12 -15
  157. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter.egg-info/SOURCES.txt +1 -2
  158. xlsxwriter-3.2.9/MANIFEST.in +0 -9
  159. xlsxwriter-3.2.9/setup.py +0 -35
  160. xlsxwriter-3.2.9/xlsxwriter/__init__.py +0 -10
  161. xlsxwriter-3.2.9/xlsxwriter/theme.py +0 -69
  162. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/README.rst +0 -0
  163. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/autofilter_data.txt +0 -0
  164. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/unicode_polish_utf8.txt +0 -0
  165. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/unicode_shift_jis.txt +0 -0
  166. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/examples/vbaProject.bin +0 -0
  167. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter.egg-info/dependency_links.txt +0 -0
  168. {xlsxwriter-3.2.9 → xlsxwriter-3.3.1}/xlsxwriter.egg-info/top_level.txt +0 -0
@@ -1,4 +1,105 @@
1
1
 
2
+ Release 3.3.1 - October 28 2026
3
+ -------------------------------
4
+
5
+ * Fixed performance issue where positioning objects such as images and comments
6
+ on a worksheet with a custom default row height.
7
+
8
+ :issue:`1210`.
9
+
10
+ * Fixed a (different) performance issue where positioning a large number of
11
+ objects such as comments on a worksheet with custom row heights or column
12
+ widths.
13
+
14
+ :issue:`1217`.
15
+
16
+ * Fixed off by one error in the worksheet :func:`set_first_sheet()` method.
17
+
18
+ :issue:`1187`.
19
+
20
+ * Fixed issue where :func:`autofit()` hid a column that had a user defined
21
+ width narrower than the autofit width.
22
+
23
+ :issue:`1219`.
24
+
25
+ * Fixed issue where :func:`add_table()` didn't detect a duplicate header name
26
+ when a user defined header matched a default ``ColumnN`` header.
27
+
28
+ :issue:`1215`.
29
+
30
+ * Fixed issue where the ``strings_to_formulas`` Workbook option didn't prevent
31
+ :func:`write()` from converting strings like ``{=SUM(A1:B1*A2:B2)}`` to
32
+ array formulas.
33
+
34
+ :issue:`1212`.
35
+
36
+ * Fixed :func:`set_column()` rounding a half-pixel width to the nearest even
37
+ pixel, which made some widths one pixel narrower than in 3.2.9.
38
+
39
+ :issue:`1221`.
40
+
41
+ * Fixed unescaped double quotes, and incorrect string lengths for characters
42
+ such as emojis, in ``text`` type conditional formats.
43
+
44
+ :issue:`1206`.
45
+
46
+ * Fixed issue where "future" functions such as ``ISFORMULA()`` weren't prefixed
47
+ with ``_xlfn.`` in :func:`conditional_format()` and :func:`data_validation()`
48
+ formulas. See :ref:`formula_future`.
49
+
50
+ :issue:`1171`.
51
+
52
+ * Fixed Excel string length limit checks for strings with characters such as
53
+ emojis, which Excel counts as 2 characters.
54
+
55
+
56
+ Release 3.3.0 - October 22 2026
57
+ -------------------------------
58
+
59
+ * Added the :func:`set_zoom_to_fit()` method for chartsheets. It ensures that a
60
+ chartsheet is zoomed automatically by Excel to fit the screen even when the
61
+ window is resized.
62
+
63
+ * Added alt text ``description`` and ``title`` options to worksheet Tables.
64
+
65
+ * Added the :func:`use_custom_theme()` method to change the default workbook
66
+ theme to a user supplied ``.thmx``, ``.xlsx`` or ``theme1.xml`` file, along
67
+ with the ``default_format_properties``, ``default_row_height`` and
68
+ ``default_column_width`` constructor options to change the default font and
69
+ cell size to match the theme.
70
+
71
+ :feature:`1163`.
72
+
73
+ * Changed the exception raised for an unsupported ``source`` type in
74
+ ``Image()`` and an unsupported ``theme`` type in ``use_custom_theme()`` from
75
+ ``ValueError`` to ``TypeError``.
76
+
77
+ * Fixed issue where conditional format rule priorities were out of order when a
78
+ cell range was repeated after a different range. The priorities now follow
79
+ the order in which the rules were added.
80
+
81
+ * Fixed issue where ``autofilter()`` didn't check that the range was within
82
+ the worksheet limits, which could produce a corrupt file for large
83
+ worksheets.
84
+
85
+ :issue:`1179`.
86
+
87
+ * Fixed spurious "Invalid cell reference" warning when a chart series used a
88
+ defined name with a sheet reference.
89
+
90
+ :issue:`1173`.
91
+
92
+ * Fixed the width and height detection for large GIF images and for top-down
93
+ BMP images, and added extra image dimension validation.
94
+
95
+ :pull:`1188` and :pull:`1189`.
96
+
97
+ * Migrated the packaging configuration from ``setup.py`` to ``pyproject.toml``
98
+ with the license declared as a PEP 639 SPDX expression.
99
+
100
+ :issue:`1201`.
101
+
102
+
2
103
  Release 3.2.9 - September 16 2025
3
104
  ---------------------------------
4
105
 
@@ -1,6 +1,6 @@
1
1
  BSD 2-Clause License
2
2
 
3
- Copyright (c) 2013-2025, John McNamara <jmcnamara@cpan.org>
3
+ Copyright (c) 2013-2026, John McNamara <jmcnamara@cpan.org>
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without
@@ -0,0 +1,4 @@
1
+ include Changes
2
+ include examples/*.py
3
+ include examples/*.txt
4
+ include examples/*.bin
@@ -1,13 +1,15 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: xlsxwriter
3
- Version: 3.2.9
3
+ Version: 3.3.1
4
4
  Summary: A Python module for creating Excel XLSX files.
5
- Home-page: https://github.com/jmcnamara/XlsxWriter
6
- Author: John McNamara
7
- Author-email: jmcnamara@cpan.org
8
- License: BSD-2-Clause
5
+ Author-email: John McNamara <jmcnamara@cpan.org>
6
+ License-Expression: BSD-2-Clause
7
+ Project-URL: Homepage, https://github.com/jmcnamara/XlsxWriter
8
+ Project-URL: Documentation, https://xlsxwriter.readthedocs.io
9
+ Project-URL: Repository, https://github.com/jmcnamara/XlsxWriter
10
+ Project-URL: Issues, https://github.com/jmcnamara/XlsxWriter/issues
11
+ Project-URL: Changelog, https://github.com/jmcnamara/XlsxWriter/blob/main/Changes
9
12
  Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: License :: OSI Approved :: BSD License
11
13
  Classifier: Programming Language :: Python
12
14
  Classifier: Programming Language :: Python :: 3 :: Only
13
15
  Classifier: Programming Language :: Python :: 3
@@ -17,16 +19,11 @@ Classifier: Programming Language :: Python :: 3.10
17
19
  Classifier: Programming Language :: Python :: 3.11
18
20
  Classifier: Programming Language :: Python :: 3.12
19
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
20
23
  Requires-Python: >=3.8
24
+ Description-Content-Type: text/x-rst
21
25
  License-File: LICENSE.txt
22
- Dynamic: author
23
- Dynamic: author-email
24
- Dynamic: classifier
25
- Dynamic: description
26
- Dynamic: home-page
27
- Dynamic: license
28
- Dynamic: requires-python
29
- Dynamic: summary
26
+ Dynamic: license-file
30
27
 
31
28
  XlsxWriter
32
29
  ==========
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -8,7 +8,7 @@
8
8
  #
9
9
  # SPDX-License-Identifier: BSD-2-Clause
10
10
  #
11
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
11
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
12
12
  #
13
13
  import xlsxwriter
14
14
 
@@ -27,26 +27,24 @@ worksheet7 = workbook.add_worksheet()
27
27
  bold = workbook.add_format({"bold": 1})
28
28
 
29
29
  # Open a text file with autofilter example data.
30
- textfile = open("autofilter_data.txt", encoding="utf-8")
31
-
32
- # Read the headers from the first line of the input file.
33
- headers = textfile.readline().strip("\n").split()
34
-
35
-
36
- # Read the text file and store the field data.
37
- data = []
38
- for line in textfile:
39
- # Split the input data based on whitespace.
40
- row_data = line.strip("\n").split()
41
-
42
- # Convert the number data from the text file.
43
- for i, item in enumerate(row_data):
44
- try:
45
- row_data[i] = float(item)
46
- except ValueError:
47
- pass
48
-
49
- data.append(row_data)
30
+ with open("autofilter_data.txt", encoding="utf-8") as textfile:
31
+ # Read the headers from the first line of the input file.
32
+ headers = textfile.readline().strip("\n").split()
33
+
34
+ # Read the text file and store the field data.
35
+ data = []
36
+ for line in textfile:
37
+ # Split the input data based on whitespace.
38
+ row_data = line.strip("\n").split()
39
+
40
+ # Convert the number data from the text file.
41
+ for i, item in enumerate(row_data):
42
+ try:
43
+ row_data[i] = float(item)
44
+ except ValueError:
45
+ pass
46
+
47
+ data.append(row_data)
50
48
 
51
49
 
52
50
  # Set up several sheets with the same data.
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  from xlsxwriter.workbook import Workbook
11
11
 
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # SPDX-License-Identifier: BSD-2-Clause
9
9
  #
10
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
10
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
11
11
  #
12
12
  from functools import reduce
13
13
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # SPDX-License-Identifier: BSD-2-Clause
8
8
  #
9
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
9
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
10
10
  #
11
11
  import xlsxwriter
12
12
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  from xlsxwriter.workbook import Workbook
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  from xlsxwriter.workbook import Workbook
10
10
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -8,7 +8,7 @@
8
8
  #
9
9
  # SPDX-License-Identifier: BSD-2-Clause
10
10
  #
11
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
11
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
12
12
  #
13
13
  import xlsxwriter
14
14
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
 
11
11
  from datetime import date
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # SPDX-License-Identifier: BSD-2-Clause
12
12
  #
13
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
13
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
14
14
  #
15
15
  import xlsxwriter
16
16
 
@@ -9,7 +9,7 @@
9
9
  #
10
10
  # SPDX-License-Identifier: BSD-2-Clause
11
11
  #
12
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
12
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
13
13
  #
14
14
  import xlsxwriter
15
15
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # SPDX-License-Identifier: BSD-2-Clause
12
12
  #
13
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
13
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
14
14
  #
15
15
  import xlsxwriter
16
16
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  from datetime import datetime
10
10
 
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # SPDX-License-Identifier: BSD-2-Clause
8
8
  #
9
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
9
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
10
10
  #
11
11
  import xlsxwriter
12
12
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
  from xlsxwriter.color import Color
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # SPDX-License-Identifier: BSD-2-Clause
9
9
  #
10
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
10
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
11
11
  #
12
12
  import xlsxwriter
13
13
 
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # SPDX-License-Identifier: BSD-2-Clause
9
9
  #
10
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
10
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
11
11
  #
12
12
  import xlsxwriter
13
13
 
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # SPDX-License-Identifier: BSD-2-Clause
9
9
  #
10
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
10
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
11
11
  #
12
12
  import xlsxwriter
13
13
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # SPDX-License-Identifier: BSD-2-Clause
12
12
  #
13
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
13
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
14
14
  #
15
15
  from datetime import date, time
16
16
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  from datetime import datetime
11
11
 
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # SPDX-License-Identifier: BSD-2-Clause
9
9
  #
10
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
10
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
11
11
  #
12
12
  import xlsxwriter
13
13
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  import xlsxwriter
11
11
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # SPDX-License-Identifier: BSD-2-Clause
7
7
  #
8
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
8
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
9
9
  #
10
10
  # pylint: skip-file
11
11
 
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # SPDX-License-Identifier: BSD-2-Clause
6
6
  #
7
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
7
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
8
8
  #
9
9
  import xlsxwriter
10
10
 
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # SPDX-License-Identifier: BSD-2-Clause
9
9
  #
10
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
10
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
11
11
  #
12
12
  import xlsxwriter
13
13