Skip to main content

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 type mapping (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.

Metadata

Release files for lattice-grid-pandas 1.114.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lattice-grid-pandas 1.114.0.0
File Size Uploaded Provenance Actions
lattice_grid_pandas-1.114.0.0.tar.gz 7.8 kB With provenance Details for lattice_grid_pandas-1.114.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lattice-grid-pandas 1.114.0.0
File Interpreter ABI Platform Actions
lattice_grid_pandas-1.114.0.0-py3-none-any.whl Python 3 none any Details for lattice_grid_pandas-1.114.0.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / lattice_grid_pandas-1.114.0.0.tar.gz

Download URL lattice_grid_pandas-1.114.0.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
10753c7a6d0c4112b8a3325943191408e3c7c6da29ce2cbe4758697b1fd4dea9
BLAKE2b-256 checksum
How to use checksums
0547373c6ae90e69d3395ffa9b4149e4dd88a65871da72ce3ecf39d3e62b4d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 25, 2026.

Transparency log

Release files / lattice_grid_pandas-1.114.0.0-py3-none-any.whl

Download URL lattice_grid_pandas-1.114.0.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca79272858764c123f5cfa7b64653b398ad800bf23ab5b5172ea8f5c77a4bbee
BLAKE2b-256 checksum
How to use checksums
304413cf082dd6cef3fd27e246c5e59f0aef6df788f036e19552ecd4db316359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 25, 2026.

Transparency log

Security for lattice-grid-pandas 1.114.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lattice_grid_pandas-1.114.0.0.tar.gz

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 Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.114.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page