litellm-openttt
TTTPS Proof-of-Time success callback for LiteLLM. Attaches a
cryptographic audit-trail timestamp (a signed Proof-of-Time receipt) to every
litellm.completion() / litellm.acompletion() response, sealed against the
public self-serve KPP Provenance API.
This attaches a cryptographic audit-trail timestamp and integrity hash. It does not certify legal or regulatory compliance (EU AI Act, FDA, and so on). Treat it as an audit-trail timestamp, not a compliance claim.
Install
pip install litellm-openttt
Usage
import litellm
from litellm_openttt import TTTPSTimestampLoggerKPPLive
litellm.callbacks = [TTTPSTimestampLoggerKPPLive()]
resp = litellm.completion(
model="gpt-3.5-turbo",
messages=[{"role": "user", "content": "hi"}],
)
print(resp.tttps_receipt)
# {"status": "ok", "receipt_id": "...", "receipt": "...", "time": "...", ...}
Set KPP_API_KEY (mint one for free via POST https://kpp.kenosian.com/v1/keys)
and optionally KPP_BASE / KPP_TIMEOUT_S as environment variables.
Fail-open: any network/upstream error degrades the receipt to
{"status": "degraded", ...} and is logged. It never raises out of the
callback, so the LLM response itself is never blocked or mutated.
License
MIT
Metadata
Release files for litellm-openttt 0.1.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 |
|---|---|---|---|---|
| litellm_openttt-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for litellm_openttt-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| litellm_openttt-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for litellm_openttt-0.1.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / litellm_openttt-0.1.0.tar.gz
| Download URL | litellm_openttt-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dad4b8defcf47922d215bc8c357dd7560564dfa44db4a48f37c934b8bb69c7d
|
|
BLAKE2b-256 checksum How to use checksums |
8567ef74621eaa03338b0c89ac5b60159bfec365aade7e46a275659b8d0fdc08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / litellm_openttt-0.1.0-py3-none-any.whl
| Download URL | litellm_openttt-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d8ead2f7430392af7cbb69221417ff675413761729b9a2de15f74f777ff39e1
|
|
BLAKE2b-256 checksum How to use checksums |
ca33a4323ec96e06b337c0b7a5a9f4c6f7325215833a4eb39aed0a2e9ac9aa3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for litellm-openttt 0.1.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.