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

Built distribution (wheel)

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

Total release size: 389.0 kB

Release files / formbridge-0.2.0.tar.gz

Download URL formbridge-0.2.0.tar.gz
Size 184.3 kB
Tags Source
SHA-256 checksum
How to use checksums
945971e67c8555d48019349f9eefd75a0565f02134c2253fcf2554287850ec33
BLAKE2b-256 checksum
How to use checksums
6ff81b689a0454958ef5746b991ea6af201ed8f9d7a107923ac4deebf843552b
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.0-py3-none-any.whl

Download URL formbridge-0.2.0-py3-none-any.whl
Size 204.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1916868af0d07636218aa25915f25a09e3fb99ac63334f07520994433835fd1
BLAKE2b-256 checksum
How to use checksums
f032741103aa25972e1b92ca192aa814030be1a3ffe1cf3c4d8d9125bc413998
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.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

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

Select from 2 files

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