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.25.0 (Published) · pin >=0.25.0,<0.26

Install

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

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.25.0,<0.26"
pip install "hedron-data[sqlalchemy]>=0.25.0,<0.26"

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 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.25.0.tar.gz (384.0 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.25.0-py3-none-any.whl (397.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hedron_data-0.25.0.tar.gz
  • Upload date:
  • Size: 384.0 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.25.0.tar.gz
Algorithm Hash digest
SHA256 8cc3c96d6c37d6c4c8f88cb3cc02f89e6397d0929a1441f7e9b24bf6bc119de5
MD5 27c4665ea945e381a0417ecd99b3c0e2
BLAKE2b-256 1c7b75d172ca0c4bd44377725c74f02f92463c270a159433f71ce44ab3b3f36d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hedron_data-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 397.1 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.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd05e3a8d023510f29a6cf7cb4f41da7cc1b16c15f635a9e336794116d7edae1
MD5 21584b41814e3f266d02fe711e3a2f71
BLAKE2b-256 b080cd0092ada313aee1bcc9fd129c11381d685f28d88d76740d5384465a31ae

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