BSD Ports

databases/py-ormar 0.20.1_1 DragonFly

Simple async ORM with fastapi in mind and pydantic validation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
databases, python
Package size
263.0 KiB, 2004.1 KiB installed

Description

The ormar package is an async mini ORM for Python, with support for Postgres, MySQL, and SQLite.

The main benefit of using ormar are: * getting an async ORM that can be used with async frameworks (fastapi, starlette etc.) * getting just one model to maintain - you don't have to maintain pydantic and other orm model (sqlalchemy, peewee, gino etc.)

The goal was to create a simple ORM that can be used directly (as request and response models) with fastapi that bases it's data validation on pydantic.

In the other systems

SystemPortVersion
DragonFlydatabases/py-ormar0.20.1_1
FreeBSDdatabases/py-ormar0.23.1

Install

Binary package:

pkg install py311-ormar

From DPorts:

cd /usr/dports/databases/py-ormar && make install clean

Dependencies

Run dependencies 9