Beanie ODM

Community

FastAPI MongoDB models & queries

Authormarkus41
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies and standardizes the process of interacting with MongoDB databases within FastAPI applications, providing robust patterns for defining models, executing queries, and managing data.

Core Features & Use Cases

  • Model Definition: Define asynchronous MongoDB documents using Beanie ODM with Pydantic models.
  • Querying: Perform basic CRUD operations, advanced filtering, sorting, and pagination.
  • Aggregation: Construct and execute complex aggregation pipelines.
  • Indexing & Transactions: Define database indexes and manage atomic transactions.
  • Use Case: Quickly set up a user management system in a FastAPI app, defining a User document, implementing user creation and retrieval endpoints, and ensuring data integrity through proper indexing.

Quick Start

Use the Beanie ODM skill to define a User document with an email and name field.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Beanie ODM
Download link: https://github.com/markus41/claude/archive/main.zip#beanie-odm

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.