itables 2.2.3__tar.gz → 2.2.4__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.4/.gitattributes +1 -0
  2. {itables-2.2.3 → itables-2.2.4}/.gitignore +3 -0
  3. {itables-2.2.3 → itables-2.2.4}/PKG-INFO +2 -2
  4. {itables-2.2.3 → itables-2.2.4}/README.md +1 -0
  5. {itables-2.2.3 → itables-2.2.4}/docs/changelog.md +8 -0
  6. {itables-2.2.3 → itables-2.2.4}/docs/quick_start.md +1 -0
  7. {itables-2.2.3 → itables-2.2.4}/packages/itables_for_streamlit/package-lock.json +14 -10
  8. {itables-2.2.3 → itables-2.2.4}/src/itables/datatables_format.py +1 -1
  9. {itables-2.2.3 → itables-2.2.4}/src/itables/javascript.py +2 -6
  10. {itables-2.2.3 → itables-2.2.4}/src/itables/version.py +1 -1
  11. {itables-2.2.3 → itables-2.2.4}/.github/codecov.yml +0 -0
  12. {itables-2.2.3 → itables-2.2.4}/.github/workflows/comment-pr.yml +0 -0
  13. {itables-2.2.3 → itables-2.2.4}/.github/workflows/continuous-integration.yml +0 -0
  14. {itables-2.2.3 → itables-2.2.4}/.github/workflows/publish-book.yml +0 -0
  15. {itables-2.2.3 → itables-2.2.4}/.github/workflows/publish.yml +0 -0
  16. {itables-2.2.3 → itables-2.2.4}/.pre-commit-config.yaml +0 -0
  17. {itables-2.2.3 → itables-2.2.4}/.pylintrc +0 -0
  18. {itables-2.2.3 → itables-2.2.4}/LICENSE +0 -0
  19. {itables-2.2.3 → itables-2.2.4}/binder/labconfig/default_setting_overrides.json +0 -0
  20. {itables-2.2.3 → itables-2.2.4}/binder/postBuild +0 -0
  21. {itables-2.2.3 → itables-2.2.4}/binder/requirements.txt +0 -0
  22. {itables-2.2.3 → itables-2.2.4}/docs/_config.yml +0 -0
  23. {itables-2.2.3 → itables-2.2.4}/docs/_toc.yml +0 -0
  24. {itables-2.2.3 → itables-2.2.4}/docs/advanced_parameters.md +0 -0
  25. {itables-2.2.3 → itables-2.2.4}/docs/contributing.md +0 -0
  26. {itables-2.2.3 → itables-2.2.4}/docs/custom_css.md +0 -0
  27. {itables-2.2.3 → itables-2.2.4}/docs/custom_extensions.md +0 -0
  28. {itables-2.2.3 → itables-2.2.4}/docs/dark_mode.md +0 -0
  29. {itables-2.2.3 → itables-2.2.4}/docs/dash.md +0 -0
  30. {itables-2.2.3 → itables-2.2.4}/docs/developing.md +0 -0
  31. {itables-2.2.3 → itables-2.2.4}/docs/df_example.png +0 -0
  32. {itables-2.2.3 → itables-2.2.4}/docs/downsampling.md +0 -0
  33. {itables-2.2.3 → itables-2.2.4}/docs/extensions.md +0 -0
  34. {itables-2.2.3 → itables-2.2.4}/docs/formatting.md +0 -0
  35. {itables-2.2.3 → itables-2.2.4}/docs/html_export.md +0 -0
  36. {itables-2.2.3 → itables-2.2.4}/docs/images/code.png +0 -0
  37. {itables-2.2.3 → itables-2.2.4}/docs/images/colab.png +0 -0
  38. {itables-2.2.3 → itables-2.2.4}/docs/images/html.png +0 -0
  39. {itables-2.2.3 → itables-2.2.4}/docs/images/lab.png +0 -0
  40. {itables-2.2.3 → itables-2.2.4}/docs/images/notebook.png +0 -0
  41. {itables-2.2.3 → itables-2.2.4}/docs/images/pycharm.png +0 -0
  42. {itables-2.2.3 → itables-2.2.4}/docs/pandas_style.md +0 -0
  43. {itables-2.2.3 → itables-2.2.4}/docs/polars_dataframes.md +0 -0
  44. {itables-2.2.3 → itables-2.2.4}/docs/quarto/quarto_html.qmd +0 -0
  45. {itables-2.2.3 → itables-2.2.4}/docs/quarto/quarto_revealjs.qmd +0 -0
  46. {itables-2.2.3 → itables-2.2.4}/docs/quarto.md +0 -0
  47. {itables-2.2.3 → itables-2.2.4}/docs/references.md +0 -0
  48. {itables-2.2.3 → itables-2.2.4}/docs/sample_dataframes.md +0 -0
  49. {itables-2.2.3 → itables-2.2.4}/docs/select.md +0 -0
  50. {itables-2.2.3 → itables-2.2.4}/docs/shiny.md +0 -0
  51. {itables-2.2.3 → itables-2.2.4}/docs/show_df.png +0 -0
  52. {itables-2.2.3 → itables-2.2.4}/docs/streamlit.md +0 -0
  53. {itables-2.2.3 → itables-2.2.4}/docs/supported_editors.md +0 -0
  54. {itables-2.2.3 → itables-2.2.4}/docs/troubleshooting.md +0 -0
  55. {itables-2.2.3 → itables-2.2.4}/docs/widget.md +0 -0
  56. {itables-2.2.3 → itables-2.2.4}/environment.yml +0 -0
  57. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/CHANGELOG.md +0 -0
  58. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/LICENSE +0 -0
  59. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/README.md +0 -0
  60. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/package-lock.json +0 -0
  61. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/package.json +0 -0
  62. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/src/index.css +0 -0
  63. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/src/index.d.ts +0 -0
  64. {itables-2.2.3 → itables-2.2.4}/packages/dt_for_itables/src/index.js +0 -0
  65. {itables-2.2.3 → itables-2.2.4}/packages/itables_anywidget/README.md +0 -0
  66. {itables-2.2.3 → itables-2.2.4}/packages/itables_anywidget/js/widget.css +0 -0
  67. {itables-2.2.3 → itables-2.2.4}/packages/itables_anywidget/js/widget.ts +0 -0
  68. {itables-2.2.3 → itables-2.2.4}/packages/itables_anywidget/package-lock.json +0 -0
  69. {itables-2.2.3 → itables-2.2.4}/packages/itables_anywidget/package.json +0 -0
  70. {itables-2.2.3 → itables-2.2.4}/packages/itables_anywidget/tsconfig.json +0 -0
  71. {itables-2.2.3 → itables-2.2.4}/packages/itables_for_streamlit/README.md +0 -0
  72. {itables-2.2.3 → itables-2.2.4}/packages/itables_for_streamlit/package.json +0 -0
  73. {itables-2.2.3 → itables-2.2.4}/packages/itables_for_streamlit/public/index.html +0 -0
  74. {itables-2.2.3 → itables-2.2.4}/packages/itables_for_streamlit/src/index.tsx +0 -0
  75. {itables-2.2.3 → itables-2.2.4}/packages/itables_for_streamlit/tsconfig.json +0 -0
  76. {itables-2.2.3 → itables-2.2.4}/packages/package-lock.json +0 -0
  77. {itables-2.2.3 → itables-2.2.4}/packages/package.json +0 -0
  78. {itables-2.2.3 → itables-2.2.4}/pyproject.toml +0 -0
  79. {itables-2.2.3 → itables-2.2.4}/src/itables/__init__.py +0 -0
  80. {itables-2.2.3 → itables-2.2.4}/src/itables/downsample.py +0 -0
  81. {itables-2.2.3 → itables-2.2.4}/src/itables/html/column_filters/initComplete.js +0 -0
  82. {itables-2.2.3 → itables-2.2.4}/src/itables/html/column_filters/pre_dt_code.js +0 -0
  83. {itables-2.2.3 → itables-2.2.4}/src/itables/html/datatables_template.html +0 -0
  84. {itables-2.2.3 → itables-2.2.4}/src/itables/html/dt_bundle.css +0 -0
  85. {itables-2.2.3 → itables-2.2.4}/src/itables/html/dt_bundle.js +0 -0
  86. {itables-2.2.3 → itables-2.2.4}/src/itables/html/init_datatables.html +0 -0
  87. {itables-2.2.3 → itables-2.2.4}/src/itables/interactive.py +0 -0
  88. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/asset-manifest.json +0 -0
  89. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/index.html +0 -0
  90. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/static/css/main.b5025928.css +0 -0
  91. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/static/css/main.b5025928.css.map +0 -0
  92. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/static/js/main.f651d116.js +0 -0
  93. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.LICENSE.txt +0 -0
  94. {itables-2.2.3 → itables-2.2.4}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.map +0 -0
  95. {itables-2.2.3 → itables-2.2.4}/src/itables/logo/loading.svg +0 -0
  96. {itables-2.2.3 → itables-2.2.4}/src/itables/logo/logo.svg +0 -0
  97. {itables-2.2.3 → itables-2.2.4}/src/itables/logo/text.svg +0 -0
  98. {itables-2.2.3 → itables-2.2.4}/src/itables/logo/wide.svg +0 -0
  99. {itables-2.2.3 → itables-2.2.4}/src/itables/logo/with_text.svg +0 -0
  100. {itables-2.2.3 → itables-2.2.4}/src/itables/options.py +0 -0
  101. {itables-2.2.3 → itables-2.2.4}/src/itables/sample_dfs.py +0 -0
  102. {itables-2.2.3 → itables-2.2.4}/src/itables/samples/countries.csv +0 -0
  103. {itables-2.2.3 → itables-2.2.4}/src/itables/samples/indicators.csv +0 -0
  104. {itables-2.2.3 → itables-2.2.4}/src/itables/samples/population.csv +0 -0
  105. {itables-2.2.3 → itables-2.2.4}/src/itables/shiny.py +0 -0
  106. {itables-2.2.3 → itables-2.2.4}/src/itables/streamlit.py +0 -0
  107. {itables-2.2.3 → itables-2.2.4}/src/itables/utils.py +0 -0
  108. {itables-2.2.3 → itables-2.2.4}/src/itables/widget/__init__.py +0 -0
  109. {itables-2.2.3 → itables-2.2.4}/src/itables/widget/static/widget.css +0 -0
  110. {itables-2.2.3 → itables-2.2.4}/src/itables/widget/static/widget.js +0 -0
  111. {itables-2.2.3 → itables-2.2.4}/tests/__init__.py +0 -0
  112. {itables-2.2.3 → itables-2.2.4}/tests/conftest.py +0 -0
  113. {itables-2.2.3 → itables-2.2.4}/tests/test_changelog.py +0 -0
  114. {itables-2.2.3 → itables-2.2.4}/tests/test_connected_notebook_is_small.py +0 -0
  115. {itables-2.2.3 → itables-2.2.4}/tests/test_datatables_format.py +0 -0
  116. {itables-2.2.3 → itables-2.2.4}/tests/test_documentation_notebooks_run.py +0 -0
  117. {itables-2.2.3 → itables-2.2.4}/tests/test_downsample.py +0 -0
  118. {itables-2.2.3 → itables-2.2.4}/tests/test_extension_arguments.py +0 -0
  119. {itables-2.2.3 → itables-2.2.4}/tests/test_html_in_table_header.py +0 -0
  120. {itables-2.2.3 → itables-2.2.4}/tests/test_init.py +0 -0
  121. {itables-2.2.3 → itables-2.2.4}/tests/test_javascript.py +0 -0
  122. {itables-2.2.3 → itables-2.2.4}/tests/test_json_dumps.py +0 -0
  123. {itables-2.2.3 → itables-2.2.4}/tests/test_notebook.ipynb +0 -0
  124. {itables-2.2.3 → itables-2.2.4}/tests/test_pandas_style.py +0 -0
  125. {itables-2.2.3 → itables-2.2.4}/tests/test_polars.py +0 -0
  126. {itables-2.2.3 → itables-2.2.4}/tests/test_sample_dfs.py +0 -0
  127. {itables-2.2.3 → itables-2.2.4}/tests/test_update_samples.py +0 -0
