Skip to main content

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

Metadata

Release files for promptline 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 promptline 0.1.0
File Size Uploaded
promptline-0.1.0.tar.gz 41.7 kB Details

Built distribution (wheel)

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

Total release size: 77.9 kB

Release files / promptline-0.1.0.tar.gz

Download URL promptline-0.1.0.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ea402716b5c2f9c243eda9bc186db06f438af609ed21aba2e94db6962c402c20
BLAKE2b-256 checksum
How to use checksums
6baa10f8720cac642904cc7cf2d1446b5ce10f283c5d20d7bfe6d77f993f06d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL promptline-0.1.0-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9877a2306dcf2e7906726201130c0ee9ad1a188098d7aa913aec561ca138b029
BLAKE2b-256 checksum
How to use checksums
3366a4a99a60bf750049f9a04816efd96c253adec790e7db46f53d2f5f74540e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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