lattice-grid-pandas
Framework-agnostic glue between a pandas DataFrame and Lattice Grid.
This package is the single source of truth for the parts every Python host wrapper needs and must not re-implement:
- the pandas-dtype -> grid column
typemapping (lattice_type), - column-major (columnar) serialization of a frame the browser reconstructs
(
build_columns,build_columnar,column_values), - value/dtype coercion for the edit round-trip (
cast_to_dtype), and - grid delivery + licence plumbing (
GRID_VERSION,cdn_urls,load_vendored,resolve_source).
It has no UI and no framework dependency -- only pandas -- so it can be unit tested without a browser or a notebook kernel.
Consumers:
lattice-grid-jupyter(phase C1) -- anywidget notebook widget.lattice-grid-dash(phase C2) -- Dash component.
Datetime contract: UTC end to end
Naive datetime64 columns are UTC. A column with no tz info is treated as
already being UTC, not the machine's local zone: outbound, its values
serialize as ISO 8601 strings with an explicit Z (e.g.
2021-06-01T12:00:00Z), never a bare 2021-06-01T12:00:00 -- the grid's
timestamp type parses a bare string as a wall-clock time in the browser's
own zone, which would silently shift every value by the browser's UTC offset.
A tz-aware column is converted to UTC before serializing, so every host
renders the identical instant regardless of the column's original zone.
Inbound, an edit is accepted as a Number (the grid's epoch-millisecond
instant), an ISO string with or without an offset (an offset-less string is
UTC under this same contract), or a pd.Timestamp; the result is converted to
UTC and then either stripped of tz (a naive column stays naive) or converted
to the column's own tz (a tz-aware column keeps reading in its own zone).
NaT survives the round trip as JSON null both ways.
Release files for lattice-grid-pandas 1.71.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lattice_grid_pandas-1.71.3.0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lattice_grid_pandas-1.71.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / lattice_grid_pandas-1.71.3.0.tar.gz
| Download URL | lattice_grid_pandas-1.71.3.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2780716e13f67c5535c667bd6296f30d80f5f9ec93a4c671cb5d2b2ee4a56885
|
|
BLAKE2b-256 checksum How to use checksums |
ab5242bfe91beddf399eb0ed60e58a1cda027c635ecc7d58f6f94d267eb60b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / lattice_grid_pandas-1.71.3.0-py3-none-any.whl
| Download URL | lattice_grid_pandas-1.71.3.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69cdc67fb372725929a5598d616c697a95cb64fb66f3a2edf7e5175c986a3415
|
|
BLAKE2b-256 checksum How to use checksums |
b31b2fed0c7c8dc57614cc44ee4c8fec554ccbc06be927b47eda4a440a75b698
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log