Skip to main content

hedron-data

PyPI Python CI License: MIT

DataTable, DataEditor, and data-source toolkit for Hedron.

Typed data-source protocols, optional dataframe normalization, and a Tabulator-backed grid Web Component — registered through the public Hedron plugin contract. Install as hedron-data or via the flagship extra hedron[data].

Package maturity: Beta · Train: 0.37.x (last published 0.37.0) · pin >=0.37.0,<0.38

Install

pip install "hedron-data>=0.37.0,<0.38"
# or
uv add "hedron-data>=0.37.0,<0.38"
# via flagship:
pip install "hedron[data]>=0.37.0,<0.38"

Requires Python 3.11–3.14 and hedron-core.

Optional extras

Extra Purpose
dataframes pandas + polars + pyarrow (+ narwhals)
pandas / polars / pyarrow Individual dataframe stacks
sqlalchemy / sqlmodel ORM-backed sources
dask Dask dataframe support
snowflake Snowflake connector
aggrid / spreadsheet Reserved feature gates (no heavy deps)
pip install "hedron-data[dataframes]>=0.37.0,<0.38"
pip install "hedron-data[sqlalchemy]>=0.37.0,<0.38"

Quick start

from hedron_data import DataTable

rows = [
    {"name": "Ada", "team": "Platform"},
    {"name": "Grace", "team": "Compiler"},
]
table = DataTable(rows, caption="Employees", page_size=25)

Use inside a Hedron Page (FastAPI / Flask / Django). Prefer a typed row_model when you want validated columns:

from pydantic import BaseModel
from hedron_data import DataTable


class EmployeeRow(BaseModel):
    name: str
    team: str


table = DataTable(rows, row_model=EmployeeRow, caption="Employees")

What this package includes

  • DataTable — paginated, sortable grid with HTMX-friendly refresh
  • DataEditor — editable grid workflows
  • Typed DataSource protocols and dataframe normalization helpers
  • Tabulator-backed Web Component assets (plugin-registered)

Links

License

MIT. See the repository license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hedron_data-0.37.0.tar.gz (389.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hedron_data-0.37.0-py3-none-any.whl (401.4 kB view details)

Uploaded Python 3

File details

Details for the file hedron_data-0.37.0.tar.gz.

File metadata

  • Download URL: hedron_data-0.37.0.tar.gz
  • Upload date:
  • Size: 389.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hedron_data-0.37.0.tar.gz
Algorithm Hash digest
SHA256 3a0a6cdc45f7f44a960119247e0884224e9d84d277418457966c5bccf6aba6af
MD5 eca3d8ff5ae7dc4c8c5dcd9041ae7e8d
BLAKE2b-256 c3b62b60a6e245df5ae9a1d53bc3489cddf693cbe009e0b08b37735ec30d0790

See more details on using hashes here.

File details

Details for the file hedron_data-0.37.0-py3-none-any.whl.

File metadata

  • Download URL: hedron_data-0.37.0-py3-none-any.whl
  • Upload date:
  • Size: 401.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hedron_data-0.37.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c841c75b842a2a6f84d72e48811a05cff852c17440038725461f9ba7247dbd22
MD5 daa01209bb36859c9921177baca8d0d5
BLAKE2b-256 8cf87279fffc33c5ef61bd262832ab1512773c8fe492873d9a7939038574cc88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page