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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt2pdf-0.0.9.tar.gz
  • Upload date:
  • Size: 12.2 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.9.tar.gz
Algorithm Hash digest
SHA256 028a448a5414f23184fbf5479e5c0ca1c2ba4d48be5cb51853b74b3224a5e3c3
MD5 4f53de25b5e465036c921c44824d89a2
BLAKE2b-256 bb3e755f66cc99b122cc9942e0df45d1259c469a70a6500ae91346ac56044daf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbt2pdf-0.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e7d262c0e41ebec0ba29f7e8a0c343010d0191893cdd78463ba2d2bb9b6bea46
MD5 8e40522d22dad9f70b67c71f63be589c
BLAKE2b-256 6a4b690770b87df79950d1e2125ca2c7c79e247e4ae8b005bbd31b9f3579e358

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