{"id":19065268,"url":"https://github.com/hackersandslackers/bigquery-python-tutorial","last_synced_at":"2025-04-28T11:27:10.262Z","repository":{"id":39250280,"uuid":"182638133","full_name":"hackersandslackers/bigquery-python-tutorial","owner":"hackersandslackers","description":" :bar_chart: :snake: Create tables in Google BigQuery, auto-generate their schemas, and retrieve said schemas.","archived":false,"fork":false,"pushed_at":"2025-04-11T22:12:11.000Z","size":239,"stargazers_count":9,"open_issues_count":26,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T23:24:38.931Z","etag":null,"topics":["bigquery","data-warehouse","gcs","google-bigquery","google-cloud","google-cloud-sdk","google-cloud-storage","python","tutorial"],"latest_commit_sha":null,"homepage":"https://hackersandslackers.com/google-bigquery-python/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hackersandslackers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://www.buymeacoffee.com/hackersslackers"]}},"created_at":"2019-04-22T06:44:44.000Z","updated_at":"2024-06-23T21:41:20.000Z","dependencies_parsed_at":"2022-08-29T04:52:25.223Z","dependency_job_id":"1e1c3d02-2659-4746-833b-aa0957197f97","html_url":"https://github.com/hackersandslackers/bigquery-python-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fbigquery-python-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fbigquery-python-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fbigquery-python-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fbigquery-python-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackersandslackers","download_url":"https://codeload.github.com/hackersandslackers/bigquery-python-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249420376,"owners_count":21268835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bigquery","data-warehouse","gcs","google-bigquery","google-cloud","google-cloud-sdk","google-cloud-storage","python","tutorial"],"created_at":"2024-11-09T00:49:16.431Z","updated_at":"2025-04-18T03:32:33.729Z","avatar_url":"https://github.com/hackersandslackers.png","language":"Python","readme":"# Google BigQuery Python SDK Tutorial\n\n\n![Python](https://img.shields.io/badge/Python-v3.8-blue.svg?logo=python\u0026longCache=true\u0026logoColor=white\u0026style=flat-square\u0026colorA=4c566a\u0026colorB=5e81ac)\n![Google Cloud BigQuery](https://img.shields.io/badge/Google--BigQuery-v1.27.2-blue.svg?logo=Google\u0026longCache=true\u0026logoColor=white\u0026style=flat-square\u0026colorA=4c566a\u0026colorB=5e81ac)\n![Google Cloud Storage](https://img.shields.io/badge/Google--Cloud--Storage-v1.31.0-blue.svg?logo=Google\u0026longCache=true\u0026logoColor=white\u0026style=flat-square\u0026colorA=4c566a\u0026colorB=5e81ac)\n![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=a3be8c)\n[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/bigquery-python-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/bigquery-python-tutorial/issues)\n[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/bigquery-python-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/bigquery-python-tutorial/stargazers)\n[![GitHub Forks](https://img.shields.io/github/forks/hackersandslackers/bigquery-python-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/bigquery-python-tutorial/network)\n\n![Google BigQuery Python SDK](https://raw.githubusercontent.com/hackersandslackers/bigquery-python-tutorial/master/.github/bigquery_create_table%402x.jpg)\n\nSource for the accompanying tutorial: https://hackersandslackers.com/google-bigquery-python/\n\n# Getting Started\n\nGet set up locally in two steps:\n\n### Environment Variables\n\nReplace the values in **.env.example** with your values and rename this file to **.env**:\n\n* `GCP_PROJECT_ID`: ID of your Google Cloud Project.\n* `GOOGLE_APPLICATION_CREDENTIALS`: Filepath to JSON containing Google Cloud credentials as service key.\n* `GCP_BUCKET_NAME`: Name of an existing Google Cloud Storage bucket (used to upload CSV dataset).\n* `GCP_BIGQUERY_DATASET_ID`: Desired BigQuery dataset ID (can be new or existing).\n* `GCP_BIGQUERY_TABLE_ID`: Desired BigQuery table name/ID (should be new table name).\n\n*Remember never to commit secrets saved in .env files to Github.*\n\n### Installation\n\nGet up and running with `make deploy`:\n\n```shell\n$ git clone https://github.com/hackersandslackers/bigquery-python-tutorial.git\n$ cd bigquery-python-tutorial\n$ make deploy\n``` \n\n-----\n\n**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.","funding_links":["https://www.buymeacoffee.com/hackersslackers"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackersandslackers%2Fbigquery-python-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackersandslackers%2Fbigquery-python-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackersandslackers%2Fbigquery-python-tutorial/lists"}