Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promptline-0.1.0-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

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

Hashes for promptline-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea402716b5c2f9c243eda9bc186db06f438af609ed21aba2e94db6962c402c20
MD5 59937e1d7caa59fa3fb8e9b4985f5600
BLAKE2b-256 6baa10f8720cac642904cc7cf2d1446b5ce10f283c5d20d7bfe6d77f993f06d5

See more details on using hashes here.

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

Hashes for promptline-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9877a2306dcf2e7906726201130c0ee9ad1a188098d7aa913aec561ca138b029
MD5 30eb967c4d7d6480feb7e3a1e9b3787c
BLAKE2b-256 3366a4a99a60bf750049f9a04816efd96c253adec790e7db46f53d2f5f74540e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page