Skip to main content

formbridge

Toolkit-neutral reactive forms and UI bridge contracts, shared by pyqt-reactive and headless servers.

Importing any formbridge module loads no GUI toolkit, so a headless process (an MCP server, a hosted HTTP service) can use the same declarations as the desktop UI it talks to.

What is here

  • Forms (formbridge.forms): the parameter model behind generated forms: parameter info, type analysis, value contracts and the form service. formbridge.forms.declared_fields is what every backend reads a field through: DeclaredField (label, help, default, bounds, search text, validation and edit), FieldPath, the Multiline and Placeholder kinds, FormPage (which tab a top-level group is shown on) and DeclaredViews, the registry a backend's widget family uses to pick a widget per kind.
  • Services (formbridge.services): help documents and parameter help, function-pattern code documents, scope tokens, the pattern data manager, path cache, log discovery and streaming, system metrics, ZMQ server scanning, window snapshot requests and their observation receipts, and main_thread_dispatch, which owns work dispatched to one owner thread (QueuedMainThreadDispatcher for a headless process; pyqt-reactive delivers through the Qt event loop).
  • Protocols (formbridge.protocols): registries an application fills: form configuration, code generation, component and function selection, log discovery, preview formatters.
  • Running-UI bridge (formbridge.bridge): the DTOs, the UiBridgeOperation family, the client service, descriptor discovery, the ZMQ transport and server, the provider registry and the in-process bridge. An application declares itself once by subclassing UiBridgeApplication; pyqt-reactive supplies the Qt window and widget introspection.

Package initializers export nothing; import each name from the module that defines it.

Install

pip install formbridge

Development

pip install -e ".[dev]"
pytest
ruff check src tests

Metadata

Release files for formbridge 0.2.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 formbridge 0.2.1
File Size Uploaded Provenance Actions
formbridge-0.2.1.tar.gz 184.3 kB With provenance Details for formbridge-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 388.9 kB

Release files / formbridge-0.2.1.tar.gz

Download URL formbridge-0.2.1.tar.gz
Size 184.3 kB
Tags Source
SHA-256 checksum
How to use checksums
571653820f7683ce4d72b198fba276c00786fbc9b021ba9fd7446077d399286c
BLAKE2b-256 checksum
How to use checksums
5ce76ad4cfe14b5e8c27af2631b9708029e48b7c8f7d26b10fb666a45c4e852c
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 17, 2026.

Transparency log

Release files / formbridge-0.2.1-py3-none-any.whl

Download URL formbridge-0.2.1-py3-none-any.whl
Size 204.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94321c793a8e3a34d743adff673d3a5536337c4381dfe9b979c3de3ff004d194
BLAKE2b-256 checksum
How to use checksums
354a73afce83fcd7f622e35baab6ebf4daf1733bce909a7b369ef0827ef83617
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 17, 2026.

Transparency log

Security for formbridge 0.2.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

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

Select from 2 files

Attestation for formbridge-0.2.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 17, 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