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.

36.7M 5K 205
Ohswedd
vincio

The context engineering platform for AI applications — compile prompts, memory, retrieval, tools, schemas & policies into optimized, validated, observable context packets.

47K 2 0
aigengame
gda

Godot AI agent CLI, Skill, and MCP server with structured JSON/schema output — headless scene/script/export automation plus live runtime control.

12K 26 5
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.

9K 11 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 56 11
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.

2K 731 90
mreza0100
gemini-coax

Make Google Gemini structured output actually validate against your Pydantic models — fixes the anyOf/enum drop, ignored numeric & length bounds, and degraded array tails.

2K 0 0
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.

2K 2 1
SynapseKit
synapsekit

Async-native Python framework for building LLM applications — RAG pipelines, tool-using agents, and graph workflows. Streaming-first, transparent API, 2 hard deps.

1K 20 21
Eth-Interchained
sentinel-blocks

Robust extraction of structured payloads from LLM output via sentinel blocks (<<<TAG>>> … <<<END>>>).

1K 0 1
altaidevorg
afterimage

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

1K 41 3
llm-works
llm-saia

Structured verbs for LLM interactions (verify, critique, decompose, extract, synthesize...)

1K 1 0
mohamed-em2m
dynaprompt

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

1K 7 1
vamplabAI
sgr-agent-core

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

1K 1K 173
zulko
gpt-function-decorator

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

1K 4 1
sonic182
llm-async

Async multi‑provider LLM client for Python

1K 2 0
nikirg
llmcast

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

1K 0 0
JeanBaissari
baissarienterprises-llm-wiki

A production-grade knowledge base operating system — AI agents compile raw sources into persistent, cross-linked Markdown wikis with concurrency control, multi-provider LLM integration, FTS5 search, and community detection. One repo. Any agent. Any machine.

950 0 0
2sophia
sophia-motor

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

920 0 0
NickZaitsev
gemini-gateway

Typed Python gateway for Google Gemini API access with multi-key rotation, rate limiting, retries, structured JSON output, and lightweight usage metadata.

879 1 0
mlauf-labs
saidex

SAIDEX — Structured AI Data EXtraction: validated Pydantic models from LLM responses with automatic retry, fallback, and an agentic tool loop

869 1 0
atasoglu
ask2api

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

806 3 0
lydakis
alloy-ai

Alloy (Python): Python for logic. English for intelligence.

800 18 0
shifosss
ehrextract

Structured feature extraction from clinical notes with LLMs — local HuggingFace (LoRA adapters), OpenAI-compatible, and Anthropic providers

799 1 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery