Port details
py-lm-format-enforcer Enforce the output format (JSON Schema, regex) of a language model
0.11.3 misc Σ =0 0.11.3Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2026-04-07 10:00:40
Last Update: 2026-04-07 09:58:08
Commit Hash: 18c6f1a
Also Listed In: python
License: MIT
WWW: https://github.com/noamgat/lm-format-enforcer Description: # lm-format-enforcer enforces the output format (e.g., JSON schema or regular
expressions) of language models. It supports popular LLM libraries and
integrates with frameworks like HuggingFace and LlamaCpp. ¦ ¦ ¦ ¦
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. USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
${PYTHON_PKGNAMEPREFIX}lm-format-enforcer>0:misc/py-lm-format-enforcer@${PY_FLAVOR} To install the port : # cd /usr/ports/misc/py-lm-format-enforcer/ && make install clean To add the package , run one of these commands: pkg install misc/py-lm-format-enforcer pkg install py311-lm-format-enforcer 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-lm-format-enforcer listed in the above command, you can pick from the names under the Packages section.PKGNAME: py311-lm-format-enforcer Package flavors (<flavor>: <package> ) # py311: py311-lm-format-enforcer
distinfo: # TIMESTAMP = 1775500352
SHA256 (lm_format_enforcer-0.11.3.tar.gz) = e68081c108719cce284a9bcc889709b26ffb085a1945b5eba3a12cfa96d528da
SIZE (lm_format_enforcer-0.11.3.tar.gz) = 40258
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: #
py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311 python3.11 : lang/python311 py311-build>=0 : devel/py-build@py311 py311-installer>=0 : devel/py-installer@py311
Test dependencies: #
python3.11 : lang/python311
Runtime dependencies: #
py311-interegular>=0.3.2 : textproc/py-interegular@py311 py311-packaging>0 : devel/py-packaging@py311 py311-pydantic2>=1.10.8 : devel/py-pydantic2@py311 py311-pyyaml>0 : devel/py-pyyaml@py311 python3.11 : lang/python311
This port is required by: # for Run #
misc/py-vllm
Configuration Options : #
No options to configure Options name : #
misc_py-lm-format-enforcer USES: #
python
FreshPorts was unable to extract/find any pkg message # Master Sites: #
Number of commits found: 1 #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
0.11.3 07 Apr 2026 09:58:08
Yuri Victorovich (yuri)
misc/py-lm-format-enforcer: New port: Enforce the output format (JSON Schema,
regex) of a language model
Number of commits found: 1