> something like type-safe Python similar to TypeScript
That already exists, and van Rossum worked on it: http://mypy-lang.org/
That already exists, and van Rossum worked on it: http://mypy-lang.org/
EDIT: As mentioned below, also added Pyright [2] by Microsoft
[0] https://github.com/facebook/pyre-check