Python SDK and CLI for Open Prompt Store.
Project description
openpromptstore
from openpromptstore import PromptStore
store = PromptStore(
"http://localhost:8000",
api_key="your_api_key",
organization_id="...",
project_id="...",
)
text = store.render("welcome@prod", {"user_name": "Ada", "product": "Acme"})
CLI:
openpromptstore login
openpromptstore project list
openpromptstore create welcome --description "System prompt for onboarding"
openpromptstore push welcome ./prompts/welcome.md
openpromptstore alias set welcome prod 1
openpromptstore render welcome@prod --var user_name=Ada --var product=Acme
The SDK fetches prompt templates through the public HTTP API and renders them client-side with strict missing-variable checks and TTL caching.
Prompts are scoped to projects inside organizations. Use organization_id for the tenant and project_id for the prompt namespace. The CLI also supports project list, project create, and project rename.
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
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 openpromptstore-0.1.0.tar.gz.
File metadata
- Download URL: openpromptstore-0.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5afb2ff663ea28e38b93153ff8581f268de707a2042b2392b68e3e8d8f5486a2
|
|
| MD5 |
02274fb0236d5dd546694da2777cb668
|
|
| BLAKE2b-256 |
6f781185a030d39e111a75e4bef5b57808235a49e0f868a3a1330fa30ba27dfc
|
Provenance
The following attestation bundles were made for openpromptstore-0.1.0.tar.gz:
Publisher:
release.yml on uhryvacheuski/openpromptstore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openpromptstore-0.1.0.tar.gz -
Subject digest:
5afb2ff663ea28e38b93153ff8581f268de707a2042b2392b68e3e8d8f5486a2 - Sigstore transparency entry: 1682971840
- Sigstore integration time:
-
Permalink:
uhryvacheuski/openpromptstore@5ecbfc5a6509184edf0fcddff4970d04a92ab4f7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/uhryvacheuski
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5ecbfc5a6509184edf0fcddff4970d04a92ab4f7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openpromptstore-0.1.0-py3-none-any.whl.
File metadata
- Download URL: openpromptstore-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14b298c9f99c99402557048d34a60bd8793307902ccd00e93613f530af8b2465
|
|
| MD5 |
177376658951b63a65095371cb8bbf29
|
|
| BLAKE2b-256 |
06b4b2d7e32f822953bd520214b36f454afe4ceccfe10d4a6405e64da3398996
|
Provenance
The following attestation bundles were made for openpromptstore-0.1.0-py3-none-any.whl:
Publisher:
release.yml on uhryvacheuski/openpromptstore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openpromptstore-0.1.0-py3-none-any.whl -
Subject digest:
14b298c9f99c99402557048d34a60bd8793307902ccd00e93613f530af8b2465 - Sigstore transparency entry: 1682972014
- Sigstore integration time:
-
Permalink:
uhryvacheuski/openpromptstore@5ecbfc5a6509184edf0fcddff4970d04a92ab4f7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/uhryvacheuski
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5ecbfc5a6509184edf0fcddff4970d04a92ab4f7 -
Trigger Event:
push
-
Statement type: