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.10 through 3.13.

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-2.1.0.tar.gz (101.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-2.1.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: diepvries-2.1.0.tar.gz
  • Upload date:
  • Size: 101.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for diepvries-2.1.0.tar.gz
Algorithm Hash digest
SHA256 f8ca24084ef22f58878fb17cdd8f587931c7d933220ed0e0c148cd2737a9f3d2
MD5 edc62a58b0b01ed3e293f97473ee0a1e
BLAKE2b-256 b1a09ce9f8d0e7d51a6ddd21c1c8b09afd986551506a4984e9a6a7c406bc5adb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for diepvries-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29cf54c65c95b4fc92428c6eda824bda53c36e938503f845a8d315cff06222b7
MD5 80bb04cb7929cdb8b4ee7509101e5fc4
BLAKE2b-256 409a9df39a37eb89b06282e12676039bb0070c205ee6721d035000a845b38e55

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