Skip to main content

Simple Optimized Instruction Network: A nimble prompt management library.

Project description

Soin Logo

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


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.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

soin_ai-0.1.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file soin_ai-0.1.0.1.tar.gz.

File metadata

  • Download URL: soin_ai-0.1.0.1.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

Hashes for soin_ai-0.1.0.1.tar.gz
Algorithm Hash digest
SHA256 bbd88f0b07b4207b3931cbfb0ee568155b5dad7f34d432b1469ffd4545a4c6f7
MD5 dc44ce903ae9c778ca058e8a24b056a8
BLAKE2b-256 32f7af29892722c27eac7b29c1ddbb6762790d1b3697fcd6b6216b89cb289ab9

See more details on using hashes here.

File details

Details for the file soin_ai-0.1.0.1-py3-none-any.whl.

File metadata

  • Download URL: soin_ai-0.1.0.1-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

Hashes for soin_ai-0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fcc546cefbcd53c0eacf51e7e7bc724fc7af81c5f732cfcd06f3c3c8d558891
MD5 fdb76f4e80dca0186ac75d6df160ee7e
BLAKE2b-256 a2c7dacebe57200c1b220ef2610c8dd6c87f5befabc72c6deca32627e88532e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page