Skip to main content

PyDux

A Redux Toolkit-inspired state container for Python desktop applications.

Python GitHub Release GitHub Issues GitHub Issues Closed GitHub forks GitHub stars License Sponsor

PyDux gives Python desktop apps one observable source of truth. Dispatch actions, let reducers update state, and subscribe only to the values a view needs.

Features

  • Redux Toolkit-style slices with generated action creators.
  • Selectors and selective subscriptions.
  • Async thunks with pending, fulfilled, and rejected actions.
  • Optional DevTools, time travel, and a local web inspector.
  • Adapters for Qt, Tkinter, Kivy, and Qyro.

Installation

pip install pydux

# With Qyro and PySide6
pip install "pydux[qyro,pyside6]"

See the English installation guide or the guía de instalación en español for every optional framework extra and Poetry command.

Quick example

from pydux import configure_store, create_slice

counter = create_slice(
    name="counter",
    initial_state={"value": 0},
    reducers={
        "increment": lambda state, action: state.update(value=state["value"] + 1),
    },
)

store = configure_store({"counter": counter}, devtools=False)
store.dispatch(counter.actions.increment())

print(store.get_state())  # {"counter": {"value": 1}}

Documentation

The complete Mintlify documentation lives in docs/, in English and español:

To preview it locally, install Mintlify and run mint dev from docs/.

Qyro ecosystem

PyDux manages state. Qyro Runtime provides application context, resources, settings, and lifecycle; Qyro CLI scaffolds, builds, packages, and signs applications.


License

MIT. See LICENSE.

👥 Organization & Maintainers

Metadata

Release files for pydux-store 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydux-store 0.1.0
File Size Uploaded Provenance Actions
pydux_store-0.1.0.tar.gz 27.8 kB With provenance Details for pydux_store-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydux-store 0.1.0
File Interpreter ABI Platform Actions
pydux_store-0.1.0-py3-none-any.whl Python 3 none any Details for pydux_store-0.1.0-py3-none-any.whl

Total release size: 62.6 kB

Release files / pydux_store-0.1.0.tar.gz

Download URL pydux_store-0.1.0.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6ba2d476915afa6aca4489d6ee2d4a1cfb3e43c3d4d5374c917908aa408cf262
BLAKE2b-256 checksum
How to use checksums
9fd1b034f177178faf9ac654b77490a9ed9a0f1027a5055fd11b7c7b775acf34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / pydux_store-0.1.0-py3-none-any.whl

Download URL pydux_store-0.1.0-py3-none-any.whl
Size 34.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f23b47bf695212ff647763bcf9c7a70390da8a71eff2873475e05301fc9f949d
BLAKE2b-256 checksum
How to use checksums
64dd10375e9c1563e87880e16edaf43f2a289a81ad74bfc53aee1070d84faba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for pydux-store 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pydux_store-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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