Skip to content

Commit

Permalink
More extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Mar 13, 2024
1 parent e630205 commit dfa31c0
Show file tree
Hide file tree
Showing 26 changed files with 952 additions and 762 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ dist
# Jupyter Book
_build

# External dependencies
itables/external

# Quarto
.jupyter_cache
docs/quarto/*.html
docs/quarto/*_files/

# Datatables bundle
node_modules
dt_bundle
dt_bundle.js
dt_bundle.css
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ repos:
rev: v1.14.5
hooks:
- id: jupytext
exclude: dt_package/
types: ["markdown"]
args: ["--pipe", "black", "--check", "ruff check {} --ignore E402"]
args: ["--pipe", "isort {} --treat-comment-as-code '# %%' --profile black", "--pipe", "black", "--check", "ruff check {} --ignore E402"]
additional_dependencies:
- black==22.3.0 # Matches hook
- ruff==0.3.1
- isort==5.13.2
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

![CI](https://github.com/mwouts/itables/actions/workflows/continuous-integration.yml/badge.svg?branch=main)
[![codecov.io](https://codecov.io/github/mwouts/itables/coverage.svg?branch=main)](https://codecov.io/github/mwouts/itables?branch=main)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/mwouts/itables.svg)](https://lgtm.com/projects/g/mwouts/itables/context:python)
[![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)

## Turn your Python DataFrames into Interactive Tables
## Turn your Python DataFrames into Interactive DataTables

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/)
Expand Down Expand Up @@ -67,6 +66,8 @@ execute `init_notebook_mode`.
- Google Colab
- VS Code (for both Jupyter Notebooks and Python scripts)
- PyCharm (for Jupyter Notebooks)
- Quarto
- Shiny for Python

## Try ITables on Binder

Expand Down
37 changes: 23 additions & 14 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
format: jb-book
root: quick_start
chapters:
- file: supported_editors
- file: advanced_parameters
- file: pandas_style
- file: custom_css
- file: downsampling
- file: sample_dataframes
- file: polars_dataframes
- file: quarto
- file: references
- file: contributing
- file: developing
- file: troubleshooting
- file: changelog
parts:
- caption: How to use DataTables
chapters:
- file: advanced_parameters
- file: formatting
- file: custom_css
- file: extensions
- file: custom_extensions
- caption: ITables
chapters:
- file: supported_editors
- file: quarto
- file: downsampling
- file: references
- file: contributing
- file: developing
- file: troubleshooting
- file: changelog
- caption: Example DataFrames
chapters:
- file: sample_dataframes
- file: polars_dataframes
- file: pandas_style
Loading

0 comments on commit dfa31c0

Please sign in to comment.