databases/py-sqlmodel 0.0.48 FreeBSD
SQL databases in Python, designed for simplicity, compatibility, and robustness
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
084e2fefb8- License
- MIT
- Categories
- databases, python
- Package size
- 59.0 KiB, 297.3 KiB installed
Description
SQLModel is a library for interacting with SQL databases from Python code, with Python objects. It is designed to be intuitive, easy to use, highly compatible, and robust.
SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy.
The key features are:
- Intuitive to write: Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs.
- Easy to use: It has sensible defaults and does a lot of work underneath to simplify the code you write.
- Compatible: It is designed to be compatible with FastAPI, Pydantic, and SQLAlchemy.
- Extensible: You have all the power of SQLAlchemy and Pydantic underneath.
- Short: Minimize code duplication. A single type annotation does a lot of work. No need to duplicate models in SQLAlchemy and Pydantic.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/py-sqlmodel | 0.0.48 |
| MidnightBSD | databases/py-sqlmodel | 0.0.39_1 |
Install
Binary package:
pkg install py312-sqlmodel
From the ports tree:
cd /usr/ports/databases/py-sqlmodel/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-sqlmodel>0:databases/py-sqlmodel
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.0.48 | 0.0.48 | - | - | 0.0.48 |
| FreeBSD:14:quarterly | 0.0.47 | 0.0.47 | n/a | - | 0.0.47 |
| FreeBSD:15:latest | 0.0.48 | 0.0.48 | n/a | - | 0.0.24 |
| FreeBSD:15:quarterly | 0.0.47 | 0.0.47 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.0.47 | 0.0.48 | 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}pdm-backend>0: devel/py-pdm-backend
Runtime 3
${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=2.0.14<2.2.0: databases/py-sqlalchemy20${PYTHON_PKGNAMEPREFIX}pydantic2>=2.11.0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0: devel/py-typing-extensions
Test 14
${PYTHON_PKGNAMEPREFIX}aiosqlite>=0.17.0: databases/py-aiosqlite${PYTHON_PKGNAMEPREFIX}alembic>=1.12.0: databases/py-alembic${PYTHON_PKGNAMEPREFIX}black>=24.1.0: devel/py-black${PYTHON_PKGNAMEPREFIX}coverage>=6.2: devel/py-coverage${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.11: devel/py-dirty-equals${PYTHON_PKGNAMEPREFIX}fastapi>=0.128.0: www/py-fastapi${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1: www/py-httpx${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}psycopg>=3.2.10: databases/py-psycopg${PYTHON_PKGNAMEPREFIX}pymysql>=1.1.1: databases/py-pymysql${PYTHON_PKGNAMEPREFIX}ruff>=0.15.6: devel/py-ruff${PYTHON_PKGNAMEPREFIX}ty>=0.0.25: devel/py-ty${PYTHON_PKGNAMEPREFIX}typer>=0.26.1: devel/py-typer${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.15.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 22
- archivers/liblz4
- archivers/zstd
- databases/py-sqlalchemy20
- databases/py-sqlite3
- databases/sqlite3
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-annotated-types
- devel/py-greenlet
- devel/py-pydantic-core
- devel/py-pydantic2
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/readline
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- print/indexinfo
- textproc/expat2
Required by 2
Configuration
Options name: databases_sqlmodel
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sqlmodel-0.0.48.tar.gz | 99329 | 5582e87e845e23bb1179a7d8b11a4f5e441b4494528a41ee2fe1d129ffe91543 |
Master sites 1
- PYPI