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.0
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.0.tar.gz | 166.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| formbridge-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 356.1 kB
Release files / formbridge-0.1.0.tar.gz
| Download URL | formbridge-0.1.0.tar.gz |
|---|---|
| Size | 166.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89705201b12568427948ca30e85e5a0663c803de7f490691673184ddf17e1f58
|
|
BLAKE2b-256 checksum How to use checksums |
7c42ee83d07abb49ca79c6d889385f0dc8dcb87d8579647b7282c80dc1e2d17a
|
| 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.0-py3-none-any.whl
| Download URL | formbridge-0.1.0-py3-none-any.whl |
|---|---|
| Size | 189.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22498e4433470cc4568ec19638f78260a700d67ef607e893941fe51f9c4634d3
|
|
BLAKE2b-256 checksum How to use checksums |
f3809c79e273ca0afae38256d1fc7847ab32f72b5574dfc04eced4b97ec5f19a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|