Skip to main content

Data Vault 2.0 scaffolding tool

Project description

pipeline status PyPI - Version Documentation coverage

Data Vault 2.0 scaffolding tool

:warning: Pre-alpha version disclaimer Please note that this package is in a pre-alpha version which means it is used internally in a small circle of users and backwards-incompatible changes might be introduced in future releases.

This tool is designed to streamline the process of creating Data Vault 2.0 entities, such as hubs, links, and satellites. As well as building information layer objects such as dim and fact tables from a multidimensional paradigm.

How it works

User: provides a staging view stg.[entity_name] (or a table if the staging layer persisted) with all requirements for the [entity_name] defined in the schema (how to define see below).
Tool:

  1. Validates metadata of the provided staging view or table.
  2. Generates the necessary DDL statements to create the Data Vault 2.0 entities.
  3. Generates ELT procedures to load data to the generated entities.
  4. Generates support procedures such as meta.Drop_all_related_to_[entity_name] and elt.Run_all_related_to_[entity_name]

Installation

You can install sandwich via pip:

pip install sandwich

Usage example


For more examples and detailed usage, please refer to the documentation.

Contributing

Contributions are welcome! If you have suggestions, feature requests, or find any bugs, please open an issue or submit a pull request. Make sure to follow the contribution guidelines.

Acknowledgments

This project is inspired by the beauty of the Data Vault 2.0 methodology.

License

This project is licensed under the MIT License.

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

sandwich-0.5.3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

sandwich-0.5.3-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file sandwich-0.5.3.tar.gz.

File metadata

  • Download URL: sandwich-0.5.3.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sandwich-0.5.3.tar.gz
Algorithm Hash digest
SHA256 37d8a97648a397b2d8726e8e12999c6714eadc586a19039ca6a08dced6ecfa23
MD5 df250e4d04db93ddf137741fbe9add64
BLAKE2b-256 7cc3af5102bff7ad22fb42a57df0a99c611ea8029b0df0584d7fa26d50460203

See more details on using hashes here.

File details

Details for the file sandwich-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: sandwich-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sandwich-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 191646196adc1f6fd2741aaa305dd346cd732626b18bfbc2f01213112facb066
MD5 4a29dba8f8933bf4ef794a8bf6dfab43
BLAKE2b-256 96e95aedb12116ad145f5d7a2926c92da602c29941114e4a5a744757565e2aea

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