Metadata-Version: 1.1
Name: static-parameters
Version: 0.2
Summary: Simple decorators to raise a TypeError, if paramates type not satisfied
Home-page: https://github.com/mrf345/static_parameters/
Author: Mohamed Feddad
Author-email: mrf345@gmail.com
License: MIT
Download-URL: https://github.com/mrf345/static_parameters/archive/0.2.tar.gz
Description: 
        static_parameters
        -------------
        Simple decorators to raise a TypeError, if parameters
        and it's static type added to the description __doc__
        as such (parameter_name: str) not satisfied.
        
        Example:
        from static_parameters import (
            function_parameters,
            class_parameters
        )
        
        @function_parameters
        def example(a, b):
            '''Some example to demo ((a: str)) ((b: str))'''
            return a + b
        
        # For all methods in a class
        
        @class_parameters(function_parameters)
        class Example:
            def exm1(a, b):
                ''' ((a: bool)), ((b: int))
            
            def exm2():
                ...
        
Keywords: static,typing,parameters,decorator
Platform: any
Classifier: Environment :: Plugins
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Bug Tracking
Classifier: Topic :: Software Development :: Libraries :: Python Modules
