misc/py-lm-format-enforcer 0.11.3 FreeBSD
Enforce the output format (JSON Schema, regex) of a language model
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- misc, python
- Package size
- 88.2 KiB, 433.3 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/py-lm-format-enforcer | 0.11.3 |
| HardenedBSD | misc/py-lm-format-enforcer | 0.11.3 |
| GhostBSD | misc/py-lm-format-enforcer | 0.11.3 |
Install
Binary package:
pkg install py312-lm-format-enforcer
From the ports tree:
cd /usr/ports/misc/py-lm-format-enforcer/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-lm-format-enforcer>0:misc/py-lm-format-enforcer
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.11.3 | 0.11.3 | - | - | 0.11.3 |
| FreeBSD:14:quarterly | 0.11.3 | 0.11.3 | n/a | - | 0.11.3 |
| FreeBSD:15:latest | 0.11.3 | 0.11.3 | n/a | - | - |
| FreeBSD:15:quarterly | 0.11.3 | 0.11.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.11.3 | 0.11.3 | 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}poetry-core>=1.0.0: devel/py-poetry-core
Runtime 4
${PYTHON_PKGNAMEPREFIX}interegular>=0.3.2: textproc/py-interegular${PYTHON_PKGNAMEPREFIX}packaging>0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}pydantic2>=1.10.8: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}pyyaml>0: devel/py-pyyaml
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-annotated-types
- devel/py-packaging
- devel/py-pydantic-core
- devel/py-pydantic2
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/libyaml
- textproc/py-interegular
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lm_format_enforcer-0.11.3.tar.gz | 40258 | e68081c108719cce284a9bcc889709b26ffb085a1945b5eba3a12cfa96d528da |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.