Simple Optimized Instruction Network: A nimble prompt management library.
Project description
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
pip install soin
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
soin_ai-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file soin_ai-0.1.0.tar.gz.
File metadata
- Download URL: soin_ai-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e0fcf613681268a271b8ba823bffbf820fb8b00b608c869d15d1b09ea2f0c8c
|
|
| MD5 |
596b8a9b18b5f50f9f5bb487bccb8743
|
|
| BLAKE2b-256 |
57357c474bb6f45d02c72597d9f89b01ae83174046fde983ede8f03b3a8d7149
|
File details
Details for the file soin_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: soin_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a72ae40b9a9a30e3e2f0ae23020481112e75dc21b275b42b9957f8039a6d88d6
|
|
| MD5 |
197d6bf3d27818d93df43a20bd7545a6
|
|
| BLAKE2b-256 |
c749c097d348051bd1974a3596b730b6fa81fb18de53b3fb3fc894eed4cda960
|