I will talk about flask / Django separately.
Flask is relatively better than Sinatra since the community is more active than that.
Compared to Rails, Django is honestly less mature than that.
However, Python has quite a bit libraries specifically at different domains.