BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.63.40.64.0--0.64.0
FreeBSD:14:quarterly0.63.40.63.4n/a-0.63.4
FreeBSD:15:latest0.64.00.64.0n/a--
FreeBSD:15:quarterly0.63.40.63.4n/an/an/a
FreeBSD:16:latest0.63.40.64.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mangiucugna-json_repair-v0.64.0_GH0.tar.gz2.587703e+066b0a0f961d3ad2d0a342fd5172499f541d7381d17e40935c8405f36c5c5a2dc5

Commit history 3

DateCommitCreditsLog message
f26eab1c37 Yuri Victorovich textproc/py-json-repair: update 0.63.4 → 0.64.0
b2184a8d47 Yuri Victorovich textproc/py-json-repair: update 0.61.7 → 0.63.4
2f16074cf6 Yuri Victorovich textproc/py-json-repair: update 0.61.1 → 0.61.7