PromptLine SDK — governed LLM execution, local or remote
Project description
PromptLine SDK
Governed LLM execution — local or remote.
from promptline import PromptLine
pl = PromptLine(api_key="pl_live_...", execution="local")
result = pl.skills.run("ticket-triage", inputs={"text": "My order is late"})
print(result.output)
Install
pip install promptline
Modes
- Local (default): SDK calls LLM providers directly. Low latency, data privacy, offline-ready.
- Remote: SDK delegates to PromptLine backend. Zero config, full server-side governance.
Docs
See BRIEFING.md for full architecture and development guide.
Development
make dev # Install with dev dependencies
make test-unit # Run unit tests
make check # Lint + type-check + tests
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
promptline-0.1.0.tar.gz
(41.7 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 promptline-0.1.0.tar.gz.
File metadata
- Download URL: promptline-0.1.0.tar.gz
- Upload date:
- Size: 41.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea402716b5c2f9c243eda9bc186db06f438af609ed21aba2e94db6962c402c20
|
|
| MD5 |
59937e1d7caa59fa3fb8e9b4985f5600
|
|
| BLAKE2b-256 |
6baa10f8720cac642904cc7cf2d1446b5ce10f283c5d20d7bfe6d77f993f06d5
|
File details
Details for the file promptline-0.1.0-py3-none-any.whl.
File metadata
- Download URL: promptline-0.1.0-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9877a2306dcf2e7906726201130c0ee9ad1a188098d7aa913aec561ca138b029
|
|
| MD5 |
30eb967c4d7d6480feb7e3a1e9b3787c
|
|
| BLAKE2b-256 |
3366a4a99a60bf750049f9a04816efd96c253adec790e7db46f53d2f5f74540e
|