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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36d2d4b7f7e81630e465a421489e3dfc676c9200939c7d81f913eb9ba5dcd985 |
|
MD5 | a9efa964955782831536379cbd538c1d |
|
BLAKE2b-256 | cb3037f8176a069e8fecfbd13c0544fe0a8f36ca4dc2e16c54a3e3be50e2e635 |
Close
Hashes for lakefs_playground_utils-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cbc065099e64cccfcf7ace18aee3bf4ba850b05f918ddc211662f3600cfcb2e |
|
MD5 | b7948a75466b3e4a8111843c8ccc50f8 |
|
BLAKE2b-256 | c0a624e8d3c560943fe8afd465d7b31138907393290f04ba642495f327c1eb40 |