{"id":23749456,"url":"https://github.com/dfop02/bigquery-api","last_synced_at":"2026-05-07T05:32:46.743Z","repository":{"id":187945432,"uuid":"677592867","full_name":"dfop02/bigquery-api","owner":"dfop02","description":"A simple Python Flask API to consult Google Cloud Bigquery","archived":false,"fork":false,"pushed_at":"2023-08-12T22:14:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T15:19:43.114Z","etag":null,"topics":["api","flask","google-cloud","google-cloud-bigquery","python","python-flask","python3"],"latest_commit_sha":null,"homepage":"","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/dfop02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-12T02:06:36.000Z","updated_at":"2023-08-23T19:23:20.000Z","dependencies_parsed_at":"2023-08-12T22:18:59.593Z","dependency_job_id":null,"html_url":"https://github.com/dfop02/bigquery-api","commit_stats":null,"previous_names":["dfop02/bigquery-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fbigquery-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fbigquery-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fbigquery-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfop02%2Fbigquery-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfop02","download_url":"https://codeload.github.com/dfop02/bigquery-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239909043,"owners_count":19716903,"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":["api","flask","google-cloud","google-cloud-bigquery","python","python-flask","python3"],"created_at":"2024-12-31T15:19:47.725Z","updated_at":"2026-05-07T05:32:41.703Z","avatar_url":"https://github.com/dfop02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Bigquery\nA simple Python Flask API to consult Google Cloud Bigquery\n\n[English](readme.md) | [Portuguese](readme.pt-BR.md)\n\n## Requirements\n\n- Python 3.11.x\n\n## Setup\n\n1. Clone this repo from Github with `git clone git@github.com:dfop02/bigquery-api.git`\n2. Install the correct python version in `.python-version` using any python manager or directly download from [official website](https://www.python.org/downloads/).\n3. Execute `pip install -r requirements.txt`\n4. Before run the code you must have an service account, you can read how generate it [here](https://developers.google.com/workspace/guides/create-credentials#create_credentials_for_a_service_account). After generate, put the credentials.json on project's root, if you change the filename, make sure you changed in .env too.\n5. Now just run the app using `python app.py`\n\n## Test / Lint\n\nIf you want use tests or lint on this project, first you must need install the test dependences using `pip install -r requirements_test.txt`\n\nAfter install the test dependences, you can run by using:\n- Tests =\u003e `pytest`.\n- Lint =\u003e `pylint app.py`\n\n## Fonts / Links / Docs\nSuggestion of links, fonts to read about that you help you to learn more about how this code works and how the services we're using works.\n\n#### About Bigquery\n- [Create credentials.json for a service account](https://developers.google.com/workspace/guides/create-credentials#create_credentials_for_a_service_account)\n- [Flask + Bigquery](https://medium.com/@akhilasaineni7/backend-pagination-with-flask-and-google-bigquery-c366626d74e6)\n- [Google Cloud Bigquery - Python](https://codelabs.developers.google.com/codelabs/cloud-bigquery-python#0)\n- [Queries on Bigquery](https://chartio.com/resources/tutorials/how-to-implement-sqls-like-operator-in-google-bigquery/)\n\n#### About JWT\n- [PyJWT](https://github.com/jpadilla/pyjwt)\n- [Flask + JWT](https://medium.com/@hedgarbezerra35/api-rest-com-flask-autenticacao-25d99b8679b6)\n\n## Author\n\n[Diogo Fernandes](https://github.com/dfop02)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfop02%2Fbigquery-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfop02%2Fbigquery-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfop02%2Fbigquery-api/lists"}