itables 2.2.2__tar.gz → 2.2.3__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 (127) hide show
  1. {itables-2.2.2 → itables-2.2.3}/.github/workflows/continuous-integration.yml +3 -3
  2. {itables-2.2.2 → itables-2.2.3}/PKG-INFO +2 -1
  3. {itables-2.2.2 → itables-2.2.3}/docs/changelog.md +11 -0
  4. {itables-2.2.2 → itables-2.2.3}/environment.yml +0 -1
  5. {itables-2.2.2 → itables-2.2.3}/packages/itables_for_streamlit/package-lock.json +10 -10
  6. {itables-2.2.2 → itables-2.2.3}/pyproject.toml +1 -0
  7. itables-2.2.3/src/itables/html/column_filters/pre_dt_code.js +8 -0
  8. {itables-2.2.2 → itables-2.2.3}/src/itables/javascript.py +2 -8
  9. {itables-2.2.2 → itables-2.2.3}/src/itables/version.py +1 -1
  10. itables-2.2.2/src/itables/html/column_filters/pre_dt_code.js +0 -9
  11. {itables-2.2.2 → itables-2.2.3}/.github/codecov.yml +0 -0
  12. {itables-2.2.2 → itables-2.2.3}/.github/workflows/comment-pr.yml +0 -0
  13. {itables-2.2.2 → itables-2.2.3}/.github/workflows/publish-book.yml +0 -0
  14. {itables-2.2.2 → itables-2.2.3}/.github/workflows/publish.yml +0 -0
  15. {itables-2.2.2 → itables-2.2.3}/.gitignore +0 -0
  16. {itables-2.2.2 → itables-2.2.3}/.pre-commit-config.yaml +0 -0
  17. {itables-2.2.2 → itables-2.2.3}/.pylintrc +0 -0
  18. {itables-2.2.2 → itables-2.2.3}/LICENSE +0 -0
  19. {itables-2.2.2 → itables-2.2.3}/README.md +0 -0
  20. {itables-2.2.2 → itables-2.2.3}/binder/labconfig/default_setting_overrides.json +0 -0
  21. {itables-2.2.2 → itables-2.2.3}/binder/postBuild +0 -0
  22. {itables-2.2.2 → itables-2.2.3}/binder/requirements.txt +0 -0
  23. {itables-2.2.2 → itables-2.2.3}/docs/_config.yml +0 -0
  24. {itables-2.2.2 → itables-2.2.3}/docs/_toc.yml +0 -0
  25. {itables-2.2.2 → itables-2.2.3}/docs/advanced_parameters.md +0 -0
  26. {itables-2.2.2 → itables-2.2.3}/docs/contributing.md +0 -0
  27. {itables-2.2.2 → itables-2.2.3}/docs/custom_css.md +0 -0
  28. {itables-2.2.2 → itables-2.2.3}/docs/custom_extensions.md +0 -0
  29. {itables-2.2.2 → itables-2.2.3}/docs/dark_mode.md +0 -0
  30. {itables-2.2.2 → itables-2.2.3}/docs/dash.md +0 -0
  31. {itables-2.2.2 → itables-2.2.3}/docs/developing.md +0 -0
  32. {itables-2.2.2 → itables-2.2.3}/docs/df_example.png +0 -0
  33. {itables-2.2.2 → itables-2.2.3}/docs/downsampling.md +0 -0
  34. {itables-2.2.2 → itables-2.2.3}/docs/extensions.md +0 -0
  35. {itables-2.2.2 → itables-2.2.3}/docs/formatting.md +0 -0
  36. {itables-2.2.2 → itables-2.2.3}/docs/html_export.md +0 -0
  37. {itables-2.2.2 → itables-2.2.3}/docs/images/code.png +0 -0
  38. {itables-2.2.2 → itables-2.2.3}/docs/images/colab.png +0 -0
  39. {itables-2.2.2 → itables-2.2.3}/docs/images/html.png +0 -0
  40. {itables-2.2.2 → itables-2.2.3}/docs/images/lab.png +0 -0
  41. {itables-2.2.2 → itables-2.2.3}/docs/images/notebook.png +0 -0
  42. {itables-2.2.2 → itables-2.2.3}/docs/images/pycharm.png +0 -0
  43. {itables-2.2.2 → itables-2.2.3}/docs/pandas_style.md +0 -0
  44. {itables-2.2.2 → itables-2.2.3}/docs/polars_dataframes.md +0 -0
  45. {itables-2.2.2 → itables-2.2.3}/docs/quarto/quarto_html.qmd +0 -0
  46. {itables-2.2.2 → itables-2.2.3}/docs/quarto/quarto_revealjs.qmd +0 -0
  47. {itables-2.2.2 → itables-2.2.3}/docs/quarto.md +0 -0
  48. {itables-2.2.2 → itables-2.2.3}/docs/quick_start.md +0 -0
  49. {itables-2.2.2 → itables-2.2.3}/docs/references.md +0 -0
  50. {itables-2.2.2 → itables-2.2.3}/docs/sample_dataframes.md +0 -0
  51. {itables-2.2.2 → itables-2.2.3}/docs/select.md +0 -0
  52. {itables-2.2.2 → itables-2.2.3}/docs/shiny.md +0 -0
  53. {itables-2.2.2 → itables-2.2.3}/docs/show_df.png +0 -0
  54. {itables-2.2.2 → itables-2.2.3}/docs/streamlit.md +0 -0
  55. {itables-2.2.2 → itables-2.2.3}/docs/supported_editors.md +0 -0
  56. {itables-2.2.2 → itables-2.2.3}/docs/troubleshooting.md +0 -0
  57. {itables-2.2.2 → itables-2.2.3}/docs/widget.md +0 -0
  58. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/CHANGELOG.md +0 -0
  59. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/LICENSE +0 -0
  60. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/README.md +0 -0
  61. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/package-lock.json +0 -0
  62. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/package.json +0 -0
  63. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/src/index.css +0 -0
  64. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/src/index.d.ts +0 -0
  65. {itables-2.2.2 → itables-2.2.3}/packages/dt_for_itables/src/index.js +0 -0
  66. {itables-2.2.2 → itables-2.2.3}/packages/itables_anywidget/README.md +0 -0
  67. {itables-2.2.2 → itables-2.2.3}/packages/itables_anywidget/js/widget.css +0 -0
  68. {itables-2.2.2 → itables-2.2.3}/packages/itables_anywidget/js/widget.ts +0 -0
  69. {itables-2.2.2 → itables-2.2.3}/packages/itables_anywidget/package-lock.json +0 -0
  70. {itables-2.2.2 → itables-2.2.3}/packages/itables_anywidget/package.json +0 -0
  71. {itables-2.2.2 → itables-2.2.3}/packages/itables_anywidget/tsconfig.json +0 -0
  72. {itables-2.2.2 → itables-2.2.3}/packages/itables_for_streamlit/README.md +0 -0
  73. {itables-2.2.2 → itables-2.2.3}/packages/itables_for_streamlit/package.json +0 -0
  74. {itables-2.2.2 → itables-2.2.3}/packages/itables_for_streamlit/public/index.html +0 -0
  75. {itables-2.2.2 → itables-2.2.3}/packages/itables_for_streamlit/src/index.tsx +0 -0
  76. {itables-2.2.2 → itables-2.2.3}/packages/itables_for_streamlit/tsconfig.json +0 -0
  77. {itables-2.2.2 → itables-2.2.3}/packages/package-lock.json +0 -0
  78. {itables-2.2.2 → itables-2.2.3}/packages/package.json +0 -0
  79. {itables-2.2.2 → itables-2.2.3}/src/itables/__init__.py +0 -0
  80. {itables-2.2.2 → itables-2.2.3}/src/itables/datatables_format.py +0 -0
  81. {itables-2.2.2 → itables-2.2.3}/src/itables/downsample.py +0 -0
  82. {itables-2.2.2 → itables-2.2.3}/src/itables/html/column_filters/initComplete.js +0 -0
  83. {itables-2.2.2 → itables-2.2.3}/src/itables/html/datatables_template.html +0 -0
  84. {itables-2.2.2 → itables-2.2.3}/src/itables/html/dt_bundle.css +0 -0
  85. {itables-2.2.2 → itables-2.2.3}/src/itables/html/dt_bundle.js +0 -0
  86. {itables-2.2.2 → itables-2.2.3}/src/itables/html/init_datatables.html +0 -0
  87. {itables-2.2.2 → itables-2.2.3}/src/itables/interactive.py +0 -0
  88. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/asset-manifest.json +0 -0
  89. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/index.html +0 -0
  90. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/static/css/main.b5025928.css +0 -0
  91. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/static/css/main.b5025928.css.map +0 -0
  92. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/static/js/main.f651d116.js +0 -0
  93. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.LICENSE.txt +0 -0
  94. {itables-2.2.2 → itables-2.2.3}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.map +0 -0
  95. {itables-2.2.2 → itables-2.2.3}/src/itables/logo/loading.svg +0 -0
  96. {itables-2.2.2 → itables-2.2.3}/src/itables/logo/logo.svg +0 -0
  97. {itables-2.2.2 → itables-2.2.3}/src/itables/logo/text.svg +0 -0
  98. {itables-2.2.2 → itables-2.2.3}/src/itables/logo/wide.svg +0 -0
  99. {itables-2.2.2 → itables-2.2.3}/src/itables/logo/with_text.svg +0 -0
  100. {itables-2.2.2 → itables-2.2.3}/src/itables/options.py +0 -0
  101. {itables-2.2.2 → itables-2.2.3}/src/itables/sample_dfs.py +0 -0
  102. {itables-2.2.2 → itables-2.2.3}/src/itables/samples/countries.csv +0 -0
  103. {itables-2.2.2 → itables-2.2.3}/src/itables/samples/indicators.csv +0 -0
  104. {itables-2.2.2 → itables-2.2.3}/src/itables/samples/population.csv +0 -0
  105. {itables-2.2.2 → itables-2.2.3}/src/itables/shiny.py +0 -0
  106. {itables-2.2.2 → itables-2.2.3}/src/itables/streamlit.py +0 -0
  107. {itables-2.2.2 → itables-2.2.3}/src/itables/utils.py +0 -0
  108. {itables-2.2.2 → itables-2.2.3}/src/itables/widget/__init__.py +0 -0
  109. {itables-2.2.2 → itables-2.2.3}/src/itables/widget/static/widget.css +0 -0
  110. {itables-2.2.2 → itables-2.2.3}/src/itables/widget/static/widget.js +0 -0
  111. {itables-2.2.2 → itables-2.2.3}/tests/__init__.py +0 -0
  112. {itables-2.2.2 → itables-2.2.3}/tests/conftest.py +0 -0
  113. {itables-2.2.2 → itables-2.2.3}/tests/test_changelog.py +0 -0
  114. {itables-2.2.2 → itables-2.2.3}/tests/test_connected_notebook_is_small.py +0 -0
  115. {itables-2.2.2 → itables-2.2.3}/tests/test_datatables_format.py +0 -0
  116. {itables-2.2.2 → itables-2.2.3}/tests/test_documentation_notebooks_run.py +0 -0
  117. {itables-2.2.2 → itables-2.2.3}/tests/test_downsample.py +0 -0
  118. {itables-2.2.2 → itables-2.2.3}/tests/test_extension_arguments.py +0 -0
  119. {itables-2.2.2 → itables-2.2.3}/tests/test_html_in_table_header.py +0 -0
  120. {itables-2.2.2 → itables-2.2.3}/tests/test_init.py +0 -0
  121. {itables-2.2.2 → itables-2.2.3}/tests/test_javascript.py +0 -0
  122. {itables-2.2.2 → itables-2.2.3}/tests/test_json_dumps.py +0 -0
  123. {itables-2.2.2 → itables-2.2.3}/tests/test_notebook.ipynb +0 -0
  124. {itables-2.2.2 → itables-2.2.3}/tests/test_pandas_style.py +0 -0
  125. {itables-2.2.2 → itables-2.2.3}/tests/test_polars.py +0 -0
  126. {itables-2.2.2 → itables-2.2.3}/tests/test_sample_dfs.py +0 -0
  127. {itables-2.2.2 → itables-2.2.3}/tests/test_update_samples.py +0 -0
