Just like Flask, Sinatra is great for simple applications . The basic Sinatra application is only 4 LOC in a single Ruby source file. Sinatra is used instead of libraries such as Ruby on Rails for the same reason as Flask – you can start small and expand the application as needed.