Skip to content

Commit dfa31c0

Browse files
committed
More extensions
1 parent e630205 commit dfa31c0

26 files changed

+952
-762
lines changed

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ dist
1616
# Jupyter Book
1717
_build
1818

19-
# External dependencies
20-
itables/external
21-
2219
# Quarto
2320
.jupyter_cache
2421
docs/quarto/*.html
2522
docs/quarto/*_files/
2623

2724
# Datatables bundle
2825
node_modules
29-
dt_bundle
26+
dt_bundle.js
27+
dt_bundle.css

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ repos:
3232
rev: v1.14.5
3333
hooks:
3434
- id: jupytext
35+
exclude: dt_package/
3536
types: ["markdown"]
36-
args: ["--pipe", "black", "--check", "ruff check {} --ignore E402"]
37+
args: ["--pipe", "isort {} --treat-comment-as-code '# %%' --profile black", "--pipe", "black", "--check", "ruff check {} --ignore E402"]
3738
additional_dependencies:
3839
- black==22.3.0 # Matches hook
3940
- ruff==0.3.1
41+
- isort==5.13.2

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)
44
[![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)
5-
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/mwouts/itables.svg)](https://lgtm.com/projects/g/mwouts/itables/context:python)
65
[![Pypi](https://img.shields.io/pypi/v/itables.svg)](https://pypi.python.org/pypi/itables)
76
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/itables.svg)](https://anaconda.org/conda-forge/itables)
87
[![pyversions](https://img.shields.io/pypi/pyversions/itables.svg)](https://pypi.python.org/pypi/itables)
98
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
109

11-
## Turn your Python DataFrames into Interactive Tables
10+
## Turn your Python DataFrames into Interactive DataTables
1211

1312
This packages changes how Pandas and Polars DataFrames are rendered in Jupyter Notebooks.
1413
With `itables` you can display your tables as interactive [datatables](https://datatables.net/)
@@ -67,6 +66,8 @@ execute `init_notebook_mode`.
6766
- Google Colab
6867
- VS Code (for both Jupyter Notebooks and Python scripts)
6968
- PyCharm (for Jupyter Notebooks)
69+
- Quarto
70+
- Shiny for Python
7071

7172
## Try ITables on Binder
7273

docs/_toc.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
format: jb-book
22
root: quick_start
3-
chapters:
4-
- file: supported_editors
5-
- file: advanced_parameters
6-
- file: pandas_style
7-
- file: custom_css
8-
- file: downsampling
9-
- file: sample_dataframes
10-
- file: polars_dataframes
11-
- file: quarto
12-
- file: references
13-
- file: contributing
14-
- file: developing
15-
- file: troubleshooting
16-
- file: changelog
3+
parts:
4+
- caption: How to use DataTables
5+
chapters:
6+
- file: advanced_parameters
7+
- file: formatting
8+
- file: custom_css
9+
- file: extensions
10+
- file: custom_extensions
11+
- caption: ITables
12+
chapters:
13+
- file: supported_editors
14+
- file: quarto
15+
- file: downsampling
16+
- file: references
17+
- file: contributing
18+
- file: developing
19+
- file: troubleshooting
20+
- file: changelog
21+
- caption: Example DataFrames
22+
chapters:
23+
- file: sample_dataframes
24+
- file: polars_dataframes
25+
- file: pandas_style

0 commit comments

Comments
 (0)