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.1.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

intake_dal-0.1.1-py3-none-any.whl (6.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: intake-dal-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for intake-dal-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3495aa0eb956fc5f40cbf0731645a8ec7be95c024d17fbb88435bed4e7c2244c
MD5 0bc920a72bc505d7538cb48a40b7179e
BLAKE2b-256 b9f23587f1639c13a241e04c6c7b9e12f09bc01ed8d4e2c13aea4be0d0f941ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: intake_dal-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for intake_dal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 717055a2a28aa068c42415529f266787c63646601a36eab9eb38f39aab5890cf
MD5 cf799faa68cee932240234cecd546a6f
BLAKE2b-256 715e1ed70a71771fa3c74916b4b39a0d96c8ce163afd35ba0a590a2eac6cf813

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