Software Alternatives & Reviews

Sinatra VS FastAPI

Compare Sinatra VS FastAPI and see what are their differences

Sinatra logo Sinatra

Classy web-development dressed in a DSL

FastAPI logo FastAPI

FastAPI is an Open Source, modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
  • Sinatra Landing page
    Landing page //
    2018-09-30
  • FastAPI Landing page
    Landing page //
    2023-05-14

Sinatra videos

How Frank Sinatra Invented the Album

More videos:

  • Review - Jack Daniel's Sinatra Select
  • Review - Frank Sinatra - I've got you under my skin *first time listening* REACTION

FastAPI videos

FastAPI from the ground up

More videos:

  • Tutorial - 30 Days of Python - Day 14 - Web App with Flask, FastAPI, ngrok, and Invictify - Python TUTORIAL
  • Review - [PT] Python - API com FastAPI - Chat | twitch.tv/codeshow

Category Popularity

0-100% (relative to Sinatra and FastAPI)
Web Frameworks
36 36%
64% 64
Developer Tools
21 21%
79% 79
Ruby Web Framework
100 100%
0% 0
API Tools
0 0%
100% 100

User comments

Share your experience with using Sinatra and FastAPI. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Sinatra and FastAPI

Sinatra Reviews

The 20 Best Laravel Alternatives for Web Development
Sinatra swings to its own tune, a Ruby framework for minimalist fans at heart. It’s about keeping it simple, just right for those times when all you need is a light, direct solution to serve and fly high.
Top 10 Phoenix Framework Alternatives
Sinatra is a free and open-source web app library that allows developers to build robust web apps using Ruby on top of the Rack web server.
10 Ruby on Rails Alternatives For Web Development in 2022
If you plan to avoid Ruby on Rails but still want to use the Ruby programming language you should consider Sinatra, - a domain-specific language developed by Blake Mizerany and released in 2007. Unlike RoR, which is a Full Stack Web Development Framework, Sinatra was aimed to be lightweight and agile. It provides the developer with minimum requirements and abstractions that...
Best Alternatives to FastAPI App Free for Windows (2021)
Sinatra is a free and open source software web application library and domain-specific language written in Ruby. It is an alternative to other Ruby web application…
Get Over Ruby on Rails — 3 Alternative Web Frameworks Worth Checking Out
Sinatra is one of the oldest web frameworks for Ruby. It was initially released in 2007 (Rails was released in 2004). Sinatra is a microframework that inspired a lot of other small frameworks the way Rails inspired full-stack frameworks. For example, the famous Express.js framework was inspired by Sinatra as well as some parts of Laravel.

FastAPI Reviews

The 20 Best Laravel Alternatives for Web Development
FastAPI, as the name hints, is a swift mover. Built on Starlette, it’s all about speed and performance with Python. Crafting API masterpieces at the speed of light, now that’s something.
25 Python Frameworks to Master
Since its release in 2018, it has rapidly gained popularity due to its great performance and simplicity. In fact, according to PyPi Stats, FastAPI has over 9 million monthly downloads, surpassing even full-stack frameworks like Django.
Source: kinsta.com
3 Web Frameworks to Use With Python
myapp/ is the main directory of your FastAPI application. It includes all the other files and directories needed for the application.static/ is a directory used to store static assets such as CSS, JavaScript, and image files. These assets are served directly by the web server and are typically used to add visual styling and interactivity to the application.css/, img/, js/...
Best Alternatives to FastAPI App Free for Windows (2021)
FastAPI Alternative – So many alternatives app to FastAPI that you must to know out there. And, looking for an ideal software was not easy matter. Lucky you, at this page you can find the best replacement app for FastAPI. So what you are waiting for, get the latest FastAPI alternative app for Windows 10 from this page.
Top 5 Back-End Frameworks to Consider for Web Development in 2021
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. It is fast when compared to other major Python frameworks like Flask and Django. FastAPI gives great flexibility to fulfill businesses’ API needs in today’s evolving world.

Social recommendations and mentions

