This seems exciting. I'm not familiar with the availability of new Python features. When can I use this in my day to day Python?
def foo(x: int) -> str: ...
have been available since 3.0, and editors like PyCharm already use them for typechecking.For new PEP 0484 features like generics, MyPy supports Python 3.2 and up, but PyCharm support seems to be work in progress: https://youtrack.jetbrains.com/issue/PY-15206
And if you don't want to create your own you could use https://pypi.python.org/pypi/obiwan