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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 782fa4aaf41468d31cf8a052587346e0c9f98d7a26d6a1a9758f77561aa75a8b |
|
MD5 | 94e742675efffb256ceae3bdfc8c5b31 |
|
BLAKE2b-256 | 2098200ceb737b456fd678c1f2ae09e3144019c87ef3a6912befbb520c59b866 |
Close
Hashes for lakefs_playground_utils-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beaa9f6b4522e31f8447319679ed71879e7225bc3b6debdf556fa5638ff4a9ea |
|
MD5 | 75572a2d4d2752afc9054385f9410a98 |
|
BLAKE2b-256 | afed99d18185870ac70e576ebef7a97859a3fa7514ba20ff6bb7e4e90ebb5105 |