Skip to main content

wtforms-htmx-components

Ready-made interactive WTForms fields built on wtforms-htmx.

Status: alpha, work in progress.

Each field packages a recipe of several triggers (typing, suggestions, pick, store, chip) into a single FormField declaration. Available now: the combobox, single and multi value, strict or with free-form values.

Installation

pip install wtforms-htmx-components

Example

from wtforms import SelectChoice
from wtforms import SubmitField
from wtforms_htmx import HtmxForm
from wtforms_htmx_components import ComboboxMultiField


def suggest(query, form):
    q = query.lower()
    return [SelectChoice(tag, tag) for tag in CATALOG if q in tag.lower()]


class TagsForm(HtmxForm):
    tags = ComboboxMultiField("Tags", suggest=suggest)
    save = SubmitField()

Run the example app:

uv sync --group example
uv run python -m examples

Then open http://127.0.0.1:5000/.

License

BSD-3-Clause. See LICENSE.rst.

Metadata

Release files for wtforms-htmx-components 0.1.1

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

Source distribution (sdist)

Source distribution for wtforms-htmx-components 0.1.1
File Size Uploaded Provenance
wtforms_htmx_components-0.1.1.tar.gz 11.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wtforms-htmx-components 0.1.1
File Interpreter ABI Platform
wtforms_htmx_components-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / wtforms_htmx_components-0.1.1.tar.gz

Download URL wtforms_htmx_components-0.1.1.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
76689ed7a4cc9de253367f93abe4d45f2704bf7fc2a3aff512fbc934b45da4cc
BLAKE2b-256 checksum
How to use checksums
1bc4a5e4ee085201bbdfc062d0f5510feaebb0254769ff06d957e9637ff7cf36
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 24, 2026.

Transparency log

Release files / wtforms_htmx_components-0.1.1-py3-none-any.whl

Download URL wtforms_htmx_components-0.1.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
478ac112aa23b0b88fc7e629fea62fd3da55a5716df5de95b92ee53865649369
BLAKE2b-256 checksum
How to use checksums
d7b62933a8c5a84ae69cc93a7d54506dbae1e89d3808d1a7ddc785a758e1f885
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 24, 2026.

Transparency log

Security for wtforms-htmx-components 0.1.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for wtforms_htmx_components-0.1.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 Oct 24, 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

0.1.1 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