Based on our record, FastAPI should be more popular than Sinatra. It has been mentiond 235 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Sinatra mentions (36)

  • Building a Sinatra app in Ruby
    Sinatra is a lightweight web application framework written in Ruby. It provides a simple and easy-to-use syntax for building web applications. The framework focuses on being minimalistic, allowing developers to quickly create web applications without having to deal with a lot of the boilerplate code and relatively rigid way of doing things that accompany larger and more popular frameworks like Rails. - Source: dev.to / 3 months ago
  • 16 Best Ruby Frameworks For Web Development [2024]
    Sinatra is the best ruby framework available in the market for web development. Sinatra is a simple and easy-to-use DSL written in Ruby and often used popularly in place of Ruby on Rails as a web development framework. Sinatra is named after the legendary musician Frank Sinatra and is powerful enough to set up a fully functional web application with just a single file. - Source: dev.to / about 2 months ago
  • Ruby on Rails: The Documentary [video]
    You're bike shedding [0]. Rails/DHH took already established design patterns and made strong opinions into a convention on the folder hierarchy of where you store your code. You can change that hierarchy, its not set in stone. It will require a lot of change. I've been on teams and it isn't just on-boarding time, its countless hours trying to find code written by someone no longer there that had their own layout... - Source: Hacker News / 6 months ago
  • Am I making my REST API correctly?
    I'm practicing my JavaScript skills and I am building a simple REST API. I'm using Sinatra for the back and and all that does is is define some end points and return JSON. I then use a JavaScript file to call `fetch` on the server and then update/change and display the page using that. At the moment I'm only doing GET requests but will look at POST later. Source: 9 months ago
  • Creating a Sinatra API with system-wide dependency injection using dry-system and rom-rb
    Today, among beginners with Ruby, it's common to think about two possible paths when developing an application; if you want a simple single-file API, just use Sinatra and for everything else, use Ruby on Rails. Well, in this article, allow me to provide a way to manage a big application using Sinatra as the HTTP library and dry-rb libraries as the glue to a modular architecture. - Source: dev.to / 9 months ago
View more

FastAPI mentions (235)

  • Github Sponsor Sebastián Ramírez Python programmer
    He is probably most well know for creating FastAPI that I taught to some of my clients and Typer that I've never used. - Source: dev.to / 3 days ago
  • Python: A SQLAlchemy Wrapper Component That Works With Both Flask and FastAPI Frameworks
    It has been an interesting exercise developing this wrapper component. The fact that it seamlessly integrates with the FastAPI framework is just a bonus for me; I didn't plan for it since I hadn't learned FastAPI at the time. I hope you find this post useful. Thank you for reading, and stay safe as always. - Source: dev.to / 4 days ago
  • Building an Email Assistant Application with Burr
    In this tutorial, I will demonstrate how to use Burr, an open source framework (disclosure: I helped create it), using simple OpenAI client calls to GPT4, and FastAPI to create a custom email assistant agent. We’ll describe the challenge one faces and then how you can solve for them. For the application frontend we provide a reference implementation but won’t dive into details for it. - Source: dev.to / 12 days ago
  • Ask HN: What is your go-to stack for the web?
    For pure APIs: pyapi-server [0]. For classic Web sites: Starlette [1], with SQLAlchemy Core [2] for database integration. Or, if you prefer something with more batteries included, FastAPI [3]. [0] https://pyapi-server.readthedocs.io [1] https://www.starlette.io/ [2] https://docs.sqlalchemy.org/en/20/ [3] https://fastapi.tiangolo.com/. - Source: Hacker News / 3 months ago
  • Fun with Avatars: Crafting the core engine | Part. 1
    We will create our API using FastAPI, a modern high-performance web framework for building fast APIs with Python. It is designed to be easy to use, efficient, and highly scalable. Some key features of FastAPI include:. - Source: dev.to / 4 months ago
View more

What are some alternatives?

When comparing Sinatra and FastAPI, you can also consider the following products

Ruby on Rails - Ruby on Rails is an open source full-stack web application framework for the Ruby programming...

Django - The Web framework for perfectionists with deadlines

ASP.NET - ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.

Flask - a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

Laravel - A PHP Framework For Web Artisans

ExpressJS - Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple