Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LakePrism Python

lakeprism is the Maturin/PyO3 notebook binding for the local LakePrism session. This package version is 0.1.0a2; its native wheels add bundled media decoding and a persistent recording-to-SQL workflow. See the repository's release status before installing from PyPI:

python -m pip install lakeprism==0.1.0a2

Or build a matching native wheel from this repository:

bash scripts/build-python-wheels.sh --platform native --out dist/python
pip install dist/python/lakeprism-*.whl

For notebook display helpers install lakeprism[notebook]. They import PyArrow, pandas, IPython, and tqdm only when called.

Published 0.1.0a1 wheels omit native media decoding. The next candidate bundles native FFmpeg shared libraries, LGPL notices, build instructions and complete corresponding source, without requiring system FFmpeg at runtime. Models remain external. See the repository's examples/local_transcription/README.md for an actual offline CPU model workflow.

The builder uses uv tool run to manage Maturin. It intentionally rejects cross-target builds: PyO3 and FFmpeg must link on the target-native host. LakePrism uses the PyO3 abi3-py39 policy, producing one cp39-abi3 wheel for CPython 3.9+. See the repository README for the supported manylinux and musllinux (x86_64/aarch64), macOS (x86_64/aarch64), and Windows x86_64 release matrix. The workflow tests ordinary CPython 3.9, 3.12, and 3.14. PyPy and free-threaded Python are not included. Alpine core bindings are tested without PyArrow; PyArrow-dependent notebook extras on Alpine are not validated.

Capability parity and limits

MediaSession exposes local media registration, SQL, lazy Arrow C-stream/IPC export, catalog metadata, explain, governed query lifecycle, local Parquet, document/media table functions, transcript/embedding indexes, and derived Parquet snapshots. MediaSession.with_transcription_subprocess plus transcribe provides local audio/video transcription through a validated, bounded Whisper-compatible adapter. LocalCatalog exposes its durable DDL and registration path. FlightServer/FlightClient are available with the flight feature.

With delta-rs, register_delta reads credential-free local file:// Delta tables and write_delta_ipc writes a PyArrow IPC stream with explicit write and schema modes. Remote Delta writes are intentionally Rust-only because they require scoped object-store credentials and an explicit concurrency guard.

With unity, UnityCatalog(base_url, token_supplier) accepts an application-owned fresh-token callback and resolves/registers tables for a UnityQueryContext. The callback receives only query identity and returns a token for that one REST request. LakePrism stores the callback—not its returned token—and redacts native credential types. Unity temporary table credentials are consumed internally by UnityCatalog.resolve_and_register_managed_delta; they are never exposed to Python. OAuthTokenSupplier and FlightAuthSupplier document the callback shapes. FlightClient(endpoint, auth_supplier=...) invokes its callback for each execution and sends the result only as that request's Authorization header. Local Python round trips are tested; the client accepts loopback HTTP or HTTPS endpoint shapes but exposes no remote TLS deployment configuration. Remote Flight deployment and authentication policy remain Rust application-boundary work.

Iceberg's Arrow-59 upstream provider currently accepts an already constructed Rust iceberg::Table; its REST construction and credentialed storage client are not safely constructible from this ABI-stable Python extension. Use the Rust Iceberg/REST adapter at an application boundary, then expose the credential-free MediaSession result to Python. Likewise, custom Rust MediaResolver, OCR/image providers, distributed worker implementations, S3 staging, and Flight server-side authentication remain application-boundary traits rather than Python object wrappers.

Optional local Whisper adapter

Python wheels include WhisperSubprocessConfig and MediaSession.with_transcription_subprocess, but deliberately do not include a model runtime or model artifact. Candidate wheels include a Python adapter for the optional speech extra and the RecordingDataset workflow; prepare_speech_model(path) explicitly downloads the pinned English model, then SpeechModel(path) configures offline CPU inference. RecordingDataset ingests files/folders, atomically persists lineage-bearing Parquet snapshots, reuses unchanged recordings, and reopens them for SQL/search without a model. Inputs are bounded to 1 GiB and two hours, with 30-second decode windows. See the root README's recording workflow for installation and current limits.

For application-owned adapters, the config requires an absolute executable, explicit argument vector (not a shell command), validated local model artifact, and private staging directory. session.transcribe accepts only a local file:// audio/video URI and an explicit source version; it returns and registers lineage-bearing TranscriptSegment rows. See the root README's “Transcribe local audio or video” section for the protocol and resource/cancellation limits.

