textproc/py-json-repair 0.64.0 FreeBSD
Package to repair broken json strings
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
f26eab1c37- License
- MIT
- Categories
- textproc, python
- Package size
- 104.9 KiB, 550.4 KiB installed
Description
json-repair is a simple package that can be used to fix an invalid json string. It can repair malformed JSON from LLMs, APIs, logs, and user input.
Features:
- Fix missing quotes, commas, brackets, comments, stray prose, and truncated values.
- Use it as a drop-in fallback for json.loads() or as a schema-guided repair step.
Install
Binary package:
pkg install py312-json-repair
From the ports tree:
cd /usr/ports/textproc/py-json-repair/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-json-repair>0:textproc/py-json-repair
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.63.4 | 0.64.0 | - | - | 0.64.0 |
| FreeBSD:14:quarterly | 0.63.4 | 0.63.4 | n/a | - | 0.63.4 |
| FreeBSD:15:latest | 0.64.0 | 0.64.0 | n/a | - | - |
| FreeBSD:15:quarterly | 0.63.4 | 0.63.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.63.4 | 0.64.0 | 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}wheel>=0.44.0: devel/py-wheel
Test 2
${PYTHON_PKGNAMEPREFIX}flask-cors>0: www/py-flask-cors${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0: devel/py-pytest-benchmark
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mangiucugna-json_repair-v0.64.0_GH0.tar.gz | 2.587703e+06 | 6b0a0f961d3ad2d0a342fd5172499f541d7381d17e40935c8405f36c5c5a2dc5 |