Skip to main content

Threaded model view controller classes.

Project description

threaded_mvc

https://img.shields.io/pypi/v/threaded_mvc.svg https://img.shields.io/travis/Galen-dp/threaded_mvc.svg Documentation Status

Threaded Model-View-Controller Design Pattern package for GUI & TUI programs.

Introduction

This is a solution to a common problem with MVC architecture: How do we keep the View responsive when the model is i/o bound.

We do this by placing the model in its own thread, and using message queues between the Controller and Model.

As per the definition of the MVC design pattern:

  1. The model knows nothing about the view or the controller.

  2. The view knows nothing about the controller or the model.

  3. The controller knows everything about both the model and the view.

  4. Contoller - starts or attaches to view & model

  5. model - signals events to controller which updates view

  6. controller - sets model states when necessary.

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.1 (2022-03-17)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

threaded_mvc-0.0.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

threaded_mvc-0.0.1-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file threaded_mvc-0.0.1.tar.gz.

File metadata

  • Download URL: threaded_mvc-0.0.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for threaded_mvc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 940afc5dac4cfcbed051881e7f1c0c07e43f14d4fe8ef6ce474c5d45357f02d7
MD5 2cbc1634006291cab15ac3fc827e9f7c
BLAKE2b-256 df273ed19d6e6cb21e9b11fcbca7a4516f49ef7f42167a489b34d273a4d0ef87

See more details on using hashes here.

File details

Details for the file threaded_mvc-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: threaded_mvc-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for threaded_mvc-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a8b7cb26fb250347cf2a32bfeb1d45099c29c616b24785b3f518007b2c048c62
MD5 44ac5d7838a986a72e5dbd55b09a3837
BLAKE2b-256 e2a8601794294462b5e13c4c0ff9ba37a7e13b38e8fa92977f898f197b8d3958

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page