bq-estimator-1.0.0
توضیحات
estimate BigQuery usage of sql queries
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bq-estimator-1.0.0 |
| نام | bq-estimator |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jonathan Clemons |
| ایمیل نویسنده | j-clemons@tuta.io |
| آدرس صفحه اصلی | https://github.com/j-clemons/bq-estimator |
| آدرس اینترنتی | https://pypi.org/project/bq-estimator/ |
| مجوز | MIT |
# bq-estimator
Estimates the data usage of SQL queries executed in BigQuery.
<br>Returns the estimated usage in KB, MB, GB, or TB dependent on the closest multiplier.
# Installation
`pip install bq-estimator`
Google [Application Default Credentials](https://cloud.google.com/docs/authentication/application-default-credentials)
must be set up for this tool to function.
# Usage
Ready to execute SQL queries.
`bq-estimator query.sql [query2.sql query3.sql …]`
## Options
## --dbt
***An installation of dbt-bigquery is required for using this functionality.***
Takes any model selection command that is compatible with dbt
`bq-estimator --dbt [dbt model selection]`
نیازمندی
| مقدار | نام |
|---|---|
| >=3.7.0 | google-cloud-bigquery |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl bq-estimator-1.0.0:
pip install bq-estimator-1.0.0.whl
نصب پکیج tar.gz bq-estimator-1.0.0:
pip install bq-estimator-1.0.0.tar.gz