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
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/py-ormar | 0.23.1 |
| DragonFly | databases/py-ormar | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.23.1 | 0.23.1 | - | 0.20.2 | 0.23.1 |
| FreeBSD:14:quarterly | 0.23.1 | 0.23.1 | n/a | 0.20.2 | 0.23.1 |
| FreeBSD:15:latest | 0.23.1 | 0.23.1 | n/a | 0.20.2 | 0.20.2 |
| FreeBSD:15:quarterly | 0.23.1 | 0.23.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.23.1 | 0.23.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0: devel/py-poetry-core
Runtime 4
${PYTHON_PKGNAMEPREFIX}databases>=0.3.2: databases/py-databases${PYTHON_PKGNAMEPREFIX}pydantic-extra-types>=0: devel/py-pydantic-extra-types${PYTHON_PKGNAMEPREFIX}pydantic2>=0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7: devel/py-typing-extensions
Test 11
${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0: devel/py-asgi-lifespan${PYTHON_PKGNAMEPREFIX}async_timeout>0: devel/py-async_timeout${PYTHON_PKGNAMEPREFIX}asyncpg>=0: databases/py-asyncpg${PYTHON_PKGNAMEPREFIX}email-validator>=0: mail/py-email-validator${PYTHON_PKGNAMEPREFIX}Faker>=0: devel/py-Faker${PYTHON_PKGNAMEPREFIX}fastapi>=0: www/py-fastapi${PYTHON_PKGNAMEPREFIX}httpx>=0: www/py-httpx${PYTHON_PKGNAMEPREFIX}nest-asyncio>=0: devel/py-nest-asyncio${PYTHON_PKGNAMEPREFIX}pymysql>=0: databases/py-pymysql${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0: devel/py-pytest-benchmark
The full lists below include those, and their dependencies in turn.
Build dependencies 19
Run dependencies 67
- archivers/liblz4
- archivers/zstd
- databases/py-aiosqlite
- databases/py-databases
- databases/py-pymongo
- databases/py-sqlalchemy20
- databases/py-sqlite3
- databases/sqlite3
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-annotated-types
- devel/py-anyio
- devel/py-async_generator
- devel/py-attrs
- devel/py-cffi
- devel/py-cron-converter
- devel/py-greenlet
- devel/py-jsonschema
- devel/py-jsonschema-specifications
- devel/py-outcome
- devel/py-pendulum
- devel/py-phonenumbers
- devel/py-pycparser
- devel/py-pydantic-core
- devel/py-pydantic-extra-types
- devel/py-pydantic2
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-referencing
- devel/py-rpds-py
- devel/py-semver
- devel/py-six
- devel/py-sniffio
- devel/py-sortedcontainers
- devel/py-time-machine
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/py-tzdata
- devel/readline
- dns/py-dnspython
- dns/py-idna
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- misc/py-uuid-utils
- net/py-h11
- net/py-socksio
- net/py-trio
- print/indexinfo
- security/py-certifi
- security/py-cryptography
- security/py-pyopenssl
- security/py-service-identity
- security/py-truststore
- textproc/expat2
- textproc/py-pycountry
- textproc/py-python-ulid
- www/py-aioquic
- www/py-h2
- www/py-hpack
- www/py-httpcore
- www/py-httpx
- www/py-hyperframe
- www/py-pylsqpack
No port depends on this one.
Configuration
Options name: databases_ormar
| Option | Default | Description |
|---|---|---|
| CRYPTO | off | Support for password encryption |
| MYSQL | off | MySQL database support |
| PGSQL | off | PostgreSQL database support |
| SQLITE | on | SQLite database support |
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| collerek-ormar-0.23.1_GH0.tar.gz | 407709 | cdbc9b640097dbcf439935bb9c93a2f41ee6924de667c5bf4b6e5c86a43cb1a5 |
Commit history 0
No commits in the history this site was built from.