It is becoming difficult for me to be productive in Python
avi.im
avi.im
Many libraries just don't use them, or use them well and writing other sorts of code is harder. The language is differently adding better support for typing and generics, but I can't help but feel part of it is "too little too late".
Something like beartype is interesting: https://github.com/beartype/beartype , but at this point I'm more interested in languages like Rust, Nim, or even Kotlin (I'd add Go here as well, but it's language design ethos doesn't agree with me).
This post isn't about Python at all. The OP just is moving towards enjoying statically typed languages. Shortly they'll find that those languages have equal but different pitfalls, such that productivity over time will even out. Programming is hard.
Python specifically is a fine language with a terrible packaging/build ecosystem. Every language that exists has similar pros and cons.