Skip to main content

dbt plugin to add Python's subprocess module to dbt's `modules` context attribute

Project description

dbt-subprocess-plugin

This is a [dbt plugin][] to add Python's subprocess module to dbt's modules context attribute.

Usage

  1. Install dbt-subprocess-plugin via PyPI into the same Python environment as dbt itself.
  2. Start using it!

Example

$ dbt compile -q --inline '{{ modules.subprocess.check_output(["echo", "Hello from subprocess!"]) }}'
Hello from subprocess!

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

dbt_subprocess_plugin-0.1.0.tar.gz (211.6 kB view details)

Uploaded Source

Built Distribution

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

dbt_subprocess_plugin-0.1.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file dbt_subprocess_plugin-0.1.0.tar.gz.

File metadata

  • Download URL: dbt_subprocess_plugin-0.1.0.tar.gz
  • Upload date:
  • Size: 211.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dbt_subprocess_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8070992d5bb3a7808c1b31dbbc18b2e1871d6b28eab48393d9b67c932310690a
MD5 e0a0769d7f71f34ba2080e16a65e896f
BLAKE2b-256 bd05994fea493ae06eaac72299c4e093ba330b2162e3e59b45f9e8bbaaa87fcd

See more details on using hashes here.

File details

Details for the file dbt_subprocess_plugin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_subprocess_plugin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dbt_subprocess_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1eb22b5bd75c4007cd2d1d767ecccdcd168484db326d15356d778f4e8d54d7d
MD5 fddb2d0b4e1356dff7cc635a16ca22e7
BLAKE2b-256 9d77a0d774a9f56f0aa8d72ff42375117bba31940077c18babd16fd1851f729a

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