Port details |
- py-ormar Simple async ORM with fastapi in mind and pydantic validation
- 0.11.2 databases
=0 Version of this port present on the latest quarterly branch. - Maintainer: meka@tilda.center
 - Port Added: 2022-01-01 05:12:09
- Last Update: 2022-07-05 09:04:42
- Commit Hash: 3b314cf
- Also Listed In: python
- License: MIT
- 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.
WWW: https://github.com/collerek/ormar
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ormar>0:databases/py-ormar@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-ormar/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-ormar
- pkg install py39-ormar
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.NOTE: This is a Python port. Instead of py39-ormar listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-ormar
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1656827722
SHA256 (ormar-0.11.2.tar.gz) = f0fefade9e3650184343de48ef3b90763bb4ba576359a26177ca78e66c529c70
SIZE (ormar-0.11.2.tar.gz) = 127855
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=62.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-databases>=0.3.2,<0.7.0 : databases/py-databases@py39
- py39-pydantic>=1.6.1,<1.10.0 : devel/py-pydantic@py39
- py39-sqlalchemy14>=1.4.0 : databases/py-sqlalchemy14@py39
- py39-typing-extensions>=3.7 : devel/py-typing-extensions@py39
- py39-aiosqlite>0 : databases/py-aiosqlite@py39
- py39-setuptools>=62.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Library dependencies:
-
- libsqlite3.so : databases/sqlite3
- This port is required by:
- for Run
-
- databases/py-fastapi-users-db-ormar
- www/py-freenit
- Configuration Options:
- ===> The following configuration options are available for py39-ormar-0.11.2:
CRYPTO=off: Support for password encryption
====> Database Support
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
SQLITE=on: SQLite database support
===> Use 'make config' to modify these settings
- Options name:
- databases_py-ormar
- USES:
- python:3.7+ sqlite
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|