Skip to main content

diepvries - Picnic Data Vault framework

Project description

diepvries

PyPI version shields.io PyPI license Travis 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.8.0.tar.gz (99.3 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.8.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for diepvries-0.8.0.tar.gz
Algorithm Hash digest
SHA256 158ab7b208d9af486178c5a0e30ca04b275b478790a415b58497d9fef85e00a7
MD5 96df6289f9bbbce2288dd7fe59414703
BLAKE2b-256 71cf26a656e98b78e1bb9570686f0e1f44b4670d2dfd3e0911d0d0d944648cf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diepvries-0.8.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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b40e433329d5b82462ad34d28b2f48b12a118a675db0c2754c892f219744674
MD5 dcdfe4d1e6224f1926a044acea1103fe
BLAKE2b-256 bc5c166d2f862c4a9f83fca6b0e9f9b3d9db03fc31e42843d49971abebbc5213

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