Skip to main content

MetaLake

An open lakehouse table format whose metadata lives in Postgres. Tables are Parquet in your storage; snapshots, schemas, statistics, branches and deletes are rows in a transactional catalog. SQL runs on Apache DataFusion.

Status: alpha. The format and the command line can still change.

pip install metalake
metalake init ./lake
metalake sql "create table t (k bigint); insert into t values (1), (2); select * from t"

That is all it takes: the package carries Postgres, which starts when a command needs it and stays up until metalake stop.

Branches and time

A branch or a tag covers the whole lake and copies nothing.

metalake branch create dev
metalake sql "insert into dev.default.t values (3)"
metalake merge dev --check
metalake merge dev -m "add a row"
metalake log
metalake sql 'select * from "main@4".default.t'

Cloud storage and your own Postgres

metalake init ./lake gs://bucket/prefix
metalake init ./lake s3://bucket/prefix
metalake init postgresql://user@host/db s3://bucket/prefix

Credentials come from the environment (AWS_*, GOOGLE_*, AZURE_*), never from a file. A password for Postgres is PGPASSWORD.

Upkeep

metalake retain main --max-age 30d --min-snapshots 10
metalake maintain

Until a ref says what it keeps, it keeps everything. maintain runs once; schedule it as you schedule anything else.

For programs

stdout holds what was asked for and stderr the rest. --format json prints one object per line, and exit codes are stable: 0 done, 1 failed, 2 wrong use, 3 a conflict that changed nothing, 4 a write whose fate is unknown.

Platforms

Windows and macOS 11 or later on x86-64 and ARM, Linux with glibc 2.34 or later on x86-64 and ARM.

Metadata

Release files for metalake 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for metalake 0.1.0
File Actions
metalake-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for metalake-0.1.0-py3-none-win_amd64.whl
metalake-0.1.0-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for metalake-0.1.0-py3-none-manylinux_2_34_x86_64.whl
metalake-0.1.0-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for metalake-0.1.0-py3-none-manylinux_2_34_aarch64.whl
metalake-0.1.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for metalake-0.1.0-py3-none-macosx_11_0_x86_64.whl
metalake-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for metalake-0.1.0-py3-none-macosx_11_0_arm64.whl

Total release size: 376.9 MB

Release files / metalake-0.1.0-py3-none-win_amd64.whl

Download URL metalake-0.1.0-py3-none-win_amd64.whl
Size 76.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
03498b32597a77ee29949f745ea0124073cbc82641aae44624ee24fd53ad4413
BLAKE2b-256 checksum
How to use checksums
9c05edaff201515c163e4895ee64e0f360d4b1a4812031ebf87fc0652a46cc43
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 / metalake-0.1.0-py3-none-manylinux_2_34_x86_64.whl

Download URL metalake-0.1.0-py3-none-manylinux_2_34_x86_64.whl
Size 79.3 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9e21a0b94d8584c30480487deae9321f0692804f55ef237a8fdae60c17a1cba2
BLAKE2b-256 checksum
How to use checksums
5cb6e4bcf946c999af7019bc087742ff7dbd22f7b84d2364e9fd35ba496816dd
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 / metalake-0.1.0-py3-none-manylinux_2_34_aarch64.whl

Download URL metalake-0.1.0-py3-none-manylinux_2_34_aarch64.whl
Size 76.4 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
2fd7df920b9442a666ba3bc3eda43bcb8bbbbd011c7850c753de9d3a5f241ab3
BLAKE2b-256 checksum
How to use checksums
ee35385a69e9662c62cd8f7bb179b382461a4f4bdf797af603d98a0cb6362a7d
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 / metalake-0.1.0-py3-none-macosx_11_0_x86_64.whl

Download URL metalake-0.1.0-py3-none-macosx_11_0_x86_64.whl
Size 73.8 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
a20b200ac8a04911eb72a8effb0ad6216c20d339a6845b6454d6449d37cf8f1d
BLAKE2b-256 checksum
How to use checksums
a422f6663f0f8620af71f7d07306fec18ef6fa52a7a5fe95f067b2990a43cb49
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 / metalake-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL metalake-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 71.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
738680adfa632b155c6b975d030279a729ca872289d4c19d7812366a528e6c19
BLAKE2b-256 checksum
How to use checksums
3e0174029ae48caa164998e203efdeefe2201ceabd75af443151e813f4dc8fa4
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 metalake 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.

Full provenance

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

Select from 5 files

Attestation for metalake-0.1.0-py3-none-win_amd64.whl

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