Name | itables JSON |
Version |
2.2.3
JSON |
| download |
home_page | None |
Summary | Pandas and Polar DataFrames as interactive DataTables |
upload_time | 2024-11-02 22:42:45 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | MIT License Copyright (c) 2019-2024 Marc Wouts Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
datatables
interactive
javascript
pandas
polars
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
![ITables logo](https://raw.githubusercontent.com/mwouts/itables/3f8e8bd75af7ad38a500518fcb4fbbc370ea6c4c/itables/logo/wide.svg)
[![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/mwouts/itables/actions)
[![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)
[![Pypi](https://img.shields.io/pypi/v/itables.svg)](https://pypi.python.org/pypi/itables)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/itables.svg)](https://anaconda.org/conda-forge/itables)
[![pyversions](https://img.shields.io/pypi/pyversions/itables.svg)](https://pypi.python.org/pypi/itables)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Jupyter Widget](https://img.shields.io/badge/Jupyter-Widget-F37626.svg?style=flat&logo=Jupyter)](https://mwouts.github.io/itables/widget.html)
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_red.svg)](https://itables.streamlit.app)
This packages changes how Pandas and Polars DataFrames are rendered in Jupyter Notebooks.
With `itables` you can display your tables as interactive [DataTables](https://datatables.net/)
that you can sort, paginate, scroll or filter.
ITables is just about how tables are displayed. You can turn it on and off in just two lines,
with no other impact on your data workflow.
The `itables` package only depends on `numpy`, `pandas` and `IPython`
which you must already have if you work with Pandas in Jupyter (add `polars`, `pyarrow` if you
work with Polars DataFrames).
## Documentation
Browse the [documentation](https://mwouts.github.io/itables/) to see
examples of Pandas or Polars DataFrames rendered as interactive DataTables.
## Quick start
Install the `itables` package with either
```shell
pip install itables
```
or
```shell
conda install itables -c conda-forge
```
Activate the interactive mode for all series and dataframes with
```python
from itables import init_notebook_mode
init_notebook_mode(all_interactive=True)
```
and then render any DataFrame as an interactive table that you can sort, search and explore:
![df](docs/df_example.png)
If you prefer to render only selected DataFrames as interactive tables, use `itables.show` to show just one Series or DataFrame as an interactive table:
![show](docs/show_df.png)
Since ITables v1.0, the [jQuery](https://jquery.com/) and [DataTables](https://datatables.net/) libraries and CSS
are injected in the notebook when you execute `init_notebook_mode` with its default argument `connected=False`.
Thanks to this the interactive tables will work even without a connection to the internet.
If you prefer to load the libraries dynamically (and keep the notebook lighter), use `connected=True` when you
execute `init_notebook_mode`.
## Supported environments
ITables works in all the usual Jupyter Notebook environments, including Jupyter Notebook, Jupyter Lab, Jupyter nbconvert (i.e. the tables are still interactive in the HTML export of a notebook), Jupyter Book, Google Colab and Kaggle.
You can also use ITables in [Quarto](https://mwouts.github.io/itables/quarto.html) HTML documents, and in RISE presentations.
ITables works well in VS Code, both in Jupyter Notebooks and in interactive Python sessions.
Last but not least, ITables is also available as
- a [Jupyter Widget](https://mwouts.github.io/itables/widget.html)
- a [Streamlit](https://mwouts.github.io/itables/streamlit.html) component,
- and it also works in [Shiny](https://mwouts.github.io/itables/shiny.html) applications.
Raw data
{
"_id": null,
"home_page": null,
"name": "itables",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "Marc Wouts <marc.wouts@gmail.com>",
"keywords": "DataTables, Interactive, Javascript, Pandas, Polars",
"author": null,
"author_email": "Marc Wouts <marc.wouts@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8f/1d/830ec0ed4640b59987d49278cb3f76b9d7c2467c895a2af94fbbe94aa29e/itables-2.2.3.tar.gz",
"platform": null,
"description": "![ITables logo](https://raw.githubusercontent.com/mwouts/itables/3f8e8bd75af7ad38a500518fcb4fbbc370ea6c4c/itables/logo/wide.svg)\n\n[![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/mwouts/itables/actions)\n[![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)\n[![Pypi](https://img.shields.io/pypi/v/itables.svg)](https://pypi.python.org/pypi/itables)\n[![Conda Version](https://img.shields.io/conda/vn/conda-forge/itables.svg)](https://anaconda.org/conda-forge/itables)\n[![pyversions](https://img.shields.io/pypi/pyversions/itables.svg)](https://pypi.python.org/pypi/itables)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Jupyter Widget](https://img.shields.io/badge/Jupyter-Widget-F37626.svg?style=flat&logo=Jupyter)](https://mwouts.github.io/itables/widget.html)\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_red.svg)](https://itables.streamlit.app)\n\nThis packages changes how Pandas and Polars DataFrames are rendered in Jupyter Notebooks.\nWith `itables` you can display your tables as interactive [DataTables](https://datatables.net/)\nthat you can sort, paginate, scroll or filter.\n\nITables is just about how tables are displayed. You can turn it on and off in just two lines,\nwith no other impact on your data workflow.\n\nThe `itables` package only depends on `numpy`, `pandas` and `IPython`\nwhich you must already have if you work with Pandas in Jupyter (add `polars`, `pyarrow` if you\nwork with Polars DataFrames).\n\n## Documentation\n\nBrowse the [documentation](https://mwouts.github.io/itables/) to see\nexamples of Pandas or Polars DataFrames rendered as interactive DataTables.\n\n## Quick start\n\nInstall the `itables` package with either\n```shell\npip install itables\n```\n\nor\n```shell\nconda install itables -c conda-forge\n```\n\nActivate the interactive mode for all series and dataframes with\n```python\nfrom itables import init_notebook_mode\n\ninit_notebook_mode(all_interactive=True)\n```\nand then render any DataFrame as an interactive table that you can sort, search and explore:\n![df](docs/df_example.png)\n\nIf you prefer to render only selected DataFrames as interactive tables, use `itables.show` to show just one Series or DataFrame as an interactive table:\n![show](docs/show_df.png)\n\nSince ITables v1.0, the [jQuery](https://jquery.com/) and [DataTables](https://datatables.net/) libraries and CSS\nare injected in the notebook when you execute `init_notebook_mode` with its default argument `connected=False`.\nThanks to this the interactive tables will work even without a connection to the internet.\n\nIf you prefer to load the libraries dynamically (and keep the notebook lighter), use `connected=True` when you\nexecute `init_notebook_mode`.\n\n## Supported environments\n\nITables works in all the usual Jupyter Notebook environments, including Jupyter Notebook, Jupyter Lab, Jupyter nbconvert (i.e. the tables are still interactive in the HTML export of a notebook), Jupyter Book, Google Colab and Kaggle.\n\nYou can also use ITables in [Quarto](https://mwouts.github.io/itables/quarto.html) HTML documents, and in RISE presentations.\n\nITables works well in VS Code, both in Jupyter Notebooks and in interactive Python sessions.\n\nLast but not least, ITables is also available as\n- a [Jupyter Widget](https://mwouts.github.io/itables/widget.html)\n- a [Streamlit](https://mwouts.github.io/itables/streamlit.html) component,\n- and it also works in [Shiny](https://mwouts.github.io/itables/shiny.html) applications.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2019-2024 Marc Wouts Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Pandas and Polar DataFrames as interactive DataTables",
"version": "2.2.3",
"project_urls": {
"Changelog": "https://github.com/mwouts/itables/blob/main/docs/changelog.md",
"Documentation": "https://mwouts.github.io/itables",
"Homepage": "https://mwouts.github.io/itables/",
"Issues": "https://github.com/mwouts/itables/issues",
"Repository": "https://github.com/mwouts/itables.git"
},
"split_keywords": [
"datatables",
" interactive",
" javascript",
" pandas",
" polars"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e3c26bd82dd46a100dfea7732510c46ffa0f450c283ef23096b83a2807914f5f",
"md5": "8ff91330ef7b8db2ae6db21f245fc2bd",
"sha256": "987919a3b8dfdac2cbc727949b0972de61bfddfabd372bfa0f7f3f34399ab197"
},
"downloads": -1,
"filename": "itables-2.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8ff91330ef7b8db2ae6db21f245fc2bd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 1407029,
"upload_time": "2024-11-02T22:42:43",
"upload_time_iso_8601": "2024-11-02T22:42:43.314947Z",
"url": "https://files.pythonhosted.org/packages/e3/c2/6bd82dd46a100dfea7732510c46ffa0f450c283ef23096b83a2807914f5f/itables-2.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8f1d830ec0ed4640b59987d49278cb3f76b9d7c2467c895a2af94fbbe94aa29e",
"md5": "6464277d4911e033aa12dcade56f2b4b",
"sha256": "d1987c2f69b348d63d8184c30e05bd25710997a37894cf7b57b6e0a4ea969c10"
},
"downloads": -1,
"filename": "itables-2.2.3.tar.gz",
"has_sig": false,
"md5_digest": "6464277d4911e033aa12dcade56f2b4b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 2436125,
"upload_time": "2024-11-02T22:42:45",
"upload_time_iso_8601": "2024-11-02T22:42:45.164981Z",
"url": "https://files.pythonhosted.org/packages/8f/1d/830ec0ed4640b59987d49278cb3f76b9d7c2467c895a2af94fbbe94aa29e/itables-2.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-02 22:42:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mwouts",
"github_project": "itables",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "itables"
}