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 and 3.9.

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.6.3.tar.gz (96.1 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.6.3-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: diepvries-0.6.3.tar.gz
  • Upload date:
  • Size: 96.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for diepvries-0.6.3.tar.gz
Algorithm Hash digest
SHA256 1954ecd50368607b04dfaf6c855a04c9b7d3021c9e14a0121f3c3d33058ffa7b
MD5 5b82a971d8d7d4a02ad1dbdc9210f11c
BLAKE2b-256 87c830ac456958520bdffee55093f347c7ddc479868ccd7882f85bb74b800c7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diepvries-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for diepvries-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 abe49715f48733a43f5bc697b4ee1d03eaf2b80e4b2b7ac5cf96346a5ea11839
MD5 9d5c49249657ba2868ccd9e8af6343f4
BLAKE2b-256 65defd0a8ef80ee2ff021cd2294970b16bc9ab790d6e663e32b3f0f550c768cb

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