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.4.tar.gz
(15.7 kB
view hashes)
Built Distribution
intake_dal-0.1.4-py3-none-any.whl
(18.9 kB
view hashes)
Close
Hashes for intake_dal-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f096b79850efb125f90c130bc900846239cdbdaa067513b3be56a3af227e0c |
|
MD5 | 62e4558b9321e1e728082f7d33c18926 |
|
BLAKE2b-256 | 843d69a9efb5f87b00471a3a72394b1fec0744133f4455fe73ec0227c7240009 |