No LakePrism Python object accepts, serializes, logs, or persists OAuth client secrets, bearer tokens, or temporary cloud object-store credentials. See the repository's docs/CLOUD_ACCEPTANCE.md for the opt-in live contract.

Metadata

Release files for lakeprism 0.1.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lakeprism 0.1.0a2
File Size Uploaded Provenance Actions
lakeprism-0.1.0a2.tar.gz 205.9 kB With provenance Details for lakeprism-0.1.0a2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for lakeprism 0.1.0a2
File Actions
lakeprism-0.1.0a2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for lakeprism-0.1.0a2-cp39-abi3-win_amd64.whl
lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_x86_64.whl
lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_aarch64.whl
lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_x86_64.whl
lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_aarch64.whl
lakeprism-0.1.0a2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for lakeprism-0.1.0a2-cp39-abi3-macosx_11_0_arm64.whl
lakeprism-0.1.0a2-cp39-abi3-macosx_10_15_x86_64.whl CPython 3.9 abi3 macOS 10.15+ x86-64 Details for lakeprism-0.1.0a2-cp39-abi3-macosx_10_15_x86_64.whl

Total release size: 509.7 MB

Release files / lakeprism-0.1.0a2.tar.gz

Download URL lakeprism-0.1.0a2.tar.gz
Size 205.9 kB
Tags Source
SHA-256 checksum
How to use checksums
71e7f81ac2cd18cefe5a108d4f486f711f7df24ff89dd269b199e878ceb4c737
BLAKE2b-256 checksum
How to use checksums
00c6fe01e8b9b1e54e58f7ab77099315fd83caeb36e287f4e9111009c3722244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-win_amd64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-win_amd64.whl
Size 72.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
45e06ce2c6ac52b29ec20d0fc7106b78b96a933f3fbcf2463c70661c12b3267b
BLAKE2b-256 checksum
How to use checksums
02140d1455cfa2c483ef1ab461e9cd9337a98837a8a4e1de870040e63429e5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 76.6 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
2de9f179fba3c065ecc023b4a62fae85cd2cbe4950b15cdf6bbccfceb5ee7601
BLAKE2b-256 checksum
How to use checksums
91050b5839c9c9cc3353ba4dc40074b4ed39b8dcc1868072f5d56e063d4a1877
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-musllinux_1_2_aarch64.whl
Size 72.8 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
f36e28c27c8fd154a1cf6d44dedcff24248b9114fe802fbd7457c1f06ad8b2c4
BLAKE2b-256 checksum
How to use checksums
56f4fca0d0621cec3c10d440a8d801371d380c483f9654dbf14699656dd3002d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_x86_64.whl
Size 76.1 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
ef8f8aa9a9bda8902f30894bd0b118b2de428c1b3bb45c5a41a9641ab342ac8e
BLAKE2b-256 checksum
How to use checksums
8c3f3058eed15a4d2e7aa92c7541b9f0133d766fc742d64d79a43a66ad562fca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-manylinux_2_28_aarch64.whl
Size 72.6 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
75045c8b2310705eca5433cefd32bf5b7686f7dc9d4ff854ffc81245e19592ab
BLAKE2b-256 checksum
How to use checksums
ae60c1b02375e44d5b8a377bb028209c8d778ba3f064c4463be7b0f2048d1e97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-macosx_11_0_arm64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-macosx_11_0_arm64.whl
Size 67.0 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e301153570672bc16aef9707ad844a137508e0ada28890372f2b787b88030eae
BLAKE2b-256 checksum
How to use checksums
3d7ab26d2ac5459596f8bc876058fa5e60529ede9d8734db9a70229b6a315f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lakeprism-0.1.0a2-cp39-abi3-macosx_10_15_x86_64.whl

Download URL lakeprism-0.1.0a2-cp39-abi3-macosx_10_15_x86_64.whl
Size 72.2 MB
Tags CPython 3.9 abi3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
4d002c2cdb524d62fe775a1e89ca80f589eba3e2e40f5b8e6425220230417646
BLAKE2b-256 checksum
How to use checksums
49cb5a7a34d05c1ffd8ca302ed8dc2ee670304c3066fd342fcb4e44c33a43e5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for lakeprism 0.1.0a2

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for lakeprism-0.1.0a2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

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.

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