Skip to main content

diepvries - Picnic Data Vault framework

Project description

diepvries

PyPI version shields.io PyPI license Build PRs Welcome

diepvries logo

Welcome to diepvries, a Python library to generate Data Vault SQL statements.

What does it do?

diepvries takes as input a Data Vault model (a list of hubs, links and satellites tables), and generates SQL statements to load data in those tables. For that purpose, it relies on naming conventions for tables and columns. There are 2 ways to feed a Data Vault model to diepvries:

  • Either declaratively, by enumerating tables and columns;
  • Or automatically, by building these structures using the database metadata.

At the moment, diepvries is only compatible with Snowflake.

diepvries works with Python 3.8, 3.9, and 3.10.

Getting started

diepvries is distributed as a Python wheel on PyPI. In a virtual environment, you can grab the latest version by running:

pip install diepvries

and in a Python console:

from diepvries.hub import Hub
help(Hub)

If you see the help page for the Hub class, you're all set! :rocket:

Continue the journey

The best way to start using diepvries is by reading its documentation website. You'll find a tutorial, a list of naming conventions, and more!

Contributing

Want to fix a bug, improve the docs, or add a new feature? That's awesome! Please read the contributing document.

Changelog

You can find the changelog of this package in CHANGELOG.md.

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

diepvries-0.9.0.tar.gz (99.5 kB view details)

Uploaded Source

Built Distribution

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

diepvries-0.9.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file diepvries-0.9.0.tar.gz.

File metadata

  • Download URL: diepvries-0.9.0.tar.gz
  • Upload date:
  • Size: 99.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for diepvries-0.9.0.tar.gz
Algorithm Hash digest
SHA256 a61a5c0cd35dd5398a8512229a7b5abf0e4cb61a900c05818566d35821b63310
MD5 003743cbffb712b39a9d27aea8ac4fee
BLAKE2b-256 dc892948d911286ae09f8d71f11e5ec11d566c16c98f48025cf9260d34a04aba

See more details on using hashes here.

File details

Details for the file diepvries-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: diepvries-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for diepvries-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3529a9f2f3db712f4a0f77ab921a8892f6fe246ac9a1e879c80dc09b07a341
MD5 f08a09b2fc74a5bbd391c1c09ffc679c
BLAKE2b-256 1da4290a86d5fe42fc6ade390859171aeaa30e42e1dfcbcf10b125ed8f5e1ce1

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