{"id":46079213,"url":"https://github.com/infinitelambda/diqu","last_synced_at":"2026-03-01T15:09:38.787Z","repository":{"id":204620932,"uuid":"703992656","full_name":"infinitelambda/diqu","owner":"infinitelambda","description":"Automate and streamline the alerting \u0026 notification process for dbt test results🐞🚀","archived":false,"fork":false,"pushed_at":"2025-06-10T09:05:57.000Z","size":2329,"stargazers_count":19,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-27T17:44:15.878Z","etag":null,"topics":["anomaly-detection","auto-alert","cli","csv","dq-tools","incident-management","jira","slack","snowflake"],"latest_commit_sha":null,"homepage":"http://diqu.iflambda.com/latest","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infinitelambda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-12T10:14:49.000Z","updated_at":"2025-09-22T02:13:23.000Z","dependencies_parsed_at":"2023-11-20T04:30:07.395Z","dependency_job_id":"80b1318b-1c37-4443-8fc4-e405e67be768","html_url":"https://github.com/infinitelambda/diqu","commit_stats":null,"previous_names":["infinitelambda/diqu","infinitelambda/dq-tools-cli"],"tags_count":9,"template":false,"template_full_name":"infinitelambda/template","purl":"pkg:github/infinitelambda/diqu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitelambda%2Fdiqu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitelambda%2Fdiqu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitelambda%2Fdiqu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitelambda%2Fdiqu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinitelambda","download_url":"https://codeload.github.com/infinitelambda/diqu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinitelambda%2Fdiqu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29973309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T15:06:50.263Z","status":"ssl_error","status_checked_at":"2026-03-01T15:06:18.879Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anomaly-detection","auto-alert","cli","csv","dq-tools","incident-management","jira","slack","snowflake"],"created_at":"2026-03-01T15:09:38.198Z","updated_at":"2026-03-01T15:09:38.780Z","avatar_url":"https://github.com/infinitelambda.png","language":"Python","readme":"# diqu\n\n[![Documentation](https://img.shields.io/badge/Documentation-Check%20it%20out%20📖-blue?style=flat)](https://diqu.iflambda.com/latest/)\n[![PyPI version](https://badge.fury.io/py/diqu.svg)](https://pypi.org/project/diqu/)\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache--2.0-yellow.svg)](https://opensource.org/license/apache-2-0/)\n![python-cli](https://img.shields.io/badge/CLI-Python-FFCE3E?labelColor=14354C\u0026logo=python\u0026logoColor=white)\n[![python](https://img.shields.io/badge/Python-3.9|3.10|3.11-3776AB.svg?style=flat\u0026logo=python\u0026logoColor=white)](https://www.python.org)\n[![codecov](https://codecov.io/gh/infinitelambda/diqu/graph/badge.svg?token=JUO2ASNQEB)](https://codecov.io/gh/infinitelambda/diqu)\n\nAutomate and streamline the alerting/ notification process for dbt test results using this versatile CLI companion tool. Receive detailed alerts \u0026 test metadata seamlessly on various platforms, promoting improved collaboration on dbt project issues 🐞🚀.\n\n## Who is this for\n\nThis tool is designed for individuals or teams seeking to automate the management of their dbt project issues (test warnings, errors... etc) outside the dbt environment.\n\n## Features\n\n- Automated alerts and notifications based on recorded dbt test results.\n- Built-in support for dq-tools and custom query input.\n- Auto-labels `deprecated` tests for quick \u0026 easy identification.\n- Creates and updates Jira tickets with the latest tests' metadata.\n- Sends succinct and informative messages to a dedicated Slack channel.\n\n\u003e **dbt alert rant 🟢 🟡 🔴 ⚫** \u003c/br\u003e\u003c/br\u003e\n\u003e _\"Run errors are red,_\u003c/br\u003e\n\u003e _Test warnings are yellow,_\u003c/br\u003e\n\u003e _Where's my bug alert,_\u003c/br\u003e\n\u003e _And joint bugfix workflow?\"_\u003c/br\u003e\u003c/br\u003e\n\u003e _-- by `diqu` OG Contributors_ \u003c/br\u003e\n\n\u003cimg src=\"./docs/assets/img/diqu_concept.jpeg\" alt=\"diqu Concept\"\u003e \u003c!-- markdownlint-disable no-inline-html --\u003e\n\n### Supported Modules\n\n- Sources (DWH connections)\n  - Snowflake\n  - CSV file\n- Package (parsing dbt test results)\n  - [![dq-tools](https://img.shields.io/badge/dq--tools-hub-FF694B?logo=dbt\u0026logoColor=FF694B)](https://hub.getdbt.com/infinitelambda/dq_tools)\n  - Custom query\n- Alert Modules (alert/ notification)\n  - Jira\n  - Slack\n\n## Installation\n\n```bash\npip install diqu [--upgrade]\n```\n\n📓 _NOTE_: The required Data Warehouse (DWH) module should already be installed if you are using `diqu` in a working dbt project. If not, please perform additional steps to install these DWH modules.\nFor example, if you're using Snowflake:\n\n```bash\npip install \"snowflake-connector-python[pandas]\"\npip install \"snowflake-connector-python[secure-local-storage]\"\n```\n\n## Usage\n\n\u003cdetails\u003e \u003c!-- markdownlint-disable no-inline-html --\u003e\n  \u003csummary\u003epreflight\u003c/summary\u003e\n\n  ```bash\n  # define the query params\n  export ISSUE_DEPRECATED_WINDOW_IN_DAYS=your_issue_deprecation_time_in_day, default to \"3\"\n  export ISSUE_UPDATE_WINDOW_IN_DAYS=your_issue_historical_data_update_window_in_days, default to \"14\"\n\n  # build dq-tools log table\n  dbt run -s dq_tools\n  ```\n\n\u003c/details\u003e\n\n  ```bash\n  diqu alert --to slack --to jira\n  ```\n\n```log\n04:33:17  diqu: INFO - Run with diqu==1.0.0 🏃\n04:33:19  diqu: INFO - Using dbt project at: /path/to/dbt/project\n04:33:19  diqu: INFO - Using dbt profiles.yml at: ~/.dbt\n04:33:19  diqu: INFO - Using snowflake connection\n04:33:19  diqu: INFO - Looking for the query in: ./dq_tools__get_test_results.sql\n04:33:23  diqu: INFO - Alerting to: SLACK\n04:33:23  diqu: INFO - ✅ Done \u003e Slack\n04:33:23  diqu: INFO - Alerting to: JIRA\n04:33:23  diqu: INFO - ✅ Done \u003e JIRA\n```\n\n## Alert Modules Configurations\n\n### Slack\n\n- Use the environment variables to configure the Slack Channel:\n\n    ```bash\n    export SLACK_TOKEN=your_token\n    export SLACK_CHANNEL=your_channel_name\n    \n    diqu alert --to slack\n    ```\n\n### Jira Board\n\n- Use the environment variables to configure the JIRA Board:\n\n    ```bash\n    export JIRA_SERVER=your_jira_server e.g. https://your_value.atlassian.net/\n    export JIRA_AUTH_USER=your_service_account e.g. dqt_user@your_value.com\n    export JIRA_AUTH_PASSWORD=your_service_token e.g. ATATTxxxxx\n    export JIRA_PROJECT_ID=your_project_id e.g. 106413\n    export JIRA_ISSUE_TYPE=your_issue_type, default to \"Bug\"\n    export JIRA_OPEN_ISSUES_FILTER_BY_SUMMARY=your_issue_filter_on_title, default to \"dq-tools\"\n\n    diqu alert --to jira\n    ```\n\n📖 For more details, please visit [the documentation site](https://diqu.iflambda.com/latest/).\n\n## Quick Demo\n\n[![Watch the video](https://cdn.loom.com/sessions/thumbnails/8d970dfe333c450f8f6d3859458cac99-1700469864888-with-play.gif)](https://www.loom.com/share/8d970dfe333c450f8f6d3859458cac99?sid=b5542b91-ca6d-42a9-b80f-55f85674ec21)\n\n## How to Contribute\n\nThis Auto Alert (`diqu`) tool is an open-source software. Whether you are a seasoned open-source contributor or a first-time committer, we welcome and encourage you to contribute code, documentation, ideas, or problem statements to this project.\n\n👉 See [CONTRIBUTING guideline](https://diqu.iflambda.com/latest/nav/dev/contributing.html) for more details or check out [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n🌟 And then, kudos to **our beloved Contributors**:\n\n\u003ca href=\"https://github.com/infinitelambda/diqu/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=infinitelambda/diqu\" /\u003e\n\u003c/a\u003e\n\n## About Infinite Lambda\n\nInfinite Lambda is a cloud and data consultancy. We build strategies, help organizations implement them, and pass on the expertise to look after the infrastructure.\n\nWe are an Elite Snowflake Partner, a Platinum dbt Partner, and two-times Fivetran Innovation Partner of the Year for EMEA.\n\nNaturally, we love exploring innovative solutions and sharing knowledge, so go ahead and:\n\n🔧 Take a look around our [Git](https://github.com/infinitelambda)\n\n✏️ Browse our [tech blog](https://infinitelambda.com/category/tech-blog/)\n\nWe are also chatty, so:\n\n👀 Follow us on [LinkedIn](https://www.linkedin.com/company/infinite-lambda/)\n\n👋🏼 Or just [get in touch](https://infinitelambda.com/contacts/)\n\n[\u003cimg src=\"https://raw.githubusercontent.com/infinitelambda/cdn/1.0.0/general/images/GitHub-About-Section-1080x1080.png\" alt=\"About IL\" width=\"500\"\u003e](https://infinitelambda.com/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitelambda%2Fdiqu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinitelambda%2Fdiqu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitelambda%2Fdiqu/lists"}