simple-fastapi-chat
DISCONTINUED
Propan
Our great sponsors
simple-fastapi-chat | Propan | |
---|---|---|
1 | 16 | |
7 | 462 | |
- | - | |
0.0 | 8.8 | |
over 3 years ago | 10 days ago | |
Python | Python | |
- | 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.
simple-fastapi-chat
-
Fastapi with RabbitMQ consumer
I found some examples on Github, but haven't tried them in the production setting so not sure if it would work.
Propan
-
FastStream: Python's framework for Efficient Message Queue Handling
Later, we discovered Propan, a library created by Nikita Pastukhov, which solved similar problems but for RabbitMQ. Recognizing the potential for collaboration, we joined forces with Nikita to build a unified library that could work seamlessly with both Kafka and RabbitMQ. And that's how FastStream came to be—a solution born out of the need for simplicity and efficiency in microservices development.
-
How we deprecated two successful projects and joined forces to create an even more successful one
The next step was to figure out what to do next. We posted questions on a few relevant subreddits and got quite a few feature requests, mostly around supporting other protocols, encoding schemas etc. But, we also got a message from a developer of a similar framework Propan that was released at about the same time and was gaining quite a traction in the RabbitMQ community. That developer was Nikita Pastukhov and he made an intriguing proposal: let's join our efforts and create one framework with the best features of both. Both projects were growing at roughly the same speed but targeted different communities. So the potential for double growth was there. After a quick consideration, we realized there was not much to lose and there was a lot to gain. Of course, we would lose absolute control over the project but losing control to the community is the only way for an open-source project to succeed. On the positive side, we would gain a very skilled maintainer who single-handedly created a similar framework all by himself. The frameworks were conceptually very similar so we concluded there would not be much friction of ideas and we should be able to reach consensus on the most important design issues.
-
Introducing FastStream: the easiest way to write microservices for Apache Kafka and RabbitMQ in Python
FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically. It is a new package based on the ideas and experiences gained from FastKafka and Propan. By joining our forces, we picked up the best from both packages and created a unified way to write services capable of processing streamed data regardless of the underlying protocol. We'll continue to maintain both packages, but new development will be in this project.
-
FastStream: the easiest way to add Kafka and RabbitMQ support to FastAPI services
FastStream (https://github.com/airtai/faststream) is a new Python framework, born from Propan and FastKafka teams' collaboration (both are deprecated now). It extremely simplifies event-driven system development, handling all the parsing, networking, and documentation generation automatically. Now FastStream supports RabbitMQ and Kafka, but supported brokers are constantly growing (wait for NATS and Redis a bit). FastStream itself is a really great tool to build event-driven services. Also, it has a native FastAPI integration. Just create a StreamRouter (very close to APIRouter) and register event handlers the same with the regular HTTP-endpoints way:
-
Help wanted: support for PR
Also it is important for my own Propan package implementing some custom routers.
- FLaNK Stack Weekly 29 may 2023
-
FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic
As part of the implementation of my own framework for working with message brokers (Propan), I needed to implement a type conversion system based on pydantic, as well as a lightweight dependency management system similar to FastAPI Depends.
What are some alternatives?
fibonacci-generator-with-rabbitmq-fastapi-asyncio
Streamz - Real-time stream processing for python
DB-GPT - AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
kafka-native - Kafka broker compiled to native using Quarkus and GraalVM.
faststream - FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
yt-dlp-bot - Self-hosted Video Download Telegram Bot 🇺🇦
fastgron - High-performance JSON to GRON (greppable, flattened JSON) converter
bunny-storm - RabbitMQ asynchronous connector library for Python with built in RPC support
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
aiokafka - asyncio client for kafka
scikit-llm - Seamlessly integrate LLMs into scikit-learn.
FastDepends - FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic. Async and sync modes are both supported.