promptvault
Version control and registry for prompt assets. Part of the prompttools suite.
Features
- Package manifests -- Define prompt packages with
promptvault.yaml, including metadata, prompt entries, dependencies, and quality gates - Local registry -- Publish, install, search, and list versioned prompt packages in a local file-system registry
- Dependency resolution -- Resolve dependencies with semver range matching (caret
^, tilde~, PEP 440 ranges) - Lockfile management -- Generate and verify lockfiles for reproducible installations with integrity checking
- CLI -- Full command-line interface for all operations
Installation
pip install promptvault-ai
Quick Start
Initialize a package
promptvault init --name @my-org/my-prompts --author "Your Name"
This creates a promptvault.yaml manifest:
name: '@my-org/my-prompts'
version: 0.1.0
description: A prompt package
author: Your Name
license: MIT
prompts: []
dependencies: {}
quality:
lint: optional
test: optional
format: optional
Add prompts to the manifest
Edit promptvault.yaml to declare your prompt files:
prompts:
- file: prompts/greeting.yaml
name: greeting
description: A friendly greeting prompt
variables: [user_name]
model: claude-4-sonnet
Publish to local registry
promptvault publish
Install dependencies
promptvault install
Search the registry
promptvault search greeting
Verify lockfile integrity
promptvault verify
CLI Reference
| Command | Description |
|---|---|
promptvault init |
Scaffold a new promptvault.yaml manifest |
promptvault publish |
Publish the current package to the local registry |
promptvault install |
Resolve dependencies and generate a lockfile |
promptvault search <query> |
Search the registry catalog |
promptvault info <package> |
Show package details |
promptvault list |
List all packages in the registry |
promptvault verify |
Verify lockfile integrity |
Global Options
--registry <path>-- Override the default registry location (~/.promptvault/registry/)--format text|json-- Output format (default:text)
Version Ranges
Dependency version ranges follow semver conventions:
| Syntax | Meaning | Example |
|---|---|---|
^1.2.3 |
Compatible with 1.x.x | >=1.2.3, <2.0.0 |
~1.2.3 |
Patch-level changes | >=1.2.3, <1.3.0 |
>=1.0,<2.0 |
PEP 440 range | Explicit range |
1.2.3 |
Exact version | ==1.2.3 |
Python API
from promptvault import LocalRegistry, PackageManifest, resolve_dependencies
# Create a registry
registry = LocalRegistry()
# Publish a package
entry = registry.publish(Path("./my-package"))
# Search
results = registry.search("greeting")
# Resolve dependencies
manifest = PackageManifest(...)
resolved = resolve_dependencies(manifest, registry)
Development
pip install -e ".[dev]"
pytest
License
MIT
Metadata
Release files for promptvault-ai 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| promptvault_ai-1.0.0.tar.gz | 14.2 kB | Without provenance | Details for promptvault_ai-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| promptvault_ai-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for promptvault_ai-1.0.0-py3-none-any.whl |
Total release size: 26.0 kB
Release files / promptvault_ai-1.0.0.tar.gz
| Download URL | promptvault_ai-1.0.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18ae9eba54001e7fd126fcc2d5eb685604efba2b6fd9403bbdc06b86d9d8e39d
|
|
BLAKE2b-256 checksum How to use checksums |
8b6a00b5b72c74f08d8f37f55ef510319011b45c6d21a3b7cc3c59ad6f7a2f68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / promptvault_ai-1.0.0-py3-none-any.whl
| Download URL | promptvault_ai-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2af65a362861bd27f7c86f5945be72763158a6d1058218c11a5723c431ad204e
|
|
BLAKE2b-256 checksum How to use checksums |
d24bc5fa95992f7b90ccf294850f5e1d0892a9b64a0d0f1e452be7e9c2fda809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for promptvault-ai 1.0.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.