Skip to main content

Tests

PromptStore

A lightweight Python package for managing and versioning LLM prompt templates.

Features

  • Simple JSON-based storage
  • Template versioning
  • Tag-based organization
  • Jinja2 template syntax
  • Package integration utilities

Installation

pip install promptstore

Usage

from promptstore import PromptStore

# Create a store
store = PromptStore("./prompts")

# Add a prompt template
prompt = store.add(
    content="Write a {{language}} function that {{task}}",
    description="Code generation prompt",
    tags=["coding", "generation"]
)

# Use the prompt
filled = prompt.fill({
    "language": "Python",
    "task": "sorts a list in reverse order"
})

Documentation

Full documentation is available at lamalab-org.github.io/promptstore.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for promptstore 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for promptstore 0.1.0
File Size Uploaded Provenance Actions
promptstore-0.1.0.tar.gz 8.2 kB Without provenance Details for promptstore-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for promptstore 0.1.0
File Interpreter ABI Platform Actions
promptstore-0.1.0-py3-none-any.whl Python 3 none any Details for promptstore-0.1.0-py3-none-any.whl

Total release size: 11.4 kB

Release files / promptstore-0.1.0.tar.gz

Download URL promptstore-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d7b40f234c5069197c57f12429c13a5c9610e4fc76fb7468d59f59ee751d92d2
BLAKE2b-256 checksum
How to use checksums
93e6cd9b90bac150da64754f20445a3802259332636377d23896639e37a4f0b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.11

Release files / promptstore-0.1.0-py3-none-any.whl

Download URL promptstore-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dce7d0d010a17900076864a4ca8a1e5c126ee851b06413b8855ad8cd125d2406
BLAKE2b-256 checksum
How to use checksums
6916b521745c3e7d645b3f5e31bceb9ff41d817af1f72fc5be8d8972f3fe45b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.11

Security for promptstore 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page