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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08df94d3882c496cda793b8930f2ea7a88a63ea6a00af70aff6988011b8b0e80 |
|
MD5 | 8f38e47804701121db5a57cce21293af |
|
BLAKE2b-256 | 5045e1919124dd135871cf1c9c4b3fef205f0dc8a3f4447f102e3fdf2534dab3 |
Close
Hashes for lakefs_playground_utils-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdaac637b0871fe25ac199a63b4315c07b76d143ba1d755518d1157ac30d2ac7 |
|
MD5 | a1866ba34f9ec0897795ac1435c2dd70 |
|
BLAKE2b-256 | b7c8f1afef87729a379da7100038bc6c25cfe78645f7df36789b23ab5eb7e4e5 |