Intake single YAML hierarchical catalog.
Project description
Welcome to Intake DAL (data access layer) plugin
This Intake plugin helps abstract a dataset over disparate storage systems (eg: bulk, streaming, serving, …). It also provides an easy way to specialize a hierarchical catalog to a default DAL storage system.
Sample Catalog source entry:
user_events:
driver: dal
args:
default: 'local'
storage:
local: 'csv://{{ CATALOG_DIR }}/data/user_events.csv'
serving: 'in-memory-kv://foo'
batch: 'parquet://{{ CATALOG_DIR }}/data/user_events.parquet'
Example code using sample catalog:
# Specialize the catalog dal default storge mode datasources
# to be "serving".
cat = DalCatalog(path, storage_mode="serving")
# reads from the serving storage system
# using the in-memory-kv Intake plugin
df = cat.user_events.read()
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
intake-dal-0.1.9.tar.gz
(16.5 kB
view details)
Built Distribution
File details
Details for the file intake-dal-0.1.9.tar.gz
.
File metadata
- Download URL: intake-dal-0.1.9.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.9 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a179b4453e19a41e01ede42bc765a1fd00c1184a1792598748b831a825088218 |
|
MD5 | e7a6750752ff7eebbafa7690e4d999e7 |
|
BLAKE2b-256 | b9c1eb39b8626343009d7c39679a7370194bad9b3f8e3f73a3f9fb5e71631f10 |
File details
Details for the file intake_dal-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: intake_dal-0.1.9-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.9 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e37417dd71db451a63d825234331ae51d42a5f0aa00f3465cb61d74cdb7791 |
|
MD5 | 6f9eebf33309150f64af3e3e0f5c2c39 |
|
BLAKE2b-256 | d17b8a61d274489045664a0df65977ae5cf7ac9fe9b23e80526b2583542f2245 |