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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa97982951978104dadc31a7286b238979dd571863dd960e821987dc6bc06faf |
|
MD5 | 090f25a2a9f0203c7e3b07dc1ee18715 |
|
BLAKE2b-256 | 6d94e2501b0e7e9cad2a18bb9772f020cbae63f49a74c8ae69867df96f5f1434 |
Close
Hashes for lakefs_playground_utils-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797a6f52cb677a02d3cae3435a2c56b7ef311045f29ca98493fac225675a60d6 |
|
MD5 | b3afc8088618a667a3eba6361c80fbbf |
|
BLAKE2b-256 | 57962aaa41f13d8f8225060c1c4626fac042ad04d40675723ad1aa2ffeb64e97 |