@@ -0,0 +1 @@
1
+ *.ipynb linguist-documentation
@@ -33,3 +33,6 @@ src/itables/itables_for_streamlit
33
33
 
34
34
  # Jupyter Widget
35
35
  src/itables/widget/static
36
+
37
+ # On-going research
38
+ research
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: itables
3
- Version: 2.2.3
3
+ Version: 2.2.4
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
@@ -30,7 +30,6 @@ License: MIT License
30
30
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
31
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
32
  SOFTWARE.
33
- License-File: LICENSE
34
33
  Keywords: DataTables,Interactive,Javascript,Pandas,Polars
35
34
  Classifier: Development Status :: 5 - Production/Stable
36
35
  Classifier: Framework :: Jupyter
@@ -107,6 +106,7 @@ Description-Content-Type: text/markdown
107
106
 
108
107
  [![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/mwouts/itables/actions)
109
108
  [![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)
109
+ [![MIT License](https://img.shields.io/github/license/mwouts/itables)](LICENSE)
110
110
  [![Pypi](https://img.shields.io/pypi/v/itables.svg)](https://pypi.python.org/pypi/itables)
111
111
  [![Conda Version](https://img.shields.io/conda/vn/conda-forge/itables.svg)](https://anaconda.org/conda-forge/itables)
112
112
  [![pyversions](https://img.shields.io/pypi/pyversions/itables.svg)](https://pypi.python.org/pypi/itables)
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/mwouts/itables/actions)
4
4
  [![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)
5
+ [![MIT License](https://img.shields.io/github/license/mwouts/itables)](LICENSE)
5
6
  [![Pypi](https://img.shields.io/pypi/v/itables.svg)](https://pypi.python.org/pypi/itables)
6
7
  [![Conda Version](https://img.shields.io/conda/vn/conda-forge/itables.svg)](https://anaconda.org/conda-forge/itables)
7
8
  [![pyversions](https://img.shields.io/pypi/pyversions/itables.svg)](https://pypi.python.org/pypi/itables)
@@ -1,6 +1,14 @@
1
1
  ITables ChangeLog
2
2
  =================
3
3
 
4
+ 2.2.4 (2024-12-07)
5
+ ------------------
6
+
7
+ **Fixed**
8
+ - We have fixed an issue with the HTML export of multiple tables in the same cell ([#338](https://github.com/mwouts/itables/issues/338))
9
+ - The dependencies of the Streamlit component have been updated ([#343](https://github.com/mwouts/itables/pull/343), [#345](https://github.com/mwouts/itables/pull/345))
10
+
11
+
4
12
  2.2.3 (2024-11-01)
5
13
  ------------------
6
14
 
@@ -16,6 +16,7 @@ kernelspec:
16
16
 
17
17
  [![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/mwouts/itables/actions)
18
18
  [![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)
19
+ [![MIT License](https://img.shields.io/github/license/mwouts/itables)](https://github.com/mwouts/itables/blob/main/LICENSE)
19
20
  [![Pypi](https://img.shields.io/pypi/v/itables.svg)](https://pypi.python.org/pypi/itables)
20
21
  [![Conda Version](https://img.shields.io/conda/vn/conda-forge/itables.svg)](https://anaconda.org/conda-forge/itables)
21
22
  [![pyversions](https://img.shields.io/pypi/pyversions/itables.svg)](https://pypi.python.org/pypi/itables)
@@ -6221,9 +6221,9 @@
6221
6221
  }
6222
6222
  },
6223
6223
  "node_modules/cross-spawn": {
6224
- "version": "7.0.3",
6225
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
6226
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
6224
+ "version": "7.0.6",
6225
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
6226
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
6227
6227
  "dependencies": {
6228
6228
  "path-key": "^3.1.0",
6229
6229
  "shebang-command": "^2.0.0",
@@ -8055,9 +8055,9 @@
8055
8055
  }
8056
8056
  },
8057
8057
  "node_modules/express": {
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==",
8058
+ "version": "4.21.2",
8059
+ "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
8060
+ "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
8061
8061
  "dependencies": {
8062
8062
  "accepts": "~1.3.8",
8063
8063
  "array-flatten": "1.1.1",
@@ -8078,7 +8078,7 @@
8078
8078
  "methods": "~1.1.2",
8079
8079
  "on-finished": "2.4.1",
8080
8080
  "parseurl": "~1.3.3",
8081
- "path-to-regexp": "0.1.10",
8081
+ "path-to-regexp": "0.1.12",
8082
8082
  "proxy-addr": "~2.0.7",
8083
8083
  "qs": "6.13.0",
8084
8084
  "range-parser": "~1.2.1",
@@ -8093,6 +8093,10 @@
8093
8093
  },
8094
8094
  "engines": {
8095
8095
  "node": ">= 0.10.0"
8096
+ },
8097
+ "funding": {
8098
+ "type": "opencollective",
8099
+ "url": "https://opencollective.com/express"
8096
8100
  }
8097
8101
  },
8098
8102
  "node_modules/express/node_modules/debug": {
@@ -13062,9 +13066,9 @@
13062
13066
  }
13063
13067
  },
13064
13068
  "node_modules/path-to-regexp": {
13065
- "version": "0.1.10",
13066
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz",
13067
- "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w=="
13069
+ "version": "0.1.12",
13070
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
13071
+ "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ=="
13068
13072
  },
13069
13073
  "node_modules/path-type": {
13070
13074
  "version": "4.0.0",
@@ -110,7 +110,7 @@ def datatables_rows(df, count=None, warn_on_unexpected_types=False, pure_json=Fa
110
110
  )
111
111
  except AttributeError:
112
112
  # Polars DataFrame
113
- data = list(df.iter_rows())
113
+ data = df.rows()
114
114
  import polars as pl
115
115
 
116
116
  has_bigints = any(
@@ -115,10 +115,7 @@ def init_notebook_mode(
115
115
  def get_animated_logo(display_logo_when_loading):
116
116
  if not display_logo_when_loading:
117
117
  return ""
118
- return f"""<div style="float:left; margin-right: 10px;">
119
- <a href=https://mwouts.github.io/itables/>{read_package_file("logo/loading.svg")}</a>
120
- </div>
121
- """
118
+ return f"<a href=https://mwouts.github.io/itables/>{read_package_file('logo/loading.svg')}</a>"
122
119
 
123
120
 
124
121
  def generate_init_offline_itables_html(dt_bundle: Path):
@@ -172,10 +169,9 @@ def _table_header(
172
169
  )
173
170
  tbody = f"""<tr>
174
171
  <td style="vertical-align:middle; text-align:left">
175
- {get_animated_logo(display_logo_when_loading)}<div>
172
+ {get_animated_logo(display_logo_when_loading)}
176
173
  Loading ITables v{itables_version} from {itables_source}...
177
174
  (need <a href=https://mwouts.github.io/itables/troubleshooting.html>help</a>?)</td>
178
- </div>
179
175
  </tr>"""
180
176
 
181
177
  if style:
@@ -1,3 +1,3 @@
1
1
  """ITables' version number"""
2
2
 
3
- __version__ = "2.2.3"
3
+ __version__ = "2.2.4"
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