Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
py-lm-format-enforcer Enforce the output format (JSON Schema, regex) of a language model
0.11.3 misc Σ=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 0.11.3Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
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.
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.
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): #
py311-lm-format-enforcer
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest0.11.30.11.3n/an/an/a
FreeBSD:13:quarterly--n/an/an/a
FreeBSD:14:latest-----
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-lm-format-enforcer
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest--n/an/an/a
FreeBSD:13:quarterly--n/an/an/a
FreeBSD:14:latest0.11.30.11.3--0.11.3
FreeBSD:14:quarterly0.11.30.11.3--0.11.3
FreeBSD:15:latest0.11.30.11.3n/a-n/a
FreeBSD:15:quarterly0.11.30.11.3n/a-n/a
FreeBSD:16:latest0.11.30.11.3n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py311-poetry-core>=1.0.0 : devel/py-poetry-core@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. python3.11 : lang/python311
Runtime dependencies: #
  1. py311-interegular>=0.3.2 : textproc/py-interegular@py311
  2. py311-packaging>0 : devel/py-packaging@py311
  3. py311-pydantic2>=1.10.8 : devel/py-pydantic2@py311
  4. py311-pyyaml>0 : devel/py-pyyaml@py311
  5. python3.11 : lang/python311
This port is required by: #
for Run #
  1. 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: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/l/lm_format_enforcer/
  2. https://pypi.org/packages/source/l/lm_format_enforcer/
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.11.3
07 Apr 2026 09:58:08
commit hash: 18c6f1ad24687648bdfe985fa1c83e2b2ce5801ecommit hash: 18c6f1ad24687648bdfe985fa1c83e2b2ce5801ecommit hash: 18c6f1ad24687648bdfe985fa1c83e2b2ce5801ecommit hash: 18c6f1ad24687648bdfe985fa1c83e2b2ce5801e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-lm-format-enforcer: New port: Enforce the output format (JSON Schema,
regex) of a language model

Number of commits found: 1