Skip to main content

PureMVC Python MultiCore Framework Python package

PureMVC is a lightweight framework for creating applications based upon the classic Model-View-Controller design meta-pattern. It supports modular programming through the use of Multiton Core actors instead of the Singletons used in the Standard Version.

Installation

pip install PureMVC

Development

Install Dependency (Editable Package)

pip install -e .

Type Checking

pip install mypy
mypy ./src

Testing

pytest test/

Build & Publish

python -m pip install --upgrade pip build twine
python -m build
twine upload dist/*

Generate Documentation with Sphinx

  • Install Sphinx and theme:

    pip install sphinx sphinx_rtd_theme
    
  • Initialize Docs

    mkdir docs && cd docs 
    sphinx-quickstart --sep -p PureMVC -a "Saad Shams" -v "2.0" -r "2.0.0" -l "en"
    
  • Generate API docs and build HTML:

    cd ../ && sphinx-apidoc -o docs/source src/puremvc && cd docs && make html && cd .. && open docs/build/html/index.html
    
  • To update docs after code changes:

    sphinx-apidoc -o docs/source src/puremvc --force && cd docs && make html && cd .. && open docs/build/html/index.html
    
  • Snippet: conf.py

    import os
    import sys
    sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'src')))
    extensions = ['sphinx.ext.autodoc']
    html_theme = 'sphinx_rtd_theme'
    
  • Snippet: index.rst

    13: modules
    

Status

Production - Version 2.0.2

Platforms / Technologies

Reference

License

  • PureMVC MultiCore Framework for Python - Copyright © 2025 Saad Shams

  • PureMVC - Copyright © 2025 Futurescale, Inc.

  • All rights reserved.

  • Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    • Neither the name of Futurescale, Inc., PureMVC.org, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Release files for PureMVC 2.0.2

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

Source distribution (sdist)

Source distribution for PureMVC 2.0.2
File Size Uploaded
puremvc-2.0.2.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PureMVC 2.0.2
File Interpreter ABI Platform
puremvc-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 56.1 kB

Release files / puremvc-2.0.2.tar.gz

Download URL puremvc-2.0.2.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbf2dc272d4b103d1934dd4f3e68712254d4c62abe471c11f373932ae02d3b37
BLAKE2b-256 checksum
How to use checksums
f76391884346d763b1d2171abcb41519921af8f2cc8a5e55c06b4591b2f8d20e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release files / puremvc-2.0.2-py3-none-any.whl

Download URL puremvc-2.0.2-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0434597e0175e4abe411653b8e6ba560d6ec92bfcc25e2d595d6f27c00ac3206
BLAKE2b-256 checksum
How to use checksums
767f968a721f3201eb06b4a588ece3437bb738dc08541582f58cce7ca136462c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2

2 release files

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