Skip to main content

PureMVC Multicore Framework

Project description

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.

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

puremvc-2.0.2.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

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

puremvc-2.0.2-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file puremvc-2.0.2.tar.gz.

File metadata

  • Download URL: puremvc-2.0.2.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for puremvc-2.0.2.tar.gz
Algorithm Hash digest
SHA256 cbf2dc272d4b103d1934dd4f3e68712254d4c62abe471c11f373932ae02d3b37
MD5 769f20fe3b832f6622c3d08e31b6cc86
BLAKE2b-256 f76391884346d763b1d2171abcb41519921af8f2cc8a5e55c06b4591b2f8d20e

See more details on using hashes here.

File details

Details for the file puremvc-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: puremvc-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for puremvc-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0434597e0175e4abe411653b8e6ba560d6ec92bfcc25e2d595d6f27c00ac3206
MD5 8a332e9498e515eba239e3f2e57165bf
BLAKE2b-256 767f968a721f3201eb06b4a588ece3437bb738dc08541582f58cce7ca136462c

See more details on using hashes here.

Supported by

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