4 ms·
I recently built a personal project using peewee and it doesn't have a ton of bells and whistles but it works well for what it does do.
by sambaumann 1y ago
I recently built a personal project using peewee and it doesn't have a ton of bells and whistles but it works well for what it does do.
- olejorgenb 1y agoDo you use type hints? I was quite excited by peewee until I discovered the author's stance on type hints in python: > I think type hints are misguided and unpythonic, and it's my stance that they will never be supported by peewee. Python is a high-level dynamic language, peewee plays to these strengths. You couldn't implement peewee in go, it'd look completely different. There are thirdparty stubs available though, so I wonder how well these work. PS: I do get that Python's type system might lack the expressiveness to fully support all ORM-like functionality, but I don't think that's a reason to not even provide hints for the super simple cases like `Person.select()`.