Skip to content

Commit 9fdcc09

Browse files
committed
initial commit
1 parent 5104d8b commit 9fdcc09

12 files changed

Lines changed: 100 additions & 92 deletions

.DS_Store

0 Bytes
Binary file not shown.

Pipfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ verify_ssl = true
77

88
[packages]
99
google-cloud-storage = "*"
10-
google-cloud-bigquery = "*"
11-
pprint = "*"
1210

1311
[requires]
1412
python_version = "3.7"

Pipfile.lock

Lines changed: 10 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
# Google Big Query: Python SDK Tutorial
2-
1+
# Google Cloud Storage Python SDK Tutorial
32

43
![Python](https://img.shields.io/badge/Python-v3.7-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=2e3440)
5-
![Google Cloud BigQuery](https://img.shields.io/badge/Google--BigQuery-v1.11.2-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=2e3440)
6-
![Google Cloud Storage](https://img.shields.io/badge/Google--Cloud--Storage-v1.15.0-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=2e3440)
4+
![Google Cloud Storage](https://img.shields.io/badge/Google--Cloud--Storage-v1.16.1-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=2e3440)
75
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=2e3440&colorB=a3be8c)
8-
[![GitHub Issues](https://img.shields.io/github/issues/toddbirchard/tableau-extraction.svg?style=flat-square&colorA=2e3440&colorB=d08770)](https://github.com/hackersandslackers/bigquery-python-tutorial/issues)
9-
[![GitHub Stars](https://img.shields.io/github/stars/toddbirchard/tableau-extraction.svg?style=flat-square&colorB=d08770&colorA=2e3440)](https://github.com/hackersandslackers/bigquery-python-tutorial/stargazers)
10-
[![GitHub Forks](https://img.shields.io/github/forks/toddbirchard/tableau-extraction.svg?style=flat-square&colorA=2e3440&colorB=5e81ac)](https://github.com/hackersandslackers/bigquery-python-tutorial/network)
11-
6+
[![GitHub Issues](https://img.shields.io/github/issues/toddbirchard/tableau-extraction.svg?style=flat-square&colorA=2e3440&colorB=ebcb8b)](https://github.com/hackersandslackers/googlecloud-storage-tutorial/issues)
7+
[![GitHub Stars](https://img.shields.io/github/stars/toddbirchard/tableau-extraction.svg?style=flat-square&colorB=ebcb8b&colorA=2e3440)](https://github.com/hackersandslackers/googlecloud-storage-tutorial/stargazers)
8+
[![GitHub Forks](https://img.shields.io/github/forks/toddbirchard/tableau-extraction.svg?style=flat-square&colorA=2e3440&colorB=ebcb8b)](https://github.com/hackersandslackers/googlecloud-storage-tutorial/network)
129

13-
Source for the accompanying tutorial: https://hackersandslackers.com/getting-started-google-big-query-python/
10+
Source for the accompanying tutorial: <https://hackersandslackers.com/getting-started-google-big-query-python/>

config.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
# Google Cloud Storage
66
bucketURI = environ.get('GCP_BUCKET_URI')
77
bucketName = environ.get('GCP_BUCKET_NAME')
8-
9-
# Google BigQuery
10-
bigqueryDataset = environ.get('GCP_BIGQUERY_DATASET')
11-
bigqueryTable = environ.get('GCP_BIGQUERY_TABLE')
8+
bucketFolder = environ.get('GCP_BUCKET_FOLDER_NAME')
129

1310
# Data
14-
localDataFile = environ.get('LOCAL_DATA_TARGET')
15-
destinationBlobName = environ.get('DESTINATION_BLOB_NAME')
11+
localFolder = environ.get('LOCAL_FOLDER')

files/peas.jpg

32.1 KB
Loading
File renamed without changes.

files/sample_image.jpg

32.1 KB
Loading

files/sample_text.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is a sample.

files/test.csv

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
id,initiated,hiredate,email,firstname,lastname,title,department,location,country,type
2+
100035435,2015-12-11T09:16:20.722-08:00,3/22/67,GretchenRMorrow@jourrapide.com,Gretchen,Morrow,Power plant operator,Physical Product,Britling Cafeterias,United Kingdom,Employee
3+
100056435,2015-12-15T10:11:24.604-08:00,6/22/99,ElizabethLSnow@armyspy.com,Elizabeth,Snow,Oxygen therapist,Physical Product,Grade A Investment,United States of America,Employee
4+
100037955,2015-12-16T14:31:32.765-08:00,5/31/74,AlbertMPeterson@einrot.com,Albert,Peterson,Psychologist,Physical Product,Grass Roots Yard Services,United States of America,Employee
5+
100035435,2016-01-20T11:15:47.249-08:00,9/9/69,JohnMLynch@dayrep.com,John,Lynch,Environmental hydrologist,Physical Product,Waccamaw's Homeplace,United States of America,Employee
6+
100057657,2016-01-21T12:45:38.261-08:00,4/9/83,TheresaJCahoon@teleworm.us,Theresa,Cahoon,Personal chef,Physical Product,Cala Foods,United States of America,Employee
7+
100056747,2016-02-01T11:25:39.317-08:00,6/26/98,KennethHPayne@dayrep.com,Kenneth,Payne,Central office operator,Frontline,Magna Consulting,United States of America,Employee
8+
100035435,2016-02-01T11:28:11.953-08:00,4/16/82,LeifTSpeights@fleckens.hu,Leif,Speights,Staff development director,Frontline,Rivera Property Maintenance,United States of America,Employee
9+
100035435,2016-02-01T12:21:01.756-08:00,8/6/80,JamesSRobinson@teleworm.us,James,Robinson,Scheduling clerk,Frontline,Discount Furniture Showcase,United States of America,Employee
10+
100074688,2016-02-01T13:29:19.147-08:00,12/14/74,AnnaDMoberly@jourrapide.com,Anna,Moberly,Playwright,Physical Product,The Wiz,United States of America,Employee
11+
100665778,2016-02-04T14:40:05.223-08:00,9/13/66,MarjorieBCrawford@armyspy.com,Marjorie,Crawford,"Court, municipal, and license clerk",Physical Product,The Serendipity Dip,United Kingdom,Employee
12+
100876876,2016-02-24T12:39:25.872-08:00,12/19/67,LyleCHackett@fleckens.hu,Lyle,Hackett,Airframe mechanic,Physical Product,Infinity Investment Plan,United States of America,Employee
13+
100658565,2016-02-29T15:52:12.933-08:00,11/17/83,MaryJDensmore@jourrapide.com,Mary,Densmore,Employer relations representative,Frontline,One-Up Realtors,United States of America,Employee
14+
100766547,2016-03-01T12:32:53.357-08:00,10/1/87,CindyRDiaz@armyspy.com,Cindy,Diaz,Student affairs administrator,Physical Product,Mr. AG's,United States of America,Employee
15+
100045677,2016-03-02T12:07:44.264-08:00,8/16/65,AndreaTLigon@einrot.com,Andrea,Ligon,Railroad engineer,Central Growth,Robinson Furniture,United States of America,Employee

0 commit comments

Comments
 (0)