Metadata-Version: 2.4
Name: doxtr-smart-table
Version: 0.1.0
Summary: Unified Sphinx smart-table extension supporting grid, simple, list, CSV, XLSX, ODS, and FODS tables with formulas, filtering, period resolution, xlinks, theme-core styling, interactive HTML, and multi-format exports.
Author: Jens Frey
License: MIT
Project-URL: Homepage, https://github.com/doxtr/doxtr-smart-table
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: Sphinx :: Extension
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sphinx>=5.0
Requires-Dist: docutils>=0.18
Requires-Dist: doxtr-data-core>=0.1.0
Requires-Dist: openpyxl>=3.1
Requires-Dist: odfpy>=1.4
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0; extra == "dev"
Requires-Dist: doxtr-xlink; extra == "dev"
Requires-Dist: doxtr-theme-core; extra == "dev"
Requires-Dist: doxtr-pdf-theme-core; extra == "dev"
Requires-Dist: doxtr-html-theme-core; extra == "dev"
Requires-Dist: doxtr-epub-theme-core; extra == "dev"
Requires-Dist: sphinxcontrib-confluencebuilder; extra == "dev"
Dynamic: license-file

# doxtr-smart-table

Unified Sphinx smart-table extension superseding `doxtr-dynacsv` (with backward-compatible `.. csv-table-with-total::` alias).

## Features

- **Unified & dedicated directives**: `.. smart-table::`, `.. smart-table-csv::`, `.. smart-table-list::`, `.. smart-table-sheet::`, and compatible `.. csv-table-with-total::`.
- **All table formats**: RST grid tables, simple tables, list tables, inline/external/glob/URL CSV & TSV, Excel (`.xlsx`, `.xlsm`) with `:sheet:` and `:cell-range:`, and OpenDocument (`.ods`, `.fods`).
- **Columns & sorting**: projection, exclusion (`!Col`), reordering, header renaming (`Old as New`), multi-column type-aware sorting.
- **Computed columns & summary formulas**: `:compute:` per-row expressions, `:total-columns:`, `:formulas:`, and `:summary-rows:` with `SUM`, `AVG`, `MEDIAN`, `MIN`, `MAX`, `COUNT`, `COUNTA`, `COUNTIF`, `SUMIF`, `ROUND`, `PERCENT`, `JOIN`, `col()`, `all_col()`, and custom `conf.py` functions.
- **Rich filtering & time periods**: `:filter:` with `!` / `not` negation, boolean expressions, globs & regex; `:tags:`; `:query:`; `:period:`/`:start:`/`:end:` via `doxtr-data-core`.
- **XLinks & theme-core integration**: inline `:xlink:` and `:xlink-columns:` auto-resolution, conditional `:row-tone:` / `:cell-tone:`, light/dark support across HTML, LaTeX/PDF (`doxtr-pdf-theme-core`), EPUB, Confluence, and ODT.
- **Interactive HTML & exports**: zero-dependency client-side sorting/filtering and downloadable `.csv`, `.xlsx`, and `.ods` exports.
