Skip to main content

Intake single YAML hierarchical catalog.

Project description

https://travis-ci.org/zillow/intake-dal.svg?branch=master https://coveralls.io/repos/github/zillow/intake-dal/badge.svg?branch=master Documentation Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for intake-dal, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size intake_dal-0.1.2-py3-none-any.whl (6.6 MB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size intake-dal-0.1.2.tar.gz (6.5 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page