Skip to main content

Configure and enforce conventions for your dbt project.

Project description

dbt-bouncer logo

dbt-bouncer

Configure and enforce conventions for your dbt project.


Documentation

All documentation can be found on dbt-bouncer documentation website.

TLDR

  1. Install dbt-bouncer:

    pip install dbt-bouncer
    
  2. dbt-bouncer requires a manifest.json file. If not already present, run:

    dbt parse
    
  3. Create a dbt-bouncer.yml config file:

    dbt-bouncer init
    
  4. Run dbt-bouncer:

    $ dbt-bouncer
    
    [...]
    Running checks... |################################| 20/20
    Done. SUCCESS=19 WARN=0 ERROR=1
    Failed checks:
    | Check name               | Severity | Failure message                                                                       |
    |--------------------------|----------|---------------------------------------------------------------------------------------|
    | check_model_directories: | error    | AssertionError: `model` is located in `utilities`, this is not a valid sub-directory. |
    

Environment Variables

Variable Description Default
LOG_LEVEL Set to DEBUG for verbose logging INFO
LOG_FORMAT Set to json for structured JSON logging (human-readable)

Example:

# Debug logging
LOG_LEVEL=DEBUG dbt-bouncer

# JSON output for log aggregation
LOG_FORMAT=json dbt-bouncer

Reporting bugs and contributing code

  • Want to report a bug or request a feature? Let us know and open an issue.
  • Want to help us build dbt-bouncer? Check out the Contributing Guide.

Code of Conduct

Everyone interacting in dbt-bouncer's codebase, issue trackers, chat rooms, and mailing lists is expected to follow the Code of Conduct.

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

dbt_bouncer-2.5.0.tar.gz (61.8 kB view details)

Uploaded Source

Built Distribution

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

dbt_bouncer-2.5.0-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

Details for the file dbt_bouncer-2.5.0.tar.gz.

File metadata

  • Download URL: dbt_bouncer-2.5.0.tar.gz
  • Upload date:
  • Size: 61.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dbt_bouncer-2.5.0.tar.gz
Algorithm Hash digest
SHA256 65d53ea3ed874547750e6937ea75e4f455d0202c1ca1318157e1cdf3083561d2
MD5 38be09f35e1f2870ec5ab74276d99d91
BLAKE2b-256 3b9c3411ec4283e0fa33c153891b8668c7b120b3d7d61fb2d806e16373336d4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_bouncer-2.5.0.tar.gz:

Publisher: release_pipeline.yml on godatadriven/dbt-bouncer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbt_bouncer-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_bouncer-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 79.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dbt_bouncer-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fcc6690fdf9a3132b5991c8330e0da86b8d772f4afc9d088e03f90d53700d17
MD5 9b9c326c1a401f83a05f7c06010c651c
BLAKE2b-256 a32daa0795c35b6397e9d2572424a0f3f67b9d5b1229b91698255f66a18ad1a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_bouncer-2.5.0-py3-none-any.whl:

Publisher: release_pipeline.yml on godatadriven/dbt-bouncer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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