lakeFS Playground Utilities
Project description
lakeFS Playground Utilities
Using in a notebook:
>>> !pip install lakefs-playground-utils # Syntax used in Google Colab, might be different for Jupyter, Databricks, etc.
>>>
>>> import playground
>>> conn = playground.get_or_create('myemail@example.com') # Creates a lakeFS playground environment, or returns an existing one
>>> playground.mount(conn) # Sets up a `lakefs://` protocol handler for pandas, pre-configured to read+write from our playground environment
Once set up, we can use pandas to read and write from a lakeFS repository on our playground installation:
>>> import pandas as pd
>>> pd.read_parquet('lakefs://repo/branch/path/to/part-00000.snappy.parquet')
License
Apache 2.0
See LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for lakefs-playground-utils-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fc29d185cda8f9a49c76a47b19bdadae832b4e57a5ff24c9aa4ea05ce60d47 |
|
MD5 | c32eeab320532eff196297aafb3135e2 |
|
BLAKE2b-256 | 673b73db2832306e3ffef392ad29268b08049eed6f7253543f408f034452ab79 |
Close
Hashes for lakefs_playground_utils-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a75248e0c794a66a19962eff3fbba40eb79deda1637068ef3a0da5220f2cb748 |
|
MD5 | 09f27dd45f1bc94847953e30ff9d0d53 |
|
BLAKE2b-256 | 6fe881b70afc569cb938465a8970866a59b6d87ab6f4bc3ab5adacdfee7925ca |