Metadata-Version: 2.3
Name: soin-ai
Version: 0.1.0
Summary: Simple Optimized Instruction Network: A nimble prompt management library.
Author: FernandoSSI
Author-email: FernandoSSI <fernandosi2005@gmail.com>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Dist: jinja2>=3.1.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown

<div align="center">
    <picture>
      <img alt="LangChain Logo" src=".github/images/banner.jpg" style="border-radius: 10px;">
      <!-- <img alt="LangChain Logo" src=".github/images/logo.jpg" width="200px" style="border-radius: 20%;"> -->
    </picture>
</div>

# Soin 🐵
### Simple Optimized Instruction Network



**Soin** is a lightweight, strictly-typed prompt management library for Python. It separates your prompt logic from your application code using YAML files, Jinja2 power, and Pydantic validation.

## Key Features

- **Strict Typing:** Validate your prompt inputs using Pydantic models.
- **Programmatic Logic:** Use Jinja2 for loops, conditionals, and math inside prompts.
- **Modular Design:** Keep your prompts organized in YAML files.
- **Custom Type Registry:** Register your own classes to validate complex data structures.

## Installation

```bash
pip install soin