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

Uploaded Source

Built Distribution

diepvries-1.0.1-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: diepvries-1.0.1.tar.gz
  • Upload date:
  • Size: 100.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for diepvries-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f769c3bcfb78cf9c596645546e38d99a4e94e9a4ab9d622c01f35e356307b1f2
MD5 c9903c59b65351442b802fa448f4a357
BLAKE2b-256 e02e14d8e3a98a38e1e4008c84cc0e1e3ddf212f749c35c76bd41d0bab384958

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diepvries-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for diepvries-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb03594227df63692c51e13c9ed4e1ae9624e7e2cd8535622ada6caa74ecb31f
MD5 aea4d26157ec6bb00a1d85203147a8d5
BLAKE2b-256 641899673dbf5c4e1b57c5b05db6523a0f7e06be3d76d358253edcf86bdad268

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