Skip to main content

Cross-platform dbt runner. Python not required.

Project description

dbtx

Cross-platform dbt runner. Python not required.

Why use this:

  • Never think about managing dbt version conflicts again.
  • Determines your dbt dialect and version automatically based on your dbt_project.yml and profiles.yml
  • New users don't have to install python (which can be difficult) to get started with dbt.
  • Much faster installs thanks to uv and uvx.
  • After first run -- when dbt package is downloaded -- speed difference vs. vanilla dbt-core is negligible (<0.2 seconds per command).

Installation

Install uv with our standalone installers, or from PyPI:

macOS and Linux

$ curl -LsSf https://astral.sh/uv/install.sh | sh && source ~/.cargo/bin/uv && uv tool install dbtx 

Windows

In a PowerShell administrator prompt:

$ powershell -c "irm https://astral.sh/uv/install.ps1 | iex ; uv tool install dbtx"
$ $env:PATH = (Join-Path $HOME '.local\bin') + ";$env:PATH"

Within python

$ pip install dbtx

Usage

  1. Make sure you have require-dbt-version set in your dbt_project.yml file. Otherwise, defaults to the latest version.
  2. You may also specify a version using the DBT_VERSION env variable. This will override any settings you've made in the dbt_project.yml.
  3. Just replace dbtx where you would use dbt. That's it!

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

dbtx-0.0.3.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

dbtx-0.0.3-py3-none-any.whl (27.3 kB view hashes)

Uploaded Python 3

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