ensure-json

A <3kB, dependency-free toolkit to repair 'almost-JSON' text from LLMs and return a valid Python object—or raise JsonFixError.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install ensure-json

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
0.1.1 2025-05-21

Issues with this package?

Page last updated 2025-05-25 08:18:49 UTC