Metadata-Version: 2.1
Name: Typedtuples
Version: 1.0.2
Summary: Namedtuple with Strict Type Checking
Home-page: https://github.com/pl-Steve28-lq/
Author: Steve28
Author-email: holiday28784@gmail.com
License: UNKNOWN
Description: # TypedTuples
        Namedtuple with Strict Type Checking
        
        ## Download
        `pip install typedtuples`
        
        ## Examples
        ```Python
        from typedtuples import *
        
        Point1 = TypedTuple.of('Point', {'x': float, 'y': float})
        
        class Point2(TypedTuple):
            x: float
            y: float
            def __add__(self, other):
                return Point2(self.x+other.x, self.y+other.y)
        
        @TypedTuple.apply({'x': int, 'y': int})
        class IntPoint:
            def __add__(self, other):
                return IntPoint(self.x+other.x, self.y+other.y)
        
        print(Point1(x=2.5, y=5.3))
        print(Point2(1.1, 3.2) + Point2(2.4, 5.5))
        print(IntPoint(x=1, y=3) + IntPoint(5, 2))
        ```
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
