Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

WebGrid

nox Codecov

Introduction

WebGrid is a datagrid library for Flask and other Python web frameworks designed to work with SQLAlchemy ORM entities and queries.

With a grid configured from one or more entities, WebGrid provides these features for reporting:

  • Automated SQL query construction based on specified columns and query join/filter/sort options

  • Renderers to various targets/formats

    • HTML output paired with JS (jQuery) for dynamic features
    • Excel (XLSX)
    • CSV
  • User-controlled data filters

    • Per-column selection of filter operator and value(s)
    • Generic single-entry search
  • Session storage/retrieval of selected filter options, sorting, and paging

Installation

Install via pip or uv:

# Just the package
pip install webgrid
uv pip install webgrid

# or, preferably in a uv project:
uv add webgrid

Some basic internationalization features are available via extra requirements:

pip install webgrid[i18n]
uv pip install webgrid[i18n]

# or, preferably in a uv project:
uv add webgrid --extra i18n

Getting Started

For a quick start, see the Getting Started guide in the docs.

Dev

Copier Template

Project structure and tooling mostly derives from Coppy. See its documentation for context and additional instructions.

This project can be updated from the upstream repo, see Updating a Project.

Project Setup

From zero to hero (passing tests that is):

  1. Ensure host dependencies are installed

  2. Start docker service dependencies (if needed):

    ❯ docker compose config --services
    mssql
    pg
    
    ❯ docker compose up -d ...
    
  3. Sync project virtualenv w/ lock file:

    uv sync

  4. Configure prek:

    prek install

  5. Install mssql driver if intending to run mssql tests

    mise run odbc-driver-install

  6. View sessions then run sessions:

    ❯ nox --list
    
    # all sessions
    ❯ nox
    
    # selected sessions
    ❯ nox -e ...
    

Versions

Versions are date based. A version task shows and bumps versions:

# Show current version
mise run version show

# Bump version based on date, tag, and push:
mise run version bump

# See other options
mise run version -- --help

PyPI Publishing

The pypi.yaml GitHub workflow builds and validates distributions on workflow changes and publishes version tags to PyPI using trusted publishing.

Documentation

The RTD project will automatically build on pushes to master.

Metadata

Release files for WebGrid 0.20261120.1

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for WebGrid 0.20261120.1
File Size Uploaded Provenance Actions
webgrid-0.20261120.1.tar.gz 291.8 kB With provenance Details for webgrid-0.20261120.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for WebGrid 0.20261120.1
File Interpreter ABI Platform Actions
webgrid-0.20261120.1-py3-none-any.whl Python 3 none any Details for webgrid-0.20261120.1-py3-none-any.whl

Total release size: 394.7 kB

Release files / webgrid-0.20261120.1.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL webgrid-0.20261120.1.tar.gz
Size 291.8 kB
Tags Source
SHA-256 checksum
How to use checksums
df9d13a84da6a074b27e9083c90cc704e663f85cf4f5d55059191b935577a1f3
BLAKE2b-256 checksum
How to use checksums
93d0e5e6eb4294d942fa278254886efbe5d16668d2d9b453a513ad11a312d962
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 Nov 20, 2026.

Transparency log

Release files / webgrid-0.20261120.1-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL webgrid-0.20261120.1-py3-none-any.whl
Size 102.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88c18d58620d32e0ec437527dbb80622b7fe7c92295889fb90149968bbebb958
BLAKE2b-256 checksum
How to use checksums
7df12a5d065dd2d8cb5e9a5e970837477c800e1380beea7498584f1d77ba8d20
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 Nov 20, 2026.

Transparency log

Security for WebGrid 0.20261120.1

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.

Change of provenance

The configuration that created this release differs from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for webgrid-0.20261120.1.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 Nov 20, 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
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