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.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 wtforms-htmx-components 0.1.0
File Size Uploaded Provenance
wtforms_htmx_components-0.1.0.tar.gz 11.5 kB With provenance Details

Built distribution (wheel)

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

Total release size: 22.5 kB

Release files / wtforms_htmx_components-0.1.0.tar.gz

Download URL wtforms_htmx_components-0.1.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
acf30359fd1bef52cc5f1019c4a26d895ddb3167025a3a156ddaf866ae8f1f6d
BLAKE2b-256 checksum
How to use checksums
b4e9d456dbe8f67b3a958e5b7e7db71c3e4f9ae4f9328995cfb63fcf1403eb74
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 23, 2026.

Transparency log

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

Download URL wtforms_htmx_components-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e126901a6f5ca695ddd49ffa1a6452516567d2aeb7d9f251b6eab9c7049bb9f9
BLAKE2b-256 checksum
How to use checksums
ea608763026d7d32f050005acc0959dd701a4e39da3826ed016135af8819f694
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 23, 2026.

Transparency log

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

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

Select from 2 files

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