beanie
beanie-fastapi-demo
Our great sponsors
beanie | beanie-fastapi-demo | |
---|---|---|
11 | 1 | |
1,795 | 20 | |
- | - | |
8.4 | 0.0 | |
5 days ago | over 2 years ago | |
Python | Python | |
Apache License 2.0 | - |
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.
beanie
-
Ask HN: Where do I find good code to read?
I recently came across Beanie. A Python ORM for MongoDb. A pleasure to work with and integrates well with FastAPI, the tests document the code well, and at this point itβs only as complicated as it needs to be.
https://github.com/roman-right/beanie
-
What ORM/ODM do you use for mongo? or which one do you suggest for a large scale application
Beanie (https://beanie-odm.dev) is an ODM using Pydantic BaseModel :)
-
starlette-admin: Simple and extensible admin interface framework for Starlette/FastApi
You may want to look at swapping mongoengine for beanie. That supports native pydantic data structures and has async support.
-
Announcing Beanie ODM 1.8 - Relations, Cache, Actions and more!ππ
Other link patterns are not supported for now. If you need something more specific for your use-case, please leave an issue on the GitHub page - https://github.com/roman-right/beanie
-
Which ORM should I learn?
Document: Beanie
- Beanie - Python MongoDB ODM with Query Builder
-
Beanie Projections. Reducing network and database load.
Today I want to introduce to you a new Beanie feature. MongoDB projections are supported now. It helps to reduce database load and makes your services more efficient.
-
MongoDB indexes with Beanie
Beanie - Python ODM (Object Document Mapper) for MongoDB.
- Beanie - Python MongoDB ODM
-
Indexes with Beanie. Creating a geo service.
Beanie - Python ODM (Object Document Mapper) for MongoDB, based on Pydantic and Motor.
beanie-fastapi-demo
-
Announcing Beanie - MongoDB ODM
But that's a bit boring, isn't it? Now let's get to the interesting part - the usage examples. It will show how handy this tool is. I'm deliberately omitting some additional imports and helpers here, so as not to overload the picture and focus only on the important things. The entire working app from this article is in my GitHub repo beanie-fastapi-demo.
What are some alternatives?
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
pydantic - Data validation using Python type hints
mongox - Familiar async Python MongoDB ODM
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pydantic-aioredis - A Declarative ORM for Redis using Pydantic Models and aioredis
redis-om-python - Object mapping, and more, for Redis and Python
MongoEngine - A Python Object-Document-Mapper for working with MongoDB
ice-cream-store - Beanie Projections demo project
starlette-admin - Fast, beautiful and extensible administrative interface framework for Starlette & FastApi applications
Refactoring-Summary - Summary of "Refactoring: Improving the Design of Existing Code" by Martin Fowler
beanie-index-demo