@@ -40,7 +40,7 @@ jobs:
40
40
  strategy:
41
41
  fail-fast: false
42
42
  matrix:
43
- python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
43
+ python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
44
44
  pandas-version: [latest]
45
45
  numpy-version: [latest]
46
46
  include:
@@ -49,10 +49,10 @@ jobs:
49
49
  - python-version: 3.9
50
50
  pandas-version: '<2.0'
51
51
  numpy-version: '<2.0'
52
- - python-version: "3.12"
52
+ - python-version: "3.13"
53
53
  pandas-version: pre
54
54
  polars: true
55
- - python-version: "3.12"
55
+ - python-version: "3.13"
56
56
  uninstall_jinja2: true
57
57
  runs-on: ubuntu-20.04
58
58
  steps:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: itables
3
- Version: 2.2.2
3
+ Version: 2.2.3
4
4
  Summary: Pandas and Polar DataFrames as interactive DataTables
5
5
  Project-URL: Homepage, https://mwouts.github.io/itables/
6
6
  Project-URL: Documentation, https://mwouts.github.io/itables
@@ -45,6 +45,7 @@ Classifier: Programming Language :: Python :: 3.9
45
45
  Classifier: Programming Language :: Python :: 3.10
46
46
  Classifier: Programming Language :: Python :: 3.11
