lakefs
lakeFS Python SDK Wrapper
What it is and what it does
lakefs is a Python wrapper that sits on top of the lower-level lakefs-sdk, providing a more intuitive object-oriented interface for working with lakeFS repositories. It abstracts away configuration boilerplate by inferring credentials from environment variables or configuration files, and offers higher-level operations like branching, committing, and diffing that mirror Git-like workflows but operate on data lake objects.
The package is designed for developers who want to programmatically manage versioned data repositories without wrestling with low-level SDK details. You work with Repository, Branch, and Reference objects to perform common tasks: listing objects, reading and writing files, creating commits, computing diffs between branches, and traversing version history using ref expressions similar to Git's revision syntax.
Use it for:
- Automate data pipeline workflows that need to version control datasets across multiple branches and commits.
- Search or process objects stored in specific lakeFS references without manual credential management.
- Programmatically upload datasets and commit them with descriptive messages in a CI/CD pipeline.
- Compare data changes between branches to detect drift or validate transformations.
- Build Python applications that treat a lakeFS repository as a versioned data source.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A high-level Python wrapper around the lakeFS SDK that simplifies interaction with lakeFS repositories, branches, and objects through a cleaner API with environment-based credential inference.
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive Apache-2.0 license, and installs with minimal friction. It is a sensible choice if you are already using lakeFS and want a Pythonic, higher-level interface rather than working directly with the lower-level SDK.
Install
lakefs on PyPI
pip
pip install lakefsuv
uv add lakefspoetry
poetry add lakefsInstalling lakefs
Before you install
Low friction installation with only two runtime dependencies (lakefs-sdk and pyyaml). The package is actively maintained with a recent release and no known vulnerabilities.
License in practice
Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions; you must include a copy of the license and state significant changes.
Quickstart
pip install lakefs
import lakefs
repo = lakefs.repository(repository_id="my-repo")
branch = repo.branch("main")
for obj in branch.objects():
print(f"{obj.path}: {obj.size_bytes}")
Requires Python 3.10 or later; requires a running lakeFS server and valid credentials (via environment variables, .lakectl.yaml, or explicit Client initialization).
Verify before relying
- Whether the package handles concurrent operations safely or has thread-safety guarantees.
- Performance characteristics when working with large numbers of objects or branches.
- Whether all lakeFS server versions are supported or if there are compatibility constraints.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — lakefs-sdk, pyyaml |
| Maintenance | actively maintained — 126 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 383,463/month — #7,077 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: lakefs-0.16.0-py3-none-any.whl
Keywords: OpenAPI, OpenAPI-Generator, lakeFS API, Python Wrapper
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
bauplanBauplan is a CLI and SDK for interacting with a…
permissive · top 15,000 on PyPI
lakefs-sdkProvides a Python client library for the lakeFS…
permissive · top 15,000 on PyPI
git-remote-s3Enables Git to use Amazon S3 as a remote…
permissive · top 15,000 on PyPI
dvc-objectsProvides filesystem and object-database…
permissive · top 5,000 on PyPI
delta-sparkProvides Python APIs for Delta Lake, an…
permissive · top 1,000 on PyPI
pierre-storagePython SDK for managing Git repositories…
permissive · top 5,000 on PyPI
dvc-azureAdds Azure Blob Storage and Azure Data Lake…
permissive · top 15,000 on PyPI
pulumi-esc-sdkPulumi ESC SDK provides a Python client for…
permissive · top 15,000 on PyPI
ftputilftputil provides a high-level FTP client…
permissive · top 15,000 on PyPI
s3pathlibs3pathlib provides a pathlib-like…
permissive · top 5,000 on PyPI