#283283rd of 358 in Backends, databases and hosting

beanie

Async Python ODM for MongoDB with Pydantic models

Releases and problems feed (RSS)

Stars
2.7k
License
Apache-2.0
Last commit
Oct 2026
Last release
Aug 2026
Language
Python
Stars, last 30 weeks+73
26 Apr 2026: 2,639 stars3 May 2026: 2,640 stars10 May 2026: 2,643 stars17 May 2026: 2,647 stars24 May 2026: 2,649 stars31 May 2026: 2,650 stars7 Jun 2026: 2,653 stars14 Jun 2026: 2,655 stars21 Jun 2026: 2,660 stars28 Jun 2026: 2,661 stars5 Jul 2026: 2,662 stars12 Jul 2026: 2,666 stars19 Jul 2026: 2,667 stars26 Jul 2026: 2,672 stars2 Aug 2026: 2,675 stars9 Aug 2026: 2,676 stars16 Aug 2026: 2,678 stars23 Aug 2026: 2,681 stars30 Aug 2026: 2,683 stars6 Sept 2026: 2,688 stars13 Sept 2026: 2,691 stars20 Sept 2026: 2,693 stars27 Sept 2026: 2,697 stars4 Oct 2026: 2,700 stars11 Oct 2026: 2,703 stars18 Oct 2026: 2,704 stars25 Oct 2026: 2,704 stars1 Nov 2026: 2,706 stars8 Nov 2026: 2,707 stars15 Nov 2026: 2,710 stars22 Nov 2026: 2,712 stars

2,639 on 26 Apr 20262,712 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Beanie maps MongoDB collections to Pydantic-based Document classes and exposes async insert, find, update and delete using Python expression syntax. It uses the PyMongo async client under the hood and includes data and schema migrations. A synchronous sibling, Bunnet, exists for non-async code.

Who it is for: Python developers using MongoDB with FastAPI or other async apps

Strengths

  • Queries written as Python expressions, e.g. Product.price < 10
  • Pydantic models double as document schemas; Indexed fields declare indexes
  • Data and schema migrations are built in
  • Linked examples cover FastAPI, JWT auth and Azure Cosmos DB

Weaknesses

  • MongoDB only; no support for other databases
  • Maintainers warn reviews and issue replies are slower while v3 is built
  • Async only; sync use needs the separate Bunnet library
  • Library, not a service: no hosting, auth or API layer included

What it needs

  • no GPU
  • Needs MongoDB, Pydantic, PyMongo

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Backends, databases and hosting

See all 358
Also in Backends, databases and hosting
RankProjectScore
#281im-serverSelf-hosted instant messaging server in Go over Protobuf and WebSocket3.5k starsApache-2.057 out of 100
#282spring-boot-starterSpring Boot auto-configuration and starters for the MyBatis SQL mapper4.2k starsApache-2.056 out of 100
#284agensgraphPostgreSQL fork with a built-in property graph queried via SQL, openCypher and GQL1.5k starsApache-2.056 out of 100
#285robustmqRust message broker for MQTT, Kafka, NATS and AMQP on shared storage Live demo ↗ (opens in a new tab)1.9k starsApache-2.055 out of 100
#286go-springSpring Boot-style dependency injection and starter framework for Go services1.8k starsApache-2.055 out of 100