Skip to main content

The set of adapter protocols and base functionality that supports integration with dbt-core

Project description

dbt logo

dbt

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis.

dbt-postgres

dbt-postgres enables dbt to work with Postgres. For more information on using dbt with Postgres, consult the docs.

Getting started

Review the repository README.md as most of that information pertains to dbt-postgres.

psycopg2-binary vs. psycopg2

By default, dbt-postgres installs psycopg2-binary. This is great for development, and even testing, as it does not require any OS dependencies; it's a pre-built wheel. However, building psycopg2 from source will grant performance improvements that are desired in a production environment. In order to install psycopg2, use the following steps:

if [[ $(pip show psycopg2-binary) ]]; then
    PSYCOPG2_VERSION=$(pip show psycopg2-binary | grep Version | cut -d " " -f 2)
    pip uninstall -y psycopg2-binary
    pip install psycopg2==$PSYCOPG2_VERSION
fi

This ensures the version of psycopg2 will match that of psycopg2-binary.

Contribute

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_postgres-1.10.1.tar.gz (157.2 kB view details)

Uploaded Source

Built Distribution

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

dbt_postgres-1.10.1-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file dbt_postgres-1.10.1.tar.gz.

File metadata

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

File hashes

Hashes for dbt_postgres-1.10.1.tar.gz
Algorithm Hash digest
SHA256 ff24341d185c1911c60404e0f54488a4b21e7f4f2774a57a733f48b68de43c06
MD5 bd03f138a5caf706a3f19b42b38a5f3c
BLAKE2b-256 f032912824f5a24a7dbcdde1740a97aeff22f5dd074b7fd7d6f667171de443be

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_postgres-1.10.1.tar.gz:

Publisher: publish-oss.yml on dbt-labs/dbt-adapters

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_postgres-1.10.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dbt_postgres-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 133835e7ccec4d38e02c1d2abd429b85495521b4ca25504cb4d9ad994d9b25ef
MD5 8905daca8d0723e6163739231d7a875e
BLAKE2b-256 560088d406126ec910029b71df13caf5b73d7fd36fafef83975b5ab376f705b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_postgres-1.10.1-py3-none-any.whl:

Publisher: publish-oss.yml on dbt-labs/dbt-adapters

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