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.0.10.tar.gz (156.0 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.0.10-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt2pdf-0.0.10.tar.gz
  • Upload date:
  • Size: 156.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for dbt2pdf-0.0.10.tar.gz
Algorithm Hash digest
SHA256 f2fc9b4e50bbae6cf7a98aa000335747aa630a95ec006ddc8fd0145a10144976
MD5 74cb5532181dca07e8e94e8de0914731
BLAKE2b-256 a1332bb09d33f23e4abbd3163f03325c30e8801ed2e1b7c2138a8f355e56b3d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbt2pdf-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for dbt2pdf-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 819e6022f85494e1f91049f030b27e99528fcbb52d8c421f5251cf769842e7b6
MD5 631a23f4cb20c5054eab9ffbee5c373c
BLAKE2b-256 feb05a3027bfbd9945c65ebd30c899188c09863f46f3854171dda33832d0ce8d

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