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, andmain_thread_dispatch, which owns work dispatched to one owner thread (QueuedMainThreadDispatcherfor 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, theUiBridgeOperationfamily, the client service, descriptor discovery, the ZMQ transport and server, the provider registry and the in-process bridge. An application declares itself once by subclassingUiBridgeApplication; 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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| formbridge-0.1.2.tar.gz | 167.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| formbridge-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 358.9 kB
Release files / formbridge-0.1.2.tar.gz
| Download URL | formbridge-0.1.2.tar.gz |
|---|---|
| Size | 167.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bd7c45501899d47fb5a64ba8cb50bccfcedd5c6a33b584b957c771566b3f088
|
|
BLAKE2b-256 checksum How to use checksums |
c5e436f4e6b9cb8a8ffa9f2b9b4d7429317914ff39816d0e3c8bff8cc4fd2a4e
|
| 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.2-py3-none-any.whl
| Download URL | formbridge-0.1.2-py3-none-any.whl |
|---|---|
| Size | 191.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c56894ded1a6cae31a91cd8c7a0a9860cd8715c5e59e1b53e9eb5bf696fd394
|
|
BLAKE2b-256 checksum How to use checksums |
2403d1d5361ef16ae66ff25e78c46d03c0fe4c357f4d8b63ff1b2d49e275f2d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|