Skip to content

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

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

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages