promplate/partial-json-parser

Parse partial JSON generated by LLM

56
/ 100
Established

This tool helps developers working with large language models (LLMs) to reliably extract structured information, even when the LLM's output is incomplete. It takes a partial JSON string as input and outputs a valid, parseable JSON object or a completed JSON string. AI/ML engineers and developers building LLM-powered applications would use this to ensure continuous data flow from their models.

121 stars. Used by 4 other packages. Available on PyPI.

Use this if you are developing applications that rely on LLMs to output structured data in JSON format and need to process that data as it streams in, even before the full response is received.

Not ideal if your application does not involve LLMs, stream processing, or the specific need to parse incomplete JSON strings.

LLM application development AI/ML engineering data streaming structured data extraction API integration
Maintenance 6 / 25
Adoption 14 / 25
Maturity 25 / 25
Community 11 / 25

How are scores calculated?

Stars

121

Forks

9

Language

Python

License

MIT

Last pushed

Nov 28, 2025

Commits (30d)

0

Reverse dependents

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/promplate/partial-json-parser"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.