This is the legacy Python client for lakeFS, an open-source data version control system. It provides direct access to the lakeFS HTTP API, automatically generated from an OpenAPI specification. As of its last release, v1.44.0, this client has reached End-of-Life (EOL) and is officially deprecated. Users are strongly advised to migrate to the newer `lakefs-sdk` (for direct API access) or `lakefs` (for a higher-level, more Pythonic interface) packages.
pip install lakefs-clientVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to configure the legacy `lakefs-client` and list existing repositories. It uses environment variables for host and credentials, falling back to placeholders if not set. Due to the client's deprecated status, this example serves mostly for understanding the legacy API structure.
Migrate your code to use the modern `lakefs` (High-Level SDK) or `lakefs-sdk` (Generated SDK) packages. Refer to the official lakeFS documentation for migration guides.
While existing programs using `lakefs-client` v1.x will continue to work with lakeFS server v1.x, any new development or updates should use `lakefs-sdk` or `lakefs` for their stability and support.
Ensure `lakefs_client.Configuration` is explicitly populated with `host`, `username`, and `password` (or `access_token` for JWT). The new `lakefs` SDK handles credential discovery automatically.
Ensure the package is installed: `pip install lakefs-client`.
Verify that `LAKEFS_ENDPOINT`, `LAKEFS_ACCESS_KEY_ID`, and `LAKEFS_SECRET_ACCESS_KEY` environment variables are correctly set, or that the `Configuration` object is initialized with valid `host`, `username`, and `password`.
Change `from lakefs_client import Configuration` to `import lakefs_client; configuration = lakefs_client.Configuration()`.
No dependency data recorded yet.