Metadata-Version: 2.1
Name: pytypechecker
Version: 1.0.4
Summary: Includes decorator "@typecheck" to provide type check on run-time.
Home-page: https://github.com/sondrekh/python_typechecker
Author: Sondre Kværne Hansen
Author-email: sondrekhansen+pypi@gmail.com
License: LICENCE.txt
Description-Content-Type: text/markdown
License-File: LICENCE.txt

# Typechecker

Functionality:

-   Compare typehints against args
-   Compare typehints against key-word args
-   Check parent classes for non-matching type

Works for both functions and class methods.

```python
class Foo:
    @typecheck
    def bar(self, baz: str) -> None:
        print(baz)

foo = Foo()
foo.bar("baz")
# baz
foo.bar(1)
# TypeError: Check function/method input-type(s)
```
