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 the 1.0.0rc1 release candidate for local recording datasets: native media decoding, offline English transcription, unchanged reuse, durable Parquet, SQL, explicit recovery and reader-safe retention. Stable 1.0 still requires candidate acceptance and feedback. Install the candidate when available on PyPI:

python -m pip install lakeprism==1.0.0rc1

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. Release 0.1.0a2 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. Release 0.1.0a2 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.

The candidate adds recordings(), remove(), vacuum() and explicit RecordingDataset.recover(), stable structured dataset errors and transcript Arrow types, and compatibility with production alpha manifest format 1. Use a dedicated dataset directory separate from original inputs. Vacuum requires readers to be closed/dropped and retains a previous recovery generation. The local product contract defines the frozen 1.0 surface; cloud and distributed integrations remain experimental. Speech release gates target Python 3.12 on Linux glibc x86_64/ARM64, macOS Intel/Apple Silicon and Windows x86_64, not Alpine.

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 1.0.0rc1

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 1.0.0rc1
File Size Uploaded Provenance Actions
lakeprism-1.0.0rc1.tar.gz 235.7 kB With provenance Details for lakeprism-1.0.0rc1.tar.gz

Built distributions (wheels)

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

Total release size: 510.2 MB

Release files / lakeprism-1.0.0rc1.tar.gz

Download URL lakeprism-1.0.0rc1.tar.gz
Size 235.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5391664b142efb9ac8cc275c71491abdae51407863e426b7afcb49925262a93c
BLAKE2b-256 checksum
How to use checksums
7bf1bf3411dbea7ea33907cffae5d457f53ec68a213e542530031c39233ab68a
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-win_amd64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-win_amd64.whl
Size 72.2 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
26101b89e55106210421d5b75bfdfc15dfda253a9134668210dc9cd394b39ccd
BLAKE2b-256 checksum
How to use checksums
a26f8bc0f44d8214e433e2eaec1e9c2174f5b93121914af8b35a66ad0738c97a
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-musllinux_1_2_x86_64.whl
Size 76.7 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
08c4ca2c4167f72f9966e84173d160205cebb5ed69271ea95ff08f655ce5742e
BLAKE2b-256 checksum
How to use checksums
86c5cf1295488788d217c145b907e7f1fc771996def4c5fa44c65b6c817dc6f7
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-musllinux_1_2_aarch64.whl
Size 72.9 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
0399c0539361593b72c4d6291ccf2be93954f0b30d7442a8be55c0651d0b675c
BLAKE2b-256 checksum
How to use checksums
f71638264016f90c7a415f76c0126597d8502b2e8615b3e5538cfcc44aa48746
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-manylinux_2_28_x86_64.whl
Size 76.2 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
05e6320d1ec41445d438eb230ab0b5e31d6c767cddba425191bf410390c40e24
BLAKE2b-256 checksum
How to use checksums
09066f2d6a1d036713a727646112ea92f036744ddbf184fb4253466489f455aa
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-manylinux_2_28_aarch64.whl
Size 72.7 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
8d17f1f60479aad1bf5f9c98c627c2b81e24bc5b25683f51fc99e702a5bf78e1
BLAKE2b-256 checksum
How to use checksums
a4a544bfdd3ea4270245259446866029fc6486b9e066dd7013f05cc0d13687a5
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-macosx_11_0_arm64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-macosx_11_0_arm64.whl
Size 67.1 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8393d143ffc6ff436ff4ae7a08672beac3bb3ae592d9565f4bfb4c1b71538f59
BLAKE2b-256 checksum
How to use checksums
50483ae5866c7d9984afb1792f9ab9c20af0b83db5255474dccaff05ed6b5f91
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 10, 2026.

Transparency log

Release files / lakeprism-1.0.0rc1-cp39-abi3-macosx_10_15_x86_64.whl

Download URL lakeprism-1.0.0rc1-cp39-abi3-macosx_10_15_x86_64.whl
Size 72.3 MB
Tags CPython 3.9 abi3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b896e01ff1de8cb1673902da6707809caf8437ed724575e00f56920135d4cbc5
BLAKE2b-256 checksum
How to use checksums
269b8c3a2b35b85c92f891d92b2610d03015cd8441072a2c23ba701b1971fc73
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 10, 2026.

Transparency log

Security for lakeprism 1.0.0rc1

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-1.0.0rc1.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 10, 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