BSD Ports

databases/py-ormar 0.23.1 FreeBSD

Simple async ORM with fastapi in mind and pydantic validation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
databases, python
Package size
291.0 KiB, 1964.6 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
FreeBSDdatabases/py-ormar0.23.1
DragonFlydatabases/py-ormar0.20.1_1

Install

Binary package:

pkg install py312-ormar

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-ormar>0:databases/py-ormar

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.23.10.23.1-0.20.20.23.1
FreeBSD:14:quarterly0.23.10.23.1n/a0.20.20.23.1
FreeBSD:15:latest0.23.10.23.1n/a0.20.20.20.2
FreeBSD:15:quarterly0.23.10.23.1n/an/an/a
FreeBSD:16:latest0.23.10.23.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 4

Test 11

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 67

No port depends on this one.

Configuration

Options name: databases_ormar

OptionDefaultDescription
CRYPTOoffSupport for password encryption
MYSQLoffMySQL database support
PGSQLoffPostgreSQL database support
SQLITEonSQLite database support
USES
cpe python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
collerek-ormar-0.23.1_GH0.tar.gz407709cdbc9b640097dbcf439935bb9c93a2f41ee6924de667c5bf4b6e5c86a43cb1a5

Commit history 0

No commits in the history this site was built from.