{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"}],"enrichment":{"capability":"An async ORM for Python that unifies database models with pydantic validation, designed to work directly with async web frameworks like FastAPI without maintaining separate ORM and validation schemas.","skillfed_tags":["async-orm","fastapi-integration","pydantic-native"],"use_cases":["Build FastAPI applications where the same model class validates incoming requests and represents database records.","Create async web services that need to query Postgres, MySQL, or SQLite without maintaining parallel pydantic and ORM schemas.","Migrate existing SQLAlchemy projects to async using the sqlalchemy-to-ormar translation tool.","Define relationships and foreign keys in a single model that automatically works as both ORM and API schema.","Use with fastapi-crudrouter or fastapi-pagination for automatic CRUD endpoints and pagination support."],"what_it_does":"Ormar is an async ORM built on SQLAlchemy core that lets you define a single model class that serves both as a database schema definition and as a pydantic validation schema. This eliminates the common pattern of maintaining separate ORM models and request/response validation schemas. It supports Postgres, MySQL, and SQLite through async drivers, making it a natural fit for async web frameworks like FastAPI and Starlette.\n\nThe package integrates pydantic's validation layer directly into the ORM, so your model fields are both database columns and validated request/response fields. You define relationships, constraints, and field types once, then use the same model class for database queries, API request bodies, and API responses. It handles async database operations throughout\u2014queries, inserts, updates, and relationship loading all use await syntax.","worth_installing":"Yes, if you are building async Python applications with FastAPI or similar frameworks and want to reduce schema duplication. The package is actively maintained, has no known vulnerabilities, and low install friction. The beta status reflects ongoing development rather than instability\u2014it has been in active use since 2020 and receives regular updates. Pin the version (e.g., ormar~=0.26.0) as recommended, and read release notes before upgrading since major version changes introduce breaking changes."},"id":"ormar","links":{"html":"https://skillfed.io/packages/ormar","md":"https://skillfed.io/packages/ormar.md","pypi":"https://pypi.org/project/ormar/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-08","license_spdx":null,"license_treatment":"permissive","name":"ormar","python_support":"supports_current","summary":"An async ORM with fastapi in mind and pydantic validation."},"popularity":{"monthly_downloads":305692,"position":7792,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.26.0"}
