kemal
fastapi
Our great sponsors
kemal | fastapi | |
---|---|---|
14 | 465 | |
3,574 | 70,779 | |
0.4% | - | |
5.5 | 9.8 | |
16 days ago | 6 days ago | |
Crystal | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kemal
- The New Wave of Programming Languages: Pony, Zig, Crystal, Vlang, & Julia
-
Companies Using Kemal in Production
Add your company to the list https://github.com/kemalcr/kemal/wiki/Companies-using-Kemal-in-Production
-
Phoenix on Rails - a Phoenix tutorial for Rails developers
https://luckyframework.org/ . Kemal is even faster but it's mostly for APIs. In my opinion it's on par with Actix with much, much better developer experience.
-
How do you find the market in 2023?
It's been around for a while under development. It had it's 1.0.0 release in March 2021. There's been two (online) Crystal conferences, and there's two Crystal books published. There's a decent ecosystem of "shards" and there are a couple of Crystal web frameworks and ORMS that are similar to Sinatra or Rails-like. If you already know Ruby, learning Crystal is super easy.
- Kemal: Fast, Effective, Simple Web Framework for Crystal
-
Marten, a Crystal web framework that makes building web apps productive and fun
They’re all good to try IMO, another is https://kemalcr.com which is akin to Sinatra if you just want to get an HTTP server with routes setup quickly.
-
Medusa: The open-source alternative to Shopify
Kemal (like Sinatra, I really like this one): https://kemalcr.com/
- Ask HN: Simplest stack to build web apps in 2021?
-
Packing Static Files Into Crystal Binaries
As an example, consider this small Kemal application:
- Kemal 1.1.0 released
fastapi
-
FastAPI Got Me an OpenAPI Spec Really... Fast
That’s when I found FastAPI.
-
How to Deploy a Fast API Application to a Kubernetes Cluster using Podman and Minikube
FastAPI & Uvicorn
-
Analysing FastAPI Middleware Performance
Discussion at FastAPI GitHub: https://github.com/tiangolo/fastapi/issues/2696
-
LangChain, Python, and Heroku
An API application framework (such as FastAPI)
-
Litestar – powerful, flexible, and highly performant Python ASGI framework
It’s been my experience that async Python frameworks tend to turn IO bound problems into CPU bound problems with a high enough request rate, because due to their nature they act as unbounded queues.
This ends up made worse if you’re using sync routes.
If you’re constrained on a resource such as a database connection pool, your framework will continue to pull http requests off the wire that a sane client will cancel and retry due to timeouts because it takes too long to get a connection out of the pool. Since there isn’t a straightforward way to cancel the execution of a route handler in every Python http framework I’ve seen exhibit this problem, the problem quickly snowballs.
This is an issue with fastapi, too- https://github.com/tiangolo/fastapi/issues/5759
-
AI-Powered Image Search with CLIP, pgvector, and Fast API
Fast API.
- Ask HN: What is your go-to stack for the web?
-
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:
-
Building Fast APIs with FastAPI: A Comprehensive Guide
FastAPI is a modern, fast, web framework for building APIs with Python 3.7+ based on standard Python type hints. It is designed to be easy to use, fast to run, and secure. In this blog post, we’ll explore the key features of FastAPI and walk through the process of creating a simple API using this powerful framework.
-
Effortless API Documentation: Accelerating Development with FastAPI, Swagger, and ReDoc
FastAPI is a modern, fast web framework for building APIs with Python 3.7+ that automatically generates OpenAPI and JSON Schema documentation. While FastAPI simplifies API development, manually creating and updating API documentation can still be a time-consuming task. In this blog post, we’ll explore how to leverage FastAPI’s automatic documentation generation capabilities, specifically focusing on Swagger and ReDoc, and how to streamline the process of documenting your APIs.
What are some alternatives?
amber - A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
lucky - A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
raze - Modular, light web framework for Crystal
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
amethyst - Amethyst is a Rails inspired web-framework for Crystal language
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
grip - The microframework for writing powerful web applications.
Flask - The Python micro framework for building web applications.
kemalyst
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.