Skip to main content

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


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

Uploaded Source

Built Distribution

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

just_prompt_sdk-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file just_prompt_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: just_prompt_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for just_prompt_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6b18cd874c5225567aa2b26f0168e9ef0738222f0991f57713f15c5d6a1b27e
MD5 b60a999824c1064eb483059515a77756
BLAKE2b-256 c1458a6e351ef65afe7532a74b48d02cf16454c169012360e0d12751270824dd

See more details on using hashes here.

File details

Details for the file just_prompt_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for just_prompt_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89cec1dcdca1bc5f8d861d6f9683eab6f1346e68cbd322923193afe921628b81
MD5 a6a20977916e9431c9d44d15424b1638
BLAKE2b-256 ea6ed2844ef7d4848e96cc6c8ca609740fcd7d7c2bfd22c046909f109f6b4f88

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