47
47
  Classifier: Programming Language :: Python :: 3.12
48
+ Classifier: Programming Language :: Python :: 3.13
48
49
  Requires-Python: >=3.7
49
50
  Requires-Dist: ipython
50
51
  Requires-Dist: numpy
@@ -1,6 +1,17 @@
1
1
  ITables ChangeLog
2
2
  =================
3
3
 
4
+ 2.2.3 (2024-11-01)
5
+ ------------------
6
+
7
+ **Fixed**
8
+ - Table footers continue to work when the notebook is exported to HTML ([#331](https://github.com/mwouts/itables/issues/331))
9
+ - The dependencies of the Streamlit component have been updated ([#327](https://github.com/mwouts/itables/pull/327), [#330](https://github.com/mwouts/itables/pull/330))
10
+
11
+ **Added**
12
+ - ITables is now tested with Python 3.13
13
+
14
+
4
15
  2.2.2 (2024-09-29)
5
16
  ------------------
6
17
 
@@ -1,6 +1,5 @@
1
1
  name: itables
2
2
  channels:
3
- - defaults
4
3
  - conda-forge
5
4
  dependencies:
6
5
  - nodejs
@@ -6156,9 +6156,9 @@
6156
6156
  "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="
6157
6157
  },
6158
6158
  "node_modules/cookie": {
6159
- "version": "0.6.0",
6160
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
6161
- "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
6159
+ "version": "0.7.1",
6160
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
6161
+ "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
6162
6162
  "engines": {
6163
6163
  "node": ">= 0.6"
6164
6164
  }
@@ -8055,16 +8055,16 @@
8055
8055
  }
8056
8056
  },
8057
8057
  "node_modules/express": {
8058
- "version": "4.21.0",
8059
- "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz",
8060
- "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==",
8058
+ "version": "4.21.1",
8059
+ "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz",
8060
+ "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==",
8061
8061
  "dependencies": {
8062
8062
  "accepts": "~1.3.8",
8063
8063
  "array-flatten": "1.1.1",
8064
8064
  "body-parser": "1.20.3",
8065
8065
  "content-disposition": "0.5.4",
8066
8066
  "content-type": "~1.0.4",
8067
- "cookie": "0.6.0",
8067
+ "cookie": "0.7.1",
8068
8068
  "cookie-signature": "1.0.6",
8069
8069
  "debug": "2.6.9",
8070
8070
  "depd": "2.0.0",
@@ -9128,9 +9128,9 @@
9128
9128
  }
9129
9129
  },
9130
9130
  "node_modules/http-proxy-middleware": {
9131
- "version": "2.0.6",
9132
- "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz",
9133
- "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==",
9131
+ "version": "2.0.7",
9132
+ "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz",
9133
+ "integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==",
9134
9134
  "dependencies": {
9135
9135
  "@types/http-proxy": "^1.17.8",
9136
9136
  "http-proxy": "^1.18.1",
@@ -24,6 +24,7 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.10",
25
25
  "Programming Language :: Python :: 3.11",
26
26
  "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
27
28
  ]
28
29
  requires-python = ">= 3.7"
29
30
  dependencies = ["IPython", "pandas", "numpy"]
@@ -0,0 +1,8 @@
1
+ // Setup - add a text input to each header or footer cell
2
+ $('#table_id:not(.dataTable) thead_or_tfoot th').each(function () {
3
+ var input = document.createElement("input");
4
+ input.type = "text";
5
+ input.placeholder = "Search " + $(this).text();
6
+
7
+ $(this).html(input);
8
+ });
@@ -60,12 +60,7 @@ DEFAULT_LAYOUT_CONTROLS = set(DEFAULT_LAYOUT.values())
60
60
 
61
61
 
62
62
  try:
63
- import google.colab
64
-
65
- # I can't find out how to suppress the LGTM alert about unused-import
66
- # (Tried with # lgtm[py/unused-import] # noqa: F401)
67
- # So we use the import:
68
- assert google.colab.output
63
+ import google.colab # noqa: F401
69
64
 
70
65
  GOOGLE_COLAB = True
71
66
  except ImportError:
@@ -200,8 +195,7 @@ Loading ITables v{itables_version} from {itables_source}...
200
195
  footer = ""
201
196
 
202
197
  return """<table id="{table_id}" class="{classes}" data-quarto-disable-processing="true" {style}>
203
- {tags}{header}<tbody>{tbody}</tbody>
204
- {footer}
198
+ {tags}{header}{footer}<tbody>{tbody}</tbody>
205
199
  </table>""".format(
206
200
  table_id=table_id,
207
201
  classes=classes,
@@ -1,3 +1,3 @@
1
1
  """ITables' version number"""
2
2
 
3
- __version__ = "2.2.2"
3
+ __version__ = "2.2.3"
@@ -1,9 +0,0 @@
1
- // Setup - add a text input to each header or footer cell
2
- $('#table_id:not(.dataTable) thead_or_tfoot th').each(function () {
3
- let title = $(this).text();
4
- $(this).html('<input type="text" placeholder="Search ' +
5
- // We use encodeURI to avoid this LGTM error:
6
- // https://lgtm.com/rules/1511866576920/
7
- encodeURI(title).replaceAll("%20", " ") +
8
- '" />');
9
- });
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes