Metadata-Version: 2.1
Name: thoaded
Version: 0.1.0
Summary: Library for simple and fast design pattern that extends model, view and controller for asynchronous events in supported modern programming languages.
Home-page: https://thoaded.walberbeltrame.com/
Author: Walber Antonio Ramos Beltrame
Author-email: walber.beltrame@gmail.com
License: MIT
Description: <p>
         <img src="https://img.shields.io/pypi/v/thoaded.svg" />
         <a href="https://travis-ci.org/walberbeltrame/thoaded" alt="Thoaded on TravisCI">
          <img src="https://travis-ci.org/walberbeltrame/thoaded.svg" />
         </a>
         <a href="http://opensource.org/licenses/MIT" alt="MIT License">
          <img src="https://img.shields.io/github/license/walberbeltrame/thoaded.svg" />
         </a>
        </p>
        
        # Thoaded
        Library for simple and fast design pattern that extends model, view and controller for asynchronous events in supported modern programming languages.
        
        ## Installation
        Use pip to install these utilities:
        ```bash
        pip install thoaded
        ```
        
        ## Documentation
        Thoaded applications are created by composing a series of simple inheritances. By convention, this components extends Modify-based Asynchronous Pattern.
        ```python
        from thoaded import Modeled, Viewed, Controlled
        import asyncio
        
        class SampleMoldeled(Modeled):
        
            async def added(self, value):
                return value
        
            async def updated(self, value):
                return value
        
            async def deleted(self, value):
                return value
        
            async def readed(self, value):
                return value
        
            async def queried(self, value=None):
                return value
        
            async def listened(self, value=None):
                return value
        
            async def unlistened(self, value=None):
                return value
        
        class SampleViewed(Viewed):
        
            async def added(self, value):
                return value
        
            async def updated(self, value):
                return value
        
            async def deleted(self, value):
                return value
        
            async def readed(self, value):
                return value
        
            async def queried(self, value=None):
                return value
        
            async def listened(self, value=None):
                return value
        
            async def unlistened(self, value=None):
                return value
        
        class SampleControlled(Controlled):
        
            def __init__(self):
                super().__init__(SampleMoldeled(), SampleViewed())
                text = asyncio.run(self.modeled.readed("Hello, World!"))
                text = asyncio.run(self.viewed.readed(text))
                print("Print " + text + " successfully.")
        ```
        
        ## Compatibility
        Thoaded supports all environments that are [Python 3](https://www.python.org/).
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
