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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90bc16218f7aebae68668e285780bc83bb157382fa5fb416f72b3914d041c988 |
|
MD5 | 242cdde211abe50936442778eaa84299 |
|
BLAKE2b-256 | 35a16f5cb4d11e51aa8106c0bd214528bb318f76c39330308b81fb6cb63bbeba |
Close
Hashes for lakefs_playground_utils-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b227909dd30b29289da1a217b9db6d6858b25fc682fbb238be93f7f1113b5e6f |
|
MD5 | e387bca806aa8fba53d1a68a2fa6156f |
|
BLAKE2b-256 | e8769931334658376124f5e638409b17e7809c35757b0aec88b949423852c117 |