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.2

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.2
File Size Uploaded Provenance Actions
wtforms_htmx_components-0.1.2.tar.gz 11.9 kB With provenance Details for wtforms_htmx_components-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 23.3 kB

Release files / wtforms_htmx_components-0.1.2.tar.gz

Download URL wtforms_htmx_components-0.1.2.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
11b9f2d40ec56c58a9a020c831008f4bb14e2a1401d15832ba7438d9567728c0
BLAKE2b-256 checksum
How to use checksums
617adb020f0cce3364d1af3d1b4e9c7e3954ea59635704c4379cc273dfb71ac2
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 27, 2026.

Transparency log

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

Download URL wtforms_htmx_components-0.1.2-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6925e37d5f5fdc0cc287c02e0a617b5e331595cee24ecfc598cefc9768f65358
BLAKE2b-256 checksum
How to use checksums
4999da010949680f85be244a3d4f43d189b8371cf1f0893981b67a2871e21104
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 27, 2026.

Transparency log

Security for wtforms-htmx-components 0.1.2

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 wtforms_htmx_components-0.1.2.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 27, 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.

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