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.
  • 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.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 formbridge 0.1.1
File Size Uploaded
formbridge-0.1.1.tar.gz 167.6 kB Details

Built distribution (wheel)

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

Total release size: 358.7 kB

Release files / formbridge-0.1.1.tar.gz

Download URL formbridge-0.1.1.tar.gz
Size 167.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6213924d52511e55b7abf2fdf9285f42bd247d3287c1725281746c86d416d869
BLAKE2b-256 checksum
How to use checksums
be6a1fa034a03abf63da2ad8ca8e394bae656d4f6dfed00590732e640a97028e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL formbridge-0.1.1-py3-none-any.whl
Size 191.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28ee2ec010e4bbcc6347c005f81f95b8fa5a1117c5646c6a6a9e7cd2dbd502ae
BLAKE2b-256 checksum
How to use checksums
8f92985ade2fbf1d3d7ff3a5a308d32ab16000d87d74b8b825196b14c47c3073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.1

2 release files

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