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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47ac07fe229228366df83e2cd8ded5e2fac18d722e28ac7cefd75da553807fc5 |
|
MD5 | 169e6db2a9ee8bb039cbe8b069d9d99f |
|
BLAKE2b-256 | cae739dce49a6edc737e6b2a3548d60ee90bbf9db02ccfd22440846c9d698c18 |
Close
Hashes for lakefs_playground_utils-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9dc28f89c419431c92839bd73dcc591af96c022206dd6d2736a0df56b541943 |
|
MD5 | c15136e4c7c5b6b9e30fb65ece1e2a52 |
|
BLAKE2b-256 | 11d65076660c7f90ab2264489817d11601379d3e636d48fbb611c03904ebc855 |