Skip to main content

Python client SDK for PromptLedger — prompt registry, execution tracking, and lineage

Project description

promptledger-client

Python client SDK for PromptLedger — a prompt registry, execution tracking, and lineage service for GenAI applications.

Note: This package is currently a placeholder. The full SDK (0.1.0) will be released alongside PromptLedger Epic 1.

Planned features

  • AsyncPromptLedgerClient — async httpx wrapper for all PromptLedger API endpoints
  • PromptLedgerClient — sync wrapper with identical interface
  • log_span() — log LLM calls from code-based (Mode 2) workflows
  • register_code_prompts() — register and version-track prompts defined in code
  • start_trace() / current_trace_id() — contextvars helpers for multi-step trace correlation
  • Structured exceptions: AuthError, NotFoundError, PromptLedgerError

Installation (coming soon)

pip install promptledger-client

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

promptledger_client-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

promptledger_client-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file promptledger_client-0.1.0.tar.gz.

File metadata

  • Download URL: promptledger_client-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for promptledger_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c6fb02e8a18576d3b8067663c9f4ff487016c4d35c7dd615f15b737edba1d525
MD5 30556f2da46ba4fac2d233ce8e5d0a56
BLAKE2b-256 941aedd98eacb908f3f382fb99ebce80ef609587831707d7c5d219d4c2c979c6

See more details on using hashes here.

File details

Details for the file promptledger_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for promptledger_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd809bd35cbb206db37a442b123f669a1e614a1b59f249da7617c093288820c6
MD5 d0e1c6c91823204e96f7b236cdae0dea
BLAKE2b-256 aa3b79e28613e6f40dd3e3ad115df0330f8cfb268dfa626d500bca3e40e3e394

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