Metadata-Version: 2.1
Name: strictclasses
Version: 0.1.1
Summary: A strict companion to dataclasses
Home-page: https://github.com/noamelf/strictclasses
Author: Noam Elfanbaum
Author-email: noam.elf@gmail.com
License: UNKNOWN
Description: # strictclasses
        
        This is a validation companion to `dataclasses`. It adds a validation strict
        Usage:
        
        ```python
        from dataclasses import dataclass
        from strictclasses import strict
        
        @strict
        @dataclass
        class Foo:
            bar: int
        
        
        f = Foo('3')
        f.strict() # -> AssertionError: bar is not an instance of <class 'int'>
        ```
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
