# Labelbox Connector for Google BigQuery
Access the Labelbox Connector for Google BigQuery to easily perform the following functionalities:
- `lbbq.client.create_data_rows_from_table` : Creates Labelbox data rows (and metadata) given a BigQuery table
- `lbbq.client.create_table_from_dataset` : Creates a BigQuery table given a Labelbox dataset
- `lbbq.client.upsert_table_metadata` : Updates BigQuery table metadata columns given a Labelbox dataset
- `lbbq.client.upsert_labelbox_metadata` : Updates Labelbox metadata given a BigQuery table
The Demo code supplied in this Github is designed to run in a Google Colab, but the code can be adapted to any notebook environment.
Labelbox is the enterprise-grade training data solution with fast AI enabled labeling tools, labeling automation, human workforce, data management, a powerful API for integration & SDK for extensibility. Visit [Labelbox](http://labelbox.com/) for more information.
This library is currently in beta. It may contain errors or inaccuracies and may not function as well as commercially released software. Please report any issues/bugs via [Github Issues](https://github.com/Labelbox/labelbigquery/issues).
## Table of Contents
* [Requirements](#requirements)
* [Configuration](#configuration)
* [Use](#Use)
## Requirements
* [Google Cloud BigQuery Authenticated Client](https://cloud.google.com/bigquery/docs/reference/libraries)
* [Google BigQuery SDK](https://pypi.org/project/google-cloud-bigquery/)
* [Labelbox account](http://app.labelbox.com/)
* [Generate a Labelbox API key](https://labelbox.com/docs/api/getting-started#create_api_key)
## Configuration
Install Labelbox-BigQuery to your Python environment. The installation will also add the Labelbox SDK and BigQuery SDK.
```
pip install labelboxbigquery
import labelboxbigquery
```
## Use
The `client` class requires the following arguments:
- `lb_api_key` = Labelbox API Key
- `google_key` = Google Service Account Permissions dict, how to create one [here](https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating)
- `google_project_name` = Google Project ID / Name
Raw data
{
"_id": null,
"home_page": "https://labelbox.com",
"name": "labelboxbigquery",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "labelbox, bigquery, labelboxbigquery, labelbase",
"author": "Labelbox",
"author_email": "raphael@labelbox.com",
"download_url": "https://files.pythonhosted.org/packages/fc/b3/3ab95a437a9868c73bfce3b6acd30677a4910e4b1be1ea67d863d4cb928c/labelboxbigquery-0.1.7.tar.gz",
"platform": null,
"description": "# Labelbox Connector for Google BigQuery\n\nAccess the Labelbox Connector for Google BigQuery to easily perform the following functionalities:\n- `lbbq.client.create_data_rows_from_table` : Creates Labelbox data rows (and metadata) given a BigQuery table\n- `lbbq.client.create_table_from_dataset` : Creates a BigQuery table given a Labelbox dataset\n- `lbbq.client.upsert_table_metadata` : Updates BigQuery table metadata columns given a Labelbox dataset\n- `lbbq.client.upsert_labelbox_metadata` : Updates Labelbox metadata given a BigQuery table\n\nThe Demo code supplied in this Github is designed to run in a Google Colab, but the code can be adapted to any notebook environment.\n\nLabelbox is the enterprise-grade training data solution with fast AI enabled labeling tools, labeling automation, human workforce, data management, a powerful API for integration & SDK for extensibility. Visit [Labelbox](http://labelbox.com/) for more information.\n\nThis library is currently in beta. It may contain errors or inaccuracies and may not function as well as commercially released software. Please report any issues/bugs via [Github Issues](https://github.com/Labelbox/labelbigquery/issues).\n\n\n## Table of Contents\n\n* [Requirements](#requirements)\n* [Configuration](#configuration)\n* [Use](#Use)\n\n## Requirements\n\n* [Google Cloud BigQuery Authenticated Client](https://cloud.google.com/bigquery/docs/reference/libraries)\n* [Google BigQuery SDK](https://pypi.org/project/google-cloud-bigquery/)\n* [Labelbox account](http://app.labelbox.com/)\n* [Generate a Labelbox API key](https://labelbox.com/docs/api/getting-started#create_api_key)\n\n## Configuration\n\nInstall Labelbox-BigQuery to your Python environment. The installation will also add the Labelbox SDK and BigQuery SDK.\n\n```\npip install labelboxbigquery\nimport labelboxbigquery\n```\n\n## Use\n\nThe `client` class requires the following arguments:\n- `lb_api_key` = Labelbox API Key\n- `google_key` = Google Service Account Permissions dict, how to create one [here](https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating)\n- `google_project_name` = Google Project ID / Name\n",
"bugtrack_url": null,
"license": null,
"summary": "Labelbox Connector for BigQuery",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://labelbox.com"
},
"split_keywords": [
"labelbox",
" bigquery",
" labelboxbigquery",
" labelbase"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e49fc815411ecf1d175dafc620de0f64995b888e5d27737d88db9a5fffa08bfc",
"md5": "56f5552b29028eb0fbc7af5075e34841",
"sha256": "cffb321880c205867a3fd30975f7cec274e84425bd982c517eb74d8a7ea4b041"
},
"downloads": -1,
"filename": "labelboxbigquery-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "56f5552b29028eb0fbc7af5075e34841",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14922,
"upload_time": "2024-04-02T16:02:23",
"upload_time_iso_8601": "2024-04-02T16:02:23.374381Z",
"url": "https://files.pythonhosted.org/packages/e4/9f/c815411ecf1d175dafc620de0f64995b888e5d27737d88db9a5fffa08bfc/labelboxbigquery-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fcb33ab95a437a9868c73bfce3b6acd30677a4910e4b1be1ea67d863d4cb928c",
"md5": "08cfb10744bb968c26ef0b44b5334427",
"sha256": "4c9b5e67105266603f1fb836e83487aa5b736765ef7dea7f6eb49910b4608867"
},
"downloads": -1,
"filename": "labelboxbigquery-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "08cfb10744bb968c26ef0b44b5334427",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14932,
"upload_time": "2024-04-02T16:02:25",
"upload_time_iso_8601": "2024-04-02T16:02:25.008658Z",
"url": "https://files.pythonhosted.org/packages/fc/b3/3ab95a437a9868c73bfce3b6acd30677a4910e4b1be1ea67d863d4cb928c/labelboxbigquery-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-02 16:02:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "labelboxbigquery"
}