I'm pretty happy to share this; its based on a JSON validator I've been using for a long time. I reimplemented the technique in Python 3 for use with function annotations. Its inspired by Typescript; my ambition would be that its syntax is widely adopted and eventually static type checkers support it and IDEs can do auto-complete ala Typescript.
Right now its a useful little runtime checker for you.
Very nice. I've been feeling the pains of python's lack of static type checking recently and was thinking that function parameter types could be a huge boon to productivity. I'll definitely be checking this out.
Now, if only someone would retroactively apply this to the entire standard library...
Right now its a useful little runtime checker for you.