Skip to main content

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

Project description

Dbt2PDF

dbt2pdf

CI/CD Lint Tests Coverage Status ruff ty
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.2.tar.gz (186.4 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.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt2pdf-0.1.2.tar.gz
  • Upload date:
  • Size: 186.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.tar.gz
Algorithm Hash digest
SHA256 940172ad370d8e9a0ac4c2ce3340b567928a719f908059f31cd1b5614c52f62e
MD5 02c65e601f361345ce6c686b72a56ad7
BLAKE2b-256 cbefef1d8d1704a86c697e34b0c978a01d0372b2527b522557609a70b85889b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbt2pdf-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b993b29e7cd9d0ab2dfb68d1384abb5e7c2516ee99b768ade9ede618d3a741d2
MD5 2d9b0a72e051b272411ea18a13da90c8
BLAKE2b-256 4028d2d417feb78be1e154625d32f8f9d5430c440a3c455087e3560d46ff383f

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