PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Structured Output Python Packages

Python packages with the GitHub topic structured-output. Sorted by relevance, with stars and monthly downloads.
mangiucugna
json-repair

Repair malformed JSON from LLMs, APIs, logs, and user input in Python.

23.3M 5K 195
BoundaryML
baml-py

The AI framework that adds the engineering to prompt engineering (Python/TS/Ruby/Java/C#/Rust/Go compatible)

400K 8K 423
jhd3197
prompture

Prompture is an API-first library for requesting structured JSON output from LLMs (or any structure), validating it against a schema, and running comparative tests between models.

16K 9 0
2sophia
sophia-motor

Smart functions with a brain inside. Inputs in. Pydantic out. Multi-turn agent in the middle.

6K 0 0
call518
logsentinelai

LLM-powered security log analyzer: detect threats & anomalies with zero regex — just declare a Pydantic schema. Real-time Telegram alerts, SIEM-ready with Elasticsearch/Kibana. Supports OpenAI, Ollama, vLLM.

4K 48 10
mohamed-em2m
dynaprompt

Dynamic prompt management and configuration library for LLM applications. Powerful, lazy-loading, and supports Jinja2 templates and Pydantic schemas.

4K 6 1
madroidmaq
mlx-omni-server

MLX Omni Server is a local inference server powered by Apple's MLX framework, specifically designed for Apple Silicon (M-series) chips. It implements OpenAI-compatible API endpoints, enabling seamless integration with existing OpenAI SDK clients while leveraging the power of local ML inference.

3K 716 87
altaidevorg
afterimage

Generate conversational, tool-calling, structured-output, and preference datasets — easily and at scale

3K 38 1
ndcorder
outputguard

Validate, repair, and retry LLM structured outputs. 13 repair strategies for common JSON malformations, JSON Schema validation, and retry-with-feedback prompts.

2K 81 1
vamplabAI
sgr-agent-core

Schema-Guided Reasoning (SGR) has agentic system design created by neuraldeep community

989 1K 174
seanbrar
pollux-ai

Multimodal orchestration for LLM APIs. Source patterns, context caching, and structured output for text, PDFs, images, video, and YouTube - so you don't manage the complexity yourself.

827 2 1
zulko
gpt-function-decorator

Python decorator to define GPT-powered functions on top of OpenAI's structured output

804 4 1
sonic182
llm-async

Async multi‑provider LLM client for Python

754 2 0
lydakis
alloy-ai

Python for logic. English for intelligence.

742 17 0
atasoglu
ask2api

A minimal CLI tool that turns natural language into instant APIs.

735 3 0
MukundaKatta
agentcast-py

Python port of @mukundakatta/agentcast: structured output enforcer for LLM calls

609 0 0
inference-stack-llc
electripy-studio

Production-grade Python toolkit for AI product engineering — LLM gateway, policy guardrails, RAG eval, agent collaboration, telemetry, and more.

507 1 0
Cydra-Tech
smelt-ai

LLM-powered structured data transformation. Batch process rows through any LLM, get back strictly typed Pydantic models.

502 2 0
synacktraa
tool-parse

Making LLM Tool-Calling Simpler.

443 29 3
nikirg
llm-tasker

Type-safe LLM output parsing with Pydantic models and Jinja2 prompt templates

386 0 0
devilsfave
dagpipe-core

Zero-cost, crash-proof LLM pipeline orchestrator. Features disk-based checkpointing, free-tier routing, and structured output. (LangGraph / CrewAI alternative)

376 3 0
warpspaceinc
json-correction-loop

Domain-neutral critic→plan→execute loop for large LLM-generated JSON state. Surgical RFC 6902 patching with path_finder + context narrowing sub-agents. At 100 entities full-regen breaks (0% fix); this stack stays at 100% with 5× fewer tokens.

371 0 0
metanoia-oss
llm-promptguard

Reliable, structured, production-safe LLM outputs with schema validation and auto-repair

331 1 1
alexmar07
llmwire

Lightweight async Python client for OpenAI, Anthropic, and Ollama with streaming, retries, and structured output

326 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery