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.9.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intake_dal-0.1.9-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: intake-dal-0.1.9.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.7.9 Darwin/20.3.0

File hashes

Hashes for intake-dal-0.1.9.tar.gz
Algorithm Hash digest
SHA256 a179b4453e19a41e01ede42bc765a1fd00c1184a1792598748b831a825088218
MD5 e7a6750752ff7eebbafa7690e4d999e7
BLAKE2b-256 b9c1eb39b8626343009d7c39679a7370194bad9b3f8e3f73a3f9fb5e71631f10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: intake_dal-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.7.9 Darwin/20.3.0

File hashes

Hashes for intake_dal-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 73e37417dd71db451a63d825234331ae51d42a5f0aa00f3465cb61d74cdb7791
MD5 6f9eebf33309150f64af3e3e0f5c2c39
BLAKE2b-256 d17b8a61d274489045664a0df65977ae5cf7ac9fe9b23e80526b2583542f2245

See more details on using hashes here.

Supported by

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