A Python SDK for fetching and rendering prompts from Prompt Studio API
Project description
Prompt Studio SDK
A Python SDK for fetching and rendering prompts from Prompt Studio API.
Installation
pip install just-prompt-sdk
Usage
Standalone rendering
from prompt_studio import render
rendered = render("Hello, {{name}}!", {"name": "World"})
print(rendered) # Output: Hello, World!
With API integration
from prompt_studio import PromptStudio, render
studio = PromptStudio(api_key="your-api-key")
prompt = studio.get_prompt("my-project", "my-prompt")
rendered = render(prompt, {"name": "World"})
License
MIT License
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
just_prompt_sdk-0.1.1.tar.gz
(8.5 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 just_prompt_sdk-0.1.1.tar.gz.
File metadata
- Download URL: just_prompt_sdk-0.1.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57e7127c10f54950d3be4dda158675f83e7f57f792995647af2a2f770cdcf9e0
|
|
| MD5 |
dc0cfc33d9ee3ed7f88f1b6a015d41cf
|
|
| BLAKE2b-256 |
daee3307a528fc520cf3cb4306ef122c9f663e4dc5dfc1a5dcac553ff0fbd03a
|
File details
Details for the file just_prompt_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: just_prompt_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0904cc2e0d5b555d05300396d2ebd9a12c930dd7feb35612f75d1682ded6dc7
|
|
| MD5 |
9538b30a5d2289a17cebe4c5b8003e5b
|
|
| BLAKE2b-256 |
f86c10275fdf476aaa333aca0b2f9f4b61c114384dad413f368ee3b41723262f
|