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.6.tar.gz
(16.0 kB
view hashes)
Built Distribution
intake_dal-0.1.6-py3-none-any.whl
(19.3 kB
view hashes)
Close
Hashes for intake_dal-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 934e9031b40ebd447728f5b0c2757bb71dc5dc4225453cdea5311771eb6c8946 |
|
MD5 | a23ffd56855408352a8c3eb5859f4d6d |
|
BLAKE2b-256 | d6d1683a0838ffb3a0c5e056448889563a94e94dde0115911cd4e6a65622b47f |