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.

Source Distribution

intake-dal-0.1.3.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

intake_dal-0.1.3-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file intake-dal-0.1.3.tar.gz.

File metadata

  • Download URL: intake-dal-0.1.3.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.6.8 Darwin/18.7.0

File hashes

Hashes for intake-dal-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c7456ccfc755fff7ee01616aeb197f32466903e05ed5bf68fe2548de1adb20b9
MD5 dae73b2e499e7a9925d06a1e42bef7f9
BLAKE2b-256 e76232539e5b7c4ff12c9fc27ed3bd4dc1ebfbd55a79e1917cee05b0feb395f2

See more details on using hashes here.

File details

Details for the file intake_dal-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: intake_dal-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.6.8 Darwin/18.7.0

File hashes

Hashes for intake_dal-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4acefa1d3d36ec59bb9ccb54128bcaacee36533808fda95ea4285c075877d691
MD5 7a953bf89b359f6e2a9c48027a0c96a6
BLAKE2b-256 f2a738293ef104cf9eb179d957c5e648df64650b2274df7617aeb1b93f3d270b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page