Generate a PDF document from your DBT project's documentation.
Project description
Dbt2PDF
| CI/CD | |
| Package |
[!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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940172ad370d8e9a0ac4c2ce3340b567928a719f908059f31cd1b5614c52f62e
|
|
| MD5 |
02c65e601f361345ce6c686b72a56ad7
|
|
| BLAKE2b-256 |
cbefef1d8d1704a86c697e34b0c978a01d0372b2527b522557609a70b85889b0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b993b29e7cd9d0ab2dfb68d1384abb5e7c2516ee99b768ade9ede618d3a741d2
|
|
| MD5 |
2d9b0a72e051b272411ea18a13da90c8
|
|
| BLAKE2b-256 |
4028d2d417feb78be1e154625d32f8f9d5430c440a3c455087e3560d46ff383f
|