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

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

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

uv sync

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

Uploaded Source

Built Distribution

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

dbt2pdf-0.1.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt2pdf-0.1.1.tar.gz
  • Upload date:
  • Size: 190.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dbt2pdf-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d491e4802f5780492d1b99889148ade834a2cb53a8fc52e40085060eba29650c
MD5 0b12cd4f1ffbae5159a0ccbaae130b91
BLAKE2b-256 420ab3348fa4021032171145056333be296517273151a8dd1448c5f07a4b11c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbt2pdf-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dbt2pdf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10ec29a50f44f6377112a436745f33091f8cccad78119470ae419ff8f4d6e9c0
MD5 c3a52a7569829a55723b66ecb5d11b64
BLAKE2b-256 0986441a38aaa8e5ff079c66869231cb773def13498714161c8d3c4af795d080

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