XlsxWriter 3.2.9__tar.gz → 3.3.0__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.0}/Changes +47 -0
  2. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/LICENSE.txt +1 -1
  3. xlsxwriter-3.3.0/MANIFEST.in +4 -0
  4. {xlsxwriter-3.2.9/xlsxwriter.egg-info → xlsxwriter-3.3.0}/PKG-INFO +12 -15
  5. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/array_formula.py +1 -1
  6. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/autofilter.py +19 -21
  7. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/autofit.py +1 -1
  8. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/autofit_manually.py +1 -1
  9. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/background.py +1 -1
  10. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/cell_indentation.py +1 -1
  11. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart.py +1 -1
  12. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_area.py +1 -1
  13. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_bar.py +1 -1
  14. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_clustered.py +1 -1
  15. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_column.py +1 -1
  16. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_combined.py +1 -1
  17. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_data_labels.py +1 -1
  18. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_data_table.py +1 -1
  19. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_data_tools.py +1 -1
  20. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_date_axis.py +1 -1
  21. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_doughnut.py +1 -1
  22. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_gauge.py +1 -1
  23. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_gradient.py +1 -1
  24. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_line.py +1 -1
  25. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_pareto.py +1 -1
  26. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_pattern.py +1 -1
  27. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_pie.py +1 -1
  28. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_radar.py +1 -1
  29. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_scatter.py +1 -1
  30. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_secondary_axis.py +1 -1
  31. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_stock.py +1 -1
  32. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chart_styles.py +1 -1
  33. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/chartsheet.py +1 -1
  34. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/check_close.py +1 -1
  35. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/checkbox.py +1 -1
  36. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/colors.py +1 -1
  37. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/comments1.py +1 -1
  38. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/comments2.py +1 -1
  39. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/conditional_format.py +1 -1
  40. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/context_manager.py +1 -1
  41. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/data_validate.py +1 -1
  42. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/datetimes.py +1 -1
  43. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/defined_name.py +1 -1
  44. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/demo.py +1 -1
  45. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/diagonal_border.py +1 -1
  46. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/django_simple.py +1 -1
  47. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/doc_properties.py +1 -1
  48. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/dynamic_arrays.py +1 -1
  49. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/embedded_images.py +1 -1
  50. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/headers_footers.py +1 -1
  51. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/hello_world.py +1 -1
  52. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/hide_row_col.py +1 -1
  53. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/hide_sheet.py +1 -1
  54. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/http_server.py +1 -2
  55. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/hyperlink.py +1 -1
  56. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/ignore_errors.py +1 -1
  57. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/images.py +1 -1
  58. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/images_bytesio.py +3 -4
  59. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/inheritance1.py +1 -1
  60. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/inheritance2.py +1 -1
  61. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/lambda.py +1 -1
  62. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/macros.py +1 -1
  63. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/merge1.py +1 -1
  64. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/merge_rich_string.py +1 -1
  65. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/outline.py +1 -1
  66. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/outline_collapsed.py +1 -1
  67. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_autofilter.py +2 -2
  68. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_chart.py +2 -2
  69. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_chart_columns.py +1 -1
  70. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_chart_line.py +2 -2
  71. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_column_formats.py +1 -1
  72. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_conditional_format.py +2 -2
  73. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_datetime.py +2 -2
  74. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_header_format.py +1 -1
  75. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_multiple.py +1 -1
  76. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_percentage.py +1 -1
  77. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_positioning.py +1 -1
  78. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_simple.py +1 -1
  79. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/pandas_table.py +2 -2
  80. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/panes.py +4 -4
  81. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_chart.py +2 -2
  82. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_checkbox.py +1 -1
  83. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_conditional_format.py +1 -1
  84. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_format_custom.py +1 -1
  85. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_format_default.py +1 -1
  86. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_multiple.py +1 -1
  87. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_positioning.py +1 -1
  88. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_simple.py +1 -1
  89. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_sparklines.py +1 -1
  90. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/polars_xlsxwriter.py +1 -1
  91. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/rich_strings.py +1 -1
  92. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/right_to_left.py +1 -1
  93. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/sensitivity_label.py +1 -1
  94. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/sparklines1.py +1 -1
  95. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/sparklines2.py +1 -1
  96. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/tab_colors.py +1 -1
  97. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/tables.py +1 -1
  98. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/text_indent.py +1 -1
  99. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/textbox.py +1 -1
  100. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/tutorial1.py +1 -1
  101. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/tutorial2.py +1 -1
  102. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/tutorial3.py +1 -1
  103. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/unicode.py +1 -1
  104. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/unicode_polish_utf8.py +1 -1
  105. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/unicode_shift_jis.py +1 -1
  106. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/user_types1.py +1 -1
  107. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/user_types2.py +1 -1
  108. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/user_types3.py +1 -1
  109. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/vba_extract.py +9 -10
  110. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/watermark.py +1 -1
  111. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/worksheet_protection.py +1 -1
  112. xlsxwriter-3.3.0/pyproject.toml +37 -0
  113. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/setup.cfg +0 -3
  114. xlsxwriter-3.3.0/xlsxwriter/__init__.py +10 -0
  115. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/app.py +2 -2
  116. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart.py +7 -9
  117. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_area.py +2 -2
  118. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_bar.py +2 -2
  119. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_column.py +2 -2
  120. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_doughnut.py +2 -3
  121. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_line.py +2 -2
  122. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_pie.py +2 -3
  123. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_radar.py +2 -2
  124. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_scatter.py +2 -2
  125. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_stock.py +3 -7
  126. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chart_title.py +1 -1
  127. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/chartsheet.py +4 -5
  128. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/color.py +1 -1
  129. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/comments.py +8 -5
  130. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/contenttypes.py +2 -2
  131. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/core.py +2 -2
  132. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/custom.py +2 -2
  133. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/drawing.py +5 -10
  134. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/exceptions.py +5 -1
  135. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/feature_property_bag.py +2 -2
  136. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/format.py +47 -11
  137. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/image.py +35 -18
  138. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/metadata.py +2 -2
  139. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/packager.py +35 -41
  140. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/relationships.py +2 -2
  141. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/rich_value.py +2 -3
  142. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/rich_value_rel.py +2 -2
  143. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/rich_value_structure.py +2 -2
  144. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/rich_value_types.py +2 -2
  145. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/shape.py +1 -1
  146. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/sharedstrings.py +3 -3
  147. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/styles.py +30 -12
  148. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/table.py +42 -2
  149. xlsxwriter-3.3.0/xlsxwriter/theme.py +69 -0
  150. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/url.py +2 -2
  151. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/utility.py +5 -9
  152. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/vml.py +10 -8
  153. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/workbook.py +211 -58
  154. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/worksheet.py +424 -314
  155. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter/xmlwriter.py +2 -2
  156. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0/xlsxwriter.egg-info}/PKG-INFO +12 -15
  157. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/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.0}/README.rst +0 -0
  163. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/autofilter_data.txt +0 -0
  164. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/unicode_polish_utf8.txt +0 -0
  165. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/unicode_shift_jis.txt +0 -0
  166. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/examples/vbaProject.bin +0 -0
  167. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter.egg-info/dependency_links.txt +0 -0
  168. {xlsxwriter-3.2.9 → xlsxwriter-3.3.0}/xlsxwriter.egg-info/top_level.txt +0 -0
