Skip to main content

Generate a PDF document from your DBT project's documentation.

Project description

Dbt2PDF

dbt2pdf

CI/CD Tests Coverage Status Tests types - Mypy Ruff
Package PyPI PyPI - Downloads PyPI - Python Version GitHub

[!CAUTION] This project is in early development stages and is not yet ready for production use. Our priority at the moment is that it works for our use case, so we are not yet focusing on covering all possible use cases.


Documentation: https://dribia.github.io/dbt2pdf

Source Code: https://github.com/dribia/dbt2pdf


Installation

This project resides in the Python Package Index (PyPI), so it can easily be installed with pip:

pip install dbt2pdf

Usage

The dbt2pdf package provides a command-line interface (CLI) to convert DBT models to PDF files.

To view the avilable commands and full usage documentation, run:

dbt2pdf --help

To view a given command usage documentation, the help flag can be used:

dbt2pdf <command> --help

Examples

dbt2pdf generate \
  --manifest-path ./manifest.json \
  --title "DBT Documentation" \
  --add-author john@example.com \
  --add-author doe@example.com \
  output.pdf

Contributing

Poetry is the best way to interact with this project, to install it, follow the official Poetry installation guide.

With poetry installed, one can install the project dependencies with:

poetry install

Then, to run the project unit tests:

make test-unit

To run the linters (ruff and mypy):

make lint

To apply all code formatting:

make format

License

dbt2pdf is distributed under the terms of the MIT license. Check the LICENSE file for further details.

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

dbt2pdf-0.0.8.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

dbt2pdf-0.0.8-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file dbt2pdf-0.0.8.tar.gz.

File metadata

  • Download URL: dbt2pdf-0.0.8.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure

File hashes

Hashes for dbt2pdf-0.0.8.tar.gz
Algorithm Hash digest
SHA256 0385d734f16e9ef4c3d1acf26c85a17b6b8a3db0e431bac6471cea88d16a38e0
MD5 d4f54065054f42c27d3d05cc16d12e4b
BLAKE2b-256 3f50fd034b245db10eeba2bbc5e925cb346dd7e7322bfa167c9db3f66946cc49

See more details on using hashes here.

File details

Details for the file dbt2pdf-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: dbt2pdf-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure

File hashes

Hashes for dbt2pdf-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d7742c31b8b1ff6f0656c92451eea4e1b70fd3c1e14c38a54bb8a11ff47c4013
MD5 f611f8be0120c5b57f400704ef656380
BLAKE2b-256 c36acbd87dcad620838b0ebb83afdb927eaf8b1b798dee3bf31542388a5b6e07

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