Metadata-Version: 2.4
Name: belso
Version: 0.0.2
Summary: Better LLMs Structured Outputs
Home-page: https://github.com/MikiTwenty/belso
Author: Michele Ventimiglia
Author-email: michele.ventimiglia01@gmail.com
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: rich
Requires-Dist: colorama
Requires-Dist: google-generativeai
Requires-Dist: google.ai.generativelanguage
Requires-Dist: langchain
Requires-Dist: mistralai
Requires-Dist: pydantic
Requires-Dist: pytest
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Belso: Better LLMs Structured Outputs

[![Documentation](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://MikiTwenty.github.io/belso/)
[![PyPI version](https://badge.fury.io/py/belso.svg)](https://badge.fury.io/py/belso)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Overview

Belso (Better LLMs Structured Outputs) is a Python library designed to simplify working with structured outputs from Large Language Models (LLMs). It provides a unified interface for validating, translating, and processing structured data across multiple LLM providers.

## Key Features

- **Schema Validation**: Validate LLM outputs against predefined schemas
- **Multi-Provider Support**: Seamlessly work with outputs from:
  - OpenAI
  - Anthropic
  - Google AI
  - Mistral AI
  - Hugging Face
  - Ollama
  - LangChain
- **Format Translation**: Convert between different schema formats
- **Robust Error Handling**: Comprehensive logging and error management

## Installation

```bash
pip install belso
```
