minions-prompts (Python)
Python SDK for the minions-prompts version-controlled prompt engineering system.
Installation
pip install minions-prompts
Quick Start
from minions import create_minion
from minions_prompts import (
prompt_template_type, prompt_version_type,
PromptRenderer, PromptChain, PromptDiff,
InMemoryStorage, register_prompt_types,
)
storage = InMemoryStorage()
# Create a prompt template
minion, _ = create_minion(
{"title": "Summarizer", "fields": {"content": "Summarize {{topic}} for {{audience}}."}},
prompt_template_type,
)
storage.save_minion(minion)
# Render it
renderer = PromptRenderer()
rendered = renderer.render(
minion.fields["content"],
{"topic": "AI agents", "audience": "developers"},
)
print(rendered)
Release files for minions-prompts 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minions_prompts-0.1.3.tar.gz | 16.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minions_prompts-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.4 kB
Release files / minions_prompts-0.1.3.tar.gz
| Download URL | minions_prompts-0.1.3.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac13aad9c388dcb4c819d9611f3f2dc5de20319dbf0469154d598048e4eeb3d1
|
|
BLAKE2b-256 checksum How to use checksums |
a683cab59acc92f1bd516e0ffd2b7c0874cae3477c671f9248fb481954fad02f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / minions_prompts-0.1.3-py3-none-any.whl
| Download URL | minions_prompts-0.1.3-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
176d5c71c58e2c15fdf6b63db7b67b8e067d75c638c865b3a8a2eaf626ebe25b
|
|
BLAKE2b-256 checksum How to use checksums |
ee1d6056222c62e24a2b6aee5625c2d3477b37fabd984b3187666a5e0f375584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|