lakefs-samples repository
  • Jupyter Notebook 81.1%
  • Python 16.9%
  • Lua 0.8%
  • Dockerfile 0.7%
  • HCL 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kevin Lott 7c42b83f66
Make the Backblaze B2 notebook safe to re-run and correct a few B2 notes (#301)
* Make the Backblaze B2 notebook safe to re-run and correct a few B2 notes

Running the notebook a second time failed at commit and merge with no
changes, which left main_commit_id unset and broke both dataset cells.
It now skips images already on the branch, only commits and merges when
there is something new, and skips the initial dataset publish if the
dataset already exists.

Also reword a few descriptions of B2 to match what B2 actually does,
fix the setup step numbering, and drop the Docker Hub token mention.

* Be precise about what lakeFS keeps in Postgres

Commit records live in the lakeFS metadata store alongside branches, so
say that, and stop describing everything as being in B2. Also tidy the
conditional write paragraph.
2026-10-21 10:30:46 -04:00
.github/workflows Update check-notebooks.yml (#243) 2025-02-08 00:52:08 +02:00
00_notebooks Added Credentials Vending for Iceberg notebooks. (#302) 2026-10-07 16:24:45 -04:00
01_standalone_examples Make the Backblaze B2 notebook safe to re-run and correct a few B2 notes (#301) 2026-10-21 10:30:46 -04:00
02_lakefs_enterprise Added Credentials Vending for Iceberg notebooks. (#302) 2026-10-07 16:24:45 -04:00
data Uploading object's user metadata CSV file in lakeFS 2026-09-21 13:48:56 -04:00
images Use Docker Compose Profiles to clearly segregate Jupyter from local lakeFS/MinIO (#118) 2023-07-20 10:54:12 +01:00
jupyter Added version numbers to resolve Python package dependency issues 2024-12-31 17:29:08 -08:00
lakeFS-hooks@01a70e297b Restructure/Update lakeFS-samples to use central docker-compose file where possible (#74) 2023-06-08 11:54:01 +01:00
.gitignore lakeFS Enterprise samples: make persisted-data restarts robust, document clean start 2026-10-02 11:01:20 -04:00
.gitmodules Restructure/Update lakeFS-samples to use central docker-compose file where possible (#74) 2023-06-08 11:54:01 +01:00
docker-compose.yml Changed command to create repo from curl to lakectl 2025-02-24 17:23:52 -08:00
LICENSE.txt Change Open-Source text to Community edition (#296) 2026-09-24 16:11:02 -04:00
README.md Change Open-Source text to Community edition (#296) 2026-09-24 16:11:02 -04:00

lakefs-samples

Check notebooks

Incorporating the Docker Compose formally known as Everything Bagel.

lakeFS logo

This sample repository captures a collection of notebooks, dockerized applications and code snippets that demonstrate how to use lakeFS.

lakeFS is a popular community solution for managing data. It provides a consistent and scalable data management layer on top of cloud storage, such as Amazon S3, Azure Blob Storage, or Google Cloud Storage. It allows users to create and manage data in a version-controlled and immutable manner, and offers features such as data governance, data lineage, and data access controls. lakeFS is compatible with a wide range of data processing frameworks and tools.

Go to lakefs_enterprise folder if you want to use lakeFS Enterprise instead of lakeFS Community Edition

Let's Get Started 👩🏻‍💻

Clone this repository

git clone https://github.com/treeverse/lakeFS-samples.git
cd lakeFS-samples

You now have two options:

Run a Notebook server with your existing lakeFS Server

If you have already installed lakeFS or are utilizing lakeFS cloud, all you need to run is the Jupyter notebook server:

docker compose up

Once the stack's up and running, open the Jupyter Notebook (http://localhost:8888) and check out the catalog of sample notebooks to explore lakeFS.

Once you've finished, run the following to remove all the containers:

docker compose down

Don't have a lakeFS Server or Object Store?

If you want to provision a lakeFS server as well as MinIO for your object store, plus Jupyter then bring up the full stack:

docker compose --profile local-lakefs up

As above, open the Jupyter Notebook (http://localhost:8888) peruse the catalog of sample notebooks to explore lakeFS.

Environment Details

  • Jupyter Notebook is based on the Jupyter PySpark notebook and provides an interactive environment in which to explore lakeFS using Python and PySpark.
  • lakeFS can be provisioned as part of this environment, or provided by lakeFS cloud or your own installation.
  • If you run lakeFS as part of this environment, MinIO is provided as an S3-compatible object store. If you run lakeFS yourself you can use other S3-compatible object stores include S3, GCS, as well as MinIO

Containers

URLs and login details

If you've brought up the full stack you'll also have:

Other Examples

Under the standalone_examples folder are a set of examples that need to be run on their own. Some use the repository's Docker Compose file and extend it, and others are self-contained and use their own Dockerfile.

Got Questions or Want to Chat?

👉🏻 Join the lakeFS Slack group - https://lakefs.io/slack