notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-sqlmodel SQL databases in Python, designed for simplicity, compatibility, and robustness
0.0.24 databasesnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: tagattie@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-08-29 09:09:08
Last Update: 2025-08-29 09:06:49
Commit Hash: 70dd655
Also Listed In: python
License: MIT
WWW:
https://sqlmodel.tiangolo.com/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}sqlmodel>0:databases/py-sqlmodel@${PY_FLAVOR}
To install the port:
cd /usr/ports/databases/py-sqlmodel/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/py-sqlmodel
  • pkg install py311-sqlmodel
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 py311-sqlmodel listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-sqlmodel
Package flavors (<flavor>: <package>)
  • py311: py311-sqlmodel
distinfo:
TIMESTAMP = 1756455526 SHA256 (sqlmodel-0.0.24.tar.gz) = cc5c7613c1a5533c9c7867e1aab2fd489a76c9e8a061984da11b4e613c182423 SIZE (sqlmodel-0.0.24.tar.gz) = 116780

Packages (timestamps in pop-ups are UTC):
py311-sqlmodel
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.0.24--0.0.24---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.0.24--0.0.24---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-pdm-backend>0 : devel/py-pdm-backend@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-coverage>=6.2<8.0 : devel/py-coverage@py311
  2. py311-mypy>=1.4.1 : devel/py-mypy@py311
  3. py311-ruff>=0.9.6 : devel/py-ruff@py311
  4. py311-fastapi>=0.103.2 : www/py-fastapi@py311
  5. py311-httpx>=0.24.1 : www/py-httpx@py311
  6. py311-dirty-equals>=0.9.0 : devel/py-dirty-equals@py311
  7. py311-Jinja2>=3.1.4 : devel/py-Jinja2@py311
  8. py311-typing-extensions>=4.12.2 : devel/py-typing-extensions@py311
  9. py311-black>0 : devel/py-black@py311
  10. py311-pytest>=7,1 : devel/py-pytest@py311
  11. python3.11 : lang/python311
Runtime dependencies:
  1. py311-sqlalchemy20>=2.0.14<2.1.0 : databases/py-sqlalchemy20@py311
  2. py311-pydantic2>=1.10.13<3.0.0 : devel/py-pydantic2@py311
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-sqlmodel-0.0.24: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
databases_py-sqlmodel
USES:
python shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/sqlmodel/
  2. https://pypi.org/packages/source/s/sqlmodel/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.0.24
29 Aug 2025 09:06:49
commit hash: 70dd655ae95515856fc40a63df843bb412bd451dcommit hash: 70dd655ae95515856fc40a63df843bb412bd451dcommit hash: 70dd655ae95515856fc40a63df843bb412bd451dcommit hash: 70dd655ae95515856fc40a63df843bb412bd451d files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
databases/py-sqlmodel: add port: SQL databases in Python, designed for
simplicity, compatibility, and robustness

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.

WWW: https://sqlmodel.tiangolo.com/

Number of commits found: 1