Skip to main content

pyqt-reactive

Reactive, ObjectState-backed forms and reusable application infrastructure for PyQt6.

PyPI version Documentation Status Python 3.11+

Quick start

ParameterFormManager renders an existing ObjectState. The state is the model; the form is a view over it.

from dataclasses import dataclass

from PyQt6.QtWidgets import QApplication
from objectstate import ObjectState, set_base_config_type
from pyqt_reactive.forms.parameter_form_manager import (
    FormManagerConfig,
    ParameterFormManager,
)
from pyqt_reactive.theming import ColorScheme

@dataclass
class ProcessingConfig:
    input_path: str = ""
    num_workers: int = 4
    enable_gpu: bool = False

app = QApplication([])
set_base_config_type(ProcessingConfig)
state = ObjectState(ProcessingConfig(), scope_id="processing")
form = ParameterFormManager(
    state,
    config=FormManagerConfig(color_scheme=ColorScheme()),
)
form.show()
app.exec()

Do not pass a dataclass type or instance directly to ParameterFormManager. Create ObjectState(instance) so edits, dirty tracking, hierarchy, and cross-window updates share one authority.

Ownership

pyqt-reactive owns generic widget protocols and strategies, form lifecycle, field-change dispatch, reusable services and managers, previews, animations, and window infrastructure. Host applications own domain workflows and adapters.

Installation

python -m pip install pyqt-reactive

For development:

git clone https://github.com/OpenHCSDev/PyQT-reactive.git
cd PyQT-reactive
python -m pip install -e ".[dev]"

Full documentation: pyqt-reactive.readthedocs.io

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt_reactive-0.1.29.tar.gz (583.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyqt_reactive-0.1.29-py3-none-any.whl (540.6 kB view details)

Uploaded Python 3

File details

Details for the file pyqt_reactive-0.1.29.tar.gz.

File metadata

  • Download URL: pyqt_reactive-0.1.29.tar.gz
  • Upload date:
  • Size: 583.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyqt_reactive-0.1.29.tar.gz
Algorithm Hash digest
SHA256 26e69bd961665789761a538c41e94ce5312bf87cb52aed67d8857a8afef40053
MD5 9c9f91e1f96775b9e6a21c374d8e3706
BLAKE2b-256 0367efa5d8b6b0634a8a4367d5e60f8f014c78df3e9697e827358e63639fd188

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt_reactive-0.1.29.tar.gz:

Publisher: publish.yml on OpenHCSDev/PyQT-reactive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqt_reactive-0.1.29-py3-none-any.whl.

File metadata

  • Download URL: pyqt_reactive-0.1.29-py3-none-any.whl
  • Upload date:
  • Size: 540.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyqt_reactive-0.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 65213d6ca49c8f9b8705bea9831e215d87fd5a93dc39284ebd7e33bfcb1e06b8
MD5 12f0da125941157b50f4ebf29c0f9bfb
BLAKE2b-256 bebad9414b2467de3193ddc2dce36b4e9c6d8e62e68fa0063cf944584154fdc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt_reactive-0.1.29-py3-none-any.whl:

Publisher: publish.yml on OpenHCSDev/PyQT-reactive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page