@@ -1,4 +1,51 @@
1
1
 
2
+ Release 3.3.0 - October 22 2026
3
+ -------------------------------
4
+
5
+ * Added the :func:`set_zoom_to_fit()` method for chartsheets. It ensures that a
6
+ chartsheet is zoomed automatically by Excel to fit the screen even when the
7
+ window is resized.
8
+
9
+ * Added alt text ``description`` and ``title`` options to worksheet Tables.
10
+
11
+ * Added the :func:`use_custom_theme()` method to change the default workbook
12
+ theme to a user supplied ``.thmx``, ``.xlsx`` or ``theme1.xml`` file, along
13
+ with the ``default_format_properties``, ``default_row_height`` and
14
+ ``default_column_width`` constructor options to change the default font and
15
+ cell size to match the theme.
16
+
17
+ :feature:`1163`.
18
+
19
+ * Changed the exception raised for an unsupported ``source`` type in
20
+ ``Image()`` and an unsupported ``theme`` type in ``use_custom_theme()`` from
21
+ ``ValueError`` to ``TypeError``.
22
+
23
+ * Fixed issue where conditional format rule priorities were out of order when a
24
+ cell range was repeated after a different range. The priorities now follow
25
+ the order in which the rules were added.
26
+
27
+ * Fixed issue where ``autofilter()`` didn't check that the range was within
28
+ the worksheet limits, which could produce a corrupt file for large
29
+ worksheets.
30
+
31
+ :issue:`1179`.
32
+
33
+ * Fixed spurious "Invalid cell reference" warning when a chart series used a
34
+ defined name with a sheet reference.
35
+
36
+ :issue:`1173`.
37
+
38
+ * Fixed the width and height detection for large GIF images and for top-down
39
+ BMP images, and added extra image dimension validation.
40
+
41
+ :issue:`1188` and :issue:`1189`.
42
+
43
+ * Migrated the packaging configuration from ``setup.py`` to ``pyproject.toml``
44
+ with the license declared as a PEP 639 SPDX expression.
45
+
46
+ :issue:`1201`.
47
+
48
+
2
49
  Release 3.2.9 - September 16 2025
3
50
  ---------------------------------
4
51
 
@@ -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.0
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
 
@@ -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
 
@@ -35,7 +35,7 @@
35
35
  #
36
36
  # SPDX-License-Identifier: BSD-2-Clause
37
37
  #
38
- # Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org
38
+ # Copyright (c) 2013-2026, John McNamara, jmcnamara@cpan.org
39
39
  #
40
40
  import xlsxwriter
41
41
 
@@ -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
 
@@ -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