itables 2.2.0__tar.gz → 2.2.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.
- {itables-2.2.0 → itables-2.2.1}/PKG-INFO +1 -1
- {itables-2.2.0 → itables-2.2.1}/docs/changelog.md +7 -0
- {itables-2.2.0 → itables-2.2.1}/docs/extensions.md +1 -1
- {itables-2.2.0 → itables-2.2.1}/src/itables/javascript.py +1 -1
- {itables-2.2.0 → itables-2.2.1}/src/itables/shiny.py +1 -2
- {itables-2.2.0 → itables-2.2.1}/src/itables/version.py +1 -1
- {itables-2.2.0 → itables-2.2.1}/src/itables/widget/__init__.py +1 -1
- {itables-2.2.0 → itables-2.2.1}/.github/codecov.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/.github/workflows/comment-pr.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/.github/workflows/continuous-integration.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/.github/workflows/publish-book.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/.github/workflows/publish.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/.gitignore +0 -0
- {itables-2.2.0 → itables-2.2.1}/.pre-commit-config.yaml +0 -0
- {itables-2.2.0 → itables-2.2.1}/.pylintrc +0 -0
- {itables-2.2.0 → itables-2.2.1}/LICENSE +0 -0
- {itables-2.2.0 → itables-2.2.1}/README.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/binder/labconfig/default_setting_overrides.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/binder/postBuild +0 -0
- {itables-2.2.0 → itables-2.2.1}/binder/requirements.txt +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/_config.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/_toc.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/advanced_parameters.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/contributing.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/custom_css.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/custom_extensions.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/dark_mode.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/dash.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/developing.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/df_example.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/downsampling.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/formatting.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/html_export.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/images/code.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/images/colab.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/images/html.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/images/lab.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/images/notebook.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/images/pycharm.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/ipywidgets.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/pandas_style.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/polars_dataframes.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/quarto/quarto_html.qmd +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/quarto/quarto_revealjs.qmd +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/quarto.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/quick_start.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/references.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/sample_dataframes.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/select.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/shiny.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/show_df.png +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/streamlit.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/supported_editors.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/docs/troubleshooting.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/environment.yml +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/CHANGELOG.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/LICENSE +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/README.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/package-lock.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/package.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/src/index.css +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/src/index.d.ts +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/dt_for_itables/src/index.js +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_anywidget/README.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_anywidget/js/widget.css +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_anywidget/js/widget.ts +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_anywidget/package-lock.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_anywidget/package.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_anywidget/tsconfig.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_for_streamlit/README.md +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_for_streamlit/package-lock.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_for_streamlit/package.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_for_streamlit/public/index.html +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_for_streamlit/src/index.tsx +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/itables_for_streamlit/tsconfig.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/package-lock.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/packages/package.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/pyproject.toml +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/__init__.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/datatables_format.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/downsample.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/html/column_filters/initComplete.js +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/html/column_filters/pre_dt_code.js +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/html/datatables_template.html +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/html/dt_bundle.css +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/html/dt_bundle.js +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/html/init_datatables.html +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/interactive.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/asset-manifest.json +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/index.html +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/css/main.b5025928.css +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/css/main.b5025928.css.map +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/js/main.f651d116.js +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.LICENSE.txt +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.map +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/logo/loading.svg +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/logo/logo.svg +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/logo/text.svg +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/logo/wide.svg +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/logo/with_text.svg +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/options.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/sample_dfs.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/samples/countries.csv +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/samples/indicators.csv +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/samples/population.csv +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/streamlit.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/utils.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/widget/static/widget.css +0 -0
- {itables-2.2.0 → itables-2.2.1}/src/itables/widget/static/widget.js +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/__init__.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/conftest.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/sample_python_apps/itables_in_a_shiny_app.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/sample_python_apps/itables_in_a_shiny_app_with_tabs.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_changelog.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_connected_notebook_is_small.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_datatables_format.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_documentation_notebooks_run.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_downsample.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_extension_arguments.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_html_in_table_header.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_init.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_javascript.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_json_dumps.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_notebook.ipynb +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_pandas_style.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_polars.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_sample_dfs.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_sample_python_apps.py +0 -0
- {itables-2.2.0 → itables-2.2.1}/tests/test_update_samples.py +0 -0
|
@@ -190,7 +190,7 @@ argument is required (otherwise the search panes are too wide).
|
|
|
190
190
|
show(
|
|
191
191
|
df,
|
|
192
192
|
layout={"top1": "searchPanes"},
|
|
193
|
-
searchPanes={"layout": "columns-3", "cascadePanes": True},
|
|
193
|
+
searchPanes={"layout": "columns-3", "cascadePanes": True, "columns": [1, 6, 7]},
|
|
194
194
|
)
|
|
195
195
|
```
|
|
196
196
|
|
|
@@ -598,7 +598,7 @@ def warn_if_selected_rows_are_not_visible(
|
|
|
598
598
|
selected_rows, full_row_count, data_row_count, warn_on_selected_rows_not_rendered
|
|
599
599
|
):
|
|
600
600
|
if selected_rows is None:
|
|
601
|
-
return
|
|
601
|
+
return []
|
|
602
602
|
|
|
603
603
|
if not all(isinstance(i, int) for i in selected_rows):
|
|
604
604
|
raise TypeError("Selected rows must be integers")
|
|
@@ -29,7 +29,7 @@ def init_itables(
|
|
|
29
29
|
return html
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def DT(df, caption=None, table_id=None,
|
|
32
|
+
def DT(df, caption=None, table_id=None, **kwargs):
|
|
33
33
|
"""This is a version of 'to_html_datatable' that works in Shiny applications."""
|
|
34
34
|
|
|
35
35
|
html = to_html_datatable(
|
|
@@ -37,7 +37,6 @@ def DT(df, caption=None, table_id=None, selected_rows=None, **kwargs):
|
|
|
37
37
|
caption=caption,
|
|
38
38
|
table_id=table_id,
|
|
39
39
|
connected=_CONNECTED,
|
|
40
|
-
selected_rows=selected_rows or [],
|
|
41
40
|
**kwargs,
|
|
42
41
|
)
|
|
43
42
|
|
|
@@ -41,7 +41,7 @@ class ITable(anywidget.AnyWidget):
|
|
|
41
41
|
self.caption = other_args.pop("caption") or ""
|
|
42
42
|
self.classes = other_args.pop("classes")
|
|
43
43
|
self.style = other_args.pop("style")
|
|
44
|
-
self.selected_rows = other_args.pop("selected_rows")
|
|
44
|
+
self.selected_rows = other_args.pop("selected_rows")
|
|
45
45
|
|
|
46
46
|
self._data = dt_args.pop("data")
|
|
47
47
|
self._columns = dt_args.pop("columns")
|
|
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
|
|
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
|
{itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/css/main.b5025928.css
RENAMED
|
File without changes
|
{itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/css/main.b5025928.css.map
RENAMED
|
File without changes
|
{itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/js/main.f651d116.js
RENAMED
|
File without changes
|
|
File without changes
|
{itables-2.2.0 → itables-2.2.1}/src/itables/itables_for_streamlit/static/js/main.f651d116.js.map
RENAMED
|
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
|
{itables-2.2.0 → itables-2.2.1}/tests/sample_python_apps/itables_in_a_shiny_app_with_tabs.py
RENAMED
|
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
|