Python .luku archive support for the LukuID SDK
Project description
LukuID SDK for Python
lukuid-sdk provides Python support for opening, parsing, exporting, and verifying .luku forensic evidence archives.
The Python package is for offline evidence workflows. It does not currently ship live reader transport support.
Install
python -m pip install lukuid-sdk
Requires Python 3.11 or newer.
Quick start
from lukuid_sdk import LukuFile
result = LukuFile.parse("identity.luku")
print(result.verified)
print(len(result.items))
print(result.issues)
Parse bytes directly:
from pathlib import Path
from lukuid_sdk import LukuFile
data = Path("identity.luku").read_bytes()
result = LukuFile.parse_bytes(data)
Inspect verification issues:
from lukuid_sdk import LukuArchive
archive = LukuArchive.open("identity.luku")
issues = archive.verify()
for issue in issues:
print(issue.criticality.value, issue.code, issue.message)
Parse envelope
Verify a single envelope loaded from JSON:
import json
from lukuid_sdk import LukuFile
with open("envelope.json", "r", encoding="utf-8") as handle:
envelope = json.load(handle)
issues = LukuFile.verify_envelope(envelope)
print(issues)
Documentation
- Python guide: https://github.com/lukuid/sdk/blob/main/docs/python.md
- Verification guide: https://github.com/lukuid/sdk/blob/main/docs/verification.md
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
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 lukuid_sdk-1.0.8.tar.gz.
File metadata
- Download URL: lukuid_sdk-1.0.8.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1692b02ac8f46f5f58fc44bb3d8c61ddac7eebc343678f1d1fc48ba3bccae21
|
|
| MD5 |
3bf0c6f01e07679211050eac2ee4df77
|
|
| BLAKE2b-256 |
572cffe14121d16e467b0c55a8afd6986e9dc1be84ce8822280487d8e172b119
|
Provenance
The following attestation bundles were made for lukuid_sdk-1.0.8.tar.gz:
Publisher:
python.yml on lukuid/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lukuid_sdk-1.0.8.tar.gz -
Subject digest:
c1692b02ac8f46f5f58fc44bb3d8c61ddac7eebc343678f1d1fc48ba3bccae21 - Sigstore transparency entry: 1404797256
- Sigstore integration time:
-
Permalink:
lukuid/sdk@0a2b2d97a57cb7087744cae88663c67af0f8dec3 -
Branch / Tag:
refs/tags/v1.0.8 - Owner: https://github.com/lukuid
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@0a2b2d97a57cb7087744cae88663c67af0f8dec3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lukuid_sdk-1.0.8-py3-none-any.whl.
File metadata
- Download URL: lukuid_sdk-1.0.8-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7830a560a6cff2ce6b11a4b73319dc7bee261eedf31d2779a2d44f6232779c4f
|
|
| MD5 |
990b79468249fe1ac288179aa7c8f6c0
|
|
| BLAKE2b-256 |
7aef4ffaaa53374a3d1d71007670564405f206bf601980a328265129fddaefd9
|
Provenance
The following attestation bundles were made for lukuid_sdk-1.0.8-py3-none-any.whl:
Publisher:
python.yml on lukuid/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lukuid_sdk-1.0.8-py3-none-any.whl -
Subject digest:
7830a560a6cff2ce6b11a4b73319dc7bee261eedf31d2779a2d44f6232779c4f - Sigstore transparency entry: 1404797344
- Sigstore integration time:
-
Permalink:
lukuid/sdk@0a2b2d97a57cb7087744cae88663c67af0f8dec3 -
Branch / Tag:
refs/tags/v1.0.8 - Owner: https://github.com/lukuid
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@0a2b2d97a57cb7087744cae88663c67af0f8dec3 -
Trigger Event:
push
-